Pierre Testing and Verification Guide
pierrecomputer/pierre
Chooses the right verification step after a code change in Pierre's monorepo: format and lint, a typecheck, Bun unit tests, snapshots, or Playwright E2E.
代码改完后的分层验证执行与证据记录。完成 feature / 重大变更 / 创建 PR / 重构 / 声称「修完」前使用——按项目运行 build、unit、e2e、真机等代表性阶段并记录真实结果(编译过 ≠ 功能可用)。覆盖 Tauri 桌面 / Web / 服务 / Skill 四类分支,可把已执行事实转换为 production-engineering-audit staged…
$ npx skills add cat-xierluo/legal-skills --skill verification-gate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cat-xierluo/legal-skills verification-gate --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/verification-gate .claude/skills/verification-gate && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "verification-gate" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/verification-gate into .claude/skills/verification-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verification-gate", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cat-xierluo/legal-skills/tree/main/skills/verification-gateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cat-xierluo/legal-skills --skill verification-gate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cat-xierluo/legal-skills verification-gate --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/verification-gate .agents/skills/verification-gate && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "verification-gate" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/verification-gate into .agents/skills/verification-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verification-gate", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cat-xierluo/legal-skills --skill verification-gate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cat-xierluo/legal-skills verification-gate --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/verification-gate .cursor/skills/verification-gate && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "verification-gate" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/verification-gate into .cursor/skills/verification-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verification-gate", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cat-xierluo/legal-skills.git --path skills/verification-gate--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cat-xierluo/legal-skills --skill verification-gate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cat-xierluo/legal-skills verification-gate --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/verification-gate .gemini/skills/verification-gate && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "verification-gate" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/verification-gate into .gemini/skills/verification-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verification-gate", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cat-xierluo/legal-skills verification-gateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cat-xierluo/legal-skills --skill verification-gate -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/verification-gate .github/skills/verification-gate && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "verification-gate" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/verification-gate into .github/skills/verification-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verification-gate", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cat-xierluo/legal-skills --skill verification-gate -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cat-xierluo/legal-skills verification-gate --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/legal-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/verification-gate .opencode/skills/verification-gate && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "verification-gate" agent skill from https://github.com/cat-xierluo/legal-skills/tree/main/skills/verification-gate into .opencode/skills/verification-gate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "verification-gate", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
verification-gate代码改完后的分层验证执行与证据记录。完成 feature / 重大变更 / 创建 PR / 重构 / 声称「修完」前使用——按项目运行 build、unit、e2e、真机等代表性阶段并记录真实结果(编译过 ≠ 功能可用)。覆盖 Tauri 桌面 / Web / 服务 / Skill 四类分支,可把已执行事实转换为 production-engineering-audit staged…
Verification Gate is an agent skill from cat-xierluo/legal-skills. 代码改完后的分层验证执行与证据记录。完成 feature / 重大变更 / 创建 PR / 重构 / 声称「修完」前使用——按项目运行 build、unit、e2e、真机等代表性阶段并记录真实结果(编译过 ≠ 功能可用)。覆盖 Tauri 桌面 / Web / 服务 / Skill 四类分支,可把已执行事实转换为 production-engineering-audit staged receipt;完成等级与发布结论由 production-engineering-audit 裁决。不要用于:业务领域验证、Skill 质量审查(用 skill-lint)、纯文档变更、一次性脚本。
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts, reference files and assets (for example `CHANGELOG.md`, `assets/staged-receipt-input.example.json` and `references/assertion-depth.md`).
It sits in Testing & QA, covering End-to-end testing and Linting and formatting. It works with Tauri. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c077fcc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
npmcargogitnpxbrewFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, git and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Verification Gate loads about 2.7k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 724 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from cat-xierluo/legal-skills at commit c077fcc, republished under its MIT licence (© cat-xierluo). 724 words, ~2,701 tokens.
.claude/skills/verification-gate/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.本 skill 是「代码改完 → 声称完成 / 提交 PR」之间的验证执行与证据记录层。核心解决一个问题:编译过 ≠ 功能可用。
它负责真实运行适用阶段、观察功能终态并保留阶段事实;production-engineering-audit(PEA)是完成
层级的唯一裁决者。需要机器可消费的分层证据时,读取
references/staged-receipt.md,用确定性转换器生成 staged receipt,
再交给 PEA。不要在本 Skill 内另造 READY / RELEASED 判决。
直接教训:改完 reader worker 加载,
typecheck/ build / lint / 单测全过,就声称「修完」,实机却「文字层未知」(textLayerStatus卡 unknown)崩——编译层根本抓不到运行时功能问题。这类坑的唯一解是 e2e(功能验证)+ 真机。
npm test 永不退出(summary 不打印 / 进程不退)按 P0 基础设施缺陷处理,诊断 playbook 见 references/lessons-from-practice.md 教训 12;用子集绕开只能是登记过任务的临时态——悬挂会掩盖真实失败(教训 11:修复当日暴露 3 条被藏数周的失败)。| # | 阶段 | 门禁 | 完成线 | CI |
|---|---|---|---|---|
| 1 | 构建(build / cargo check) | 失败则停,不继续 | 前置 | ✅ 进 CI(PR 阻断项) |
| 2 | 类型检查(typecheck) | 关键错误清零 | 前置 | ✅ 进 CI(PR 阻断项) |
| 3 | Lint(--max-warnings=0 + 依赖环) | 零警告 + 无依赖环 | 前置 | ✅ 进 CI(PR 阻断项) |
| 4 | 单元测试(vitest 分层) | 通过 + 覆盖率达标 | 前置 | ✅ 进 CI(PR 阻断项) |
| 5 | e2e 功能验证(Playwright) | 功能结果断言(非存在元素) | 核心完成线 | ✅ 进 CI(PR 阻断项,关键) |
| 6 | 真机验证(etv / build / staging) | 真实运行时行为 | 核心完成线 | ⚠️ 通常本地 / staging 跑(CI 难模拟真机,按需) |
| 7 | 安全扫描(密钥 / debug 日志) | 无泄露 / 无遗留 console.log | 前置 | ✅ 进 CI(PR 阻断项) |
| 8 | Diff 审查(范围 / 越界) | 变更合规,无 forbidden 文件 | 前置 | ✅ 进 CI(PR 阻断项) |
CI 列说明:✅ = 建议在 CI 自动跑、失败即阻断 PR 合并;⚠️ = 真机环境 CI 一般难以模拟,放本地或独立 staging 流水线跑。本地手动跑时 8 阶段全跑,CI 跑 1-5 + 7-8(缺真机)。
# 1 构建
npm run build 2>&1 | tail -20 # 前端
cd src-tauri && cargo check 2>&1 | tail # Tauri Rust
# 2 类型检查
npm run typecheck 2>&1 | tail
# 3 Lint(严格:零警告 + 依赖环)
npm run lint -- --max-warnings=0 2>&1 | tail
npx depcruise --config .dependency-cruiser.cjs src 2>&1 | tail # 依赖环(如有)
# 4 单元测试(分层)
npm test 2>&1 | tail -50 # vitest(unit + integration + dom 分层)门禁:任一失败 → 停,修复后再继续。但这 4 层全过 ≠ 功能可用。
这是「编译过 ≠ 功能可用」的唯一解。用 Playwright(或等价)驱动应用,断言功能结果。
npm run test:e2e -- tests/e2e/reader-renders.test.ts # FaroPDF 实际路径示例
# 或项目既有:npm run verify:reader-e2e(chromium 真 Worker 功能门禁)断言深度——不只「存在元素」,断言功能结果(见 references/assertion-depth.md)。
门禁事实:e2e 不过就记录 failed,不把该阶段当作 behavior-complete 证据;由 PEA 判断当前
声明是否被阻断。
dev server e2e 不够——真实运行时(Tauri WKWebView / Web build 产物 / 服务 staging)行为可能不同。
| 项目类型 | 真机验证 |
|---|---|
| Tauri 桌面 | npm run tauri build 产物实机(或 etv:WEBKIT_INSPECTOR_SERVER + tauri dev 真机 DOM + 截图) |
| Web | npm run build + vite preview(build 产物,非 dev server) |
| 服务 | staging 环境真实请求 |
阶段通过条件:真机行为与 dev e2e 一致;prod-only 问题(worker/协议/路径)必须真机抓到。
# 7 安全
grep -rnE "sk-|api_key|password|token" --include="*.ts" --include="*.rs" src/ src-tauri/ 2>/dev/null | grep -viE "test|fixture|env|placeholder" | head
grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head
# 8 Diff 审查
git diff --stat
git diff HEAD~1 --name-only # 逐文件审:非预期变更 / 缺失错误处理 / forbidden 文件npm run build && cd src-tauri && cargo check # 1 构建
npm run typecheck # 2 类型
npm run lint # 3 lint
npm test # 4 单测
npm run test:e2e # 5 e2e(打开 PDF 渲染 + textLayerStatus 断言;jsdom 层)
npm run verify:reader-e2e # 5+ chromium 真 Worker 门禁(dev server 自起自灭)
npm run verify:prod-render # 5+ 产物层门禁(vite preview build 产物 + 真实 UI + Retina DPR=2)
# 6 真机:npm run tauri build 产物实机 / etv(npm run etv:dev + etv:run,WKWebView 真机 DOM + 截图)
# ⚠ 桌面 WebView 四层验证盲区(引擎代差/DPR/产物嵌入/dev≠打包)见教训 13:
# chromium 全绿 ≠ WKWebView 过;真机 console(构建戳确认版本)是唯一决定性证据真机验证做法见 references/e2e-practice.md(Tauri etv 段)。
npm run build && npm run typecheck && npm run lint && npm test # 1-4
npm run test:e2e # 5 Playwright(CI 也跑)
# 6 真机:npm run build + vite preview(build 产物)npm run build && npm run typecheck && npm run lint # 1-3
npm test # 4 unit + integration
# 5 integration test(HTTP 请求断言响应)
# 6 真机:staging 环境真实请求引用 skill-lint(已有 Skill 创建质量审查)。本 skill 不重复 skill-lint 的职责。
持续模式:长会话中每 15 分钟或重大变更后执行(心智检查点:完成函数后 / 完成组件后 / 切换任务前)。
不需要 GitHub Actions 也能做完整验证。 本 skill 的 8 阶段本质是「一组要在代码声称完成前跑的命令 + 判定标准」,它在哪跑、谁来跑是独立的:
build → typecheck → lint → test → test:e2e,看实际输出并记录阶段事实。即时、灵活,但靠自觉——容易「编译过了就声称修完」(正是本 skill 要防的坑)。关键认知:
act(本地跑 GitHub Actions)、lefthook / husky 的 pre-push hook 在提交前自动跑。落地建议:先本地把 8 阶段跑顺、阶段报告用熟;再把它搬进 CI(见
references/e2e-practice.md的「CI 门禁」通用模板)。同一阶段在本地与 CI 的事实应一致,冲突时保留证据并排查环境差异,不手工覆盖红灯。
8 阶段不是每次都要亲力亲为——编译层(1-4)工具链逼你跑,真正容易漏、也最该记住的是功能层(5-6),因为「编译过 ≠ 功能可用」。按场景取最低必要集:
1 构建 → 2 类型 → 4 单测(改了逻辑就跑)→ 5 e2e(宣称修好前必跑)日常清单 + 6 真机(至少 build 产物跑一遍)+ 7 安全(grep 自查)+ 8 Diff(看 git diff)husky / lefthook pre-push 自动跑,或 CI 跑。真实教训:worker 改完 typecheck / build / lint / 单测全过,实机
textLayerStatus卡 unknown 崩——证明 1-4 全过 ≠ 功能可用,5/6 不过就是没修完。
功能挂了 NOT_VERIFIED 后,收尾时禁止整批移交用户——先逐项二分:
| 类别 | 判据 | 动作 |
|---|---|---|
| Web 层可验 | 功能面存在于浏览器 DOM:UI 渲染 / 交互 / localStorage 持久化 / 剪贴板(chromium grant 权限可断言真实内容) | Agent 当场写 Playwright spec 验证,转正为回归 e2e(进 CI),并把 NOT_VERIFIED 口径收窄到实际剩余 |
| 真需真机 | 依赖 OS / Tauri runtime / webview 特异行为:系统 API 注册、invoke 后端链路、WKWebView 观感 | 保留 NOT_VERIFIED,精确到剩余粒度(「仅 WKWebView 剪贴板写入」,不是整条 feature) |
references/lessons-from-practice.md 教训 10;className→CSS 真实渲染断言见 references/assertion-depth.md「视觉 / CSS 类」。| 阶段 | 结果 |
|-------------|-------------------------------|
| 1 构建 | PASS / FAIL |
| 2 类型 | PASS / FAIL (X errors) |
| 3 Lint | PASS / FAIL (X warnings) |
| 4 单测 | PASS / FAIL (X/Y, Z% cov) |
| 5 e2e 功能 | PASS / FAIL (X specs) | ← 硬门禁
| 6 真机 | PASS / FAIL / NOT_RUN(记原因) | ← 硬门禁
| 7 安全 | PASS / FAIL (X issues) |
| 8 Diff | X files, 范围合规/越界 |
| CI 门禁 | 1-5+7-8 全绿 / 有 job 红(阻断说明) |表格适合人读,但不得附加本 Skill 自行裁定的 READY / RELEASED。需要机器消费时,把同一批真实阶段
事实写成 verification-gate-stage-report/v1,按
references/staged-receipt.md 转换,再由 PEA 根据 target、consumer、
候选 commit 与项目最低层级裁决。失败阶段同样必须进入回执,不能因为想生成绿灯而省略。
代码改动声称「完成」必须:
e2e/真机不过 = 对应阶段失败:不得把失败阶段伪装为通过或省略;是否阻断提交、合并或发布, 由 PEA 结合项目配置与声明层级判定。
| 依赖 | 安装方式 |
|---|---|
| node / npm | 项目自带 |
| rust / cargo(Tauri 项目) | macOS: brew install rust |
| 项目类型 | 依赖 | 用途 |
|---|---|---|
| 通用 | vitest / eslint / tsc | 单测 / lint / 类型 |
| 通用 | playwright | e2e 功能验证 |
| Tauri 桌面 | @tauri-apps/cli | tauri build / dev 真机 |
| 通用(可选) | dependency-cruiser | 依赖环检测(阶段 3) |
references/eight-phases-rationale.md:想搞懂「为什么是 8 阶段、编译过为啥不等于能用」——各阶段证明/不证明什么、e2e+真机补什么盲区、反例。对应 §8 阶段验证 与 §本地开发:哪些验证必要。references/assertion-depth.md:写 e2e 时——断言功能结果 vs 只断言存在元素(防伪渲染/假成功),跨渲染/状态/交互/API 四类案例。对应 §阶段 5。references/e2e-practice.md:落地 e2e / 真机 / CI——Playwright spec 写法、fixture 矩阵、CI 通用模板(平台不限 GitHub Actions)、Tauri etv 真机。对应 §阶段 5/6 与 §本地 vs CI 门禁。references/test-pyramid.md:组织单测 / verify 脚本 / 回归规范——vitest 分层、build 内嵌 verify、bug 修复必加复现测试、lint 严格。对应 §阶段 3/4。references/lessons-from-practice.md:跑 skill 踩过的坑——pre-existing 失败判定、e2e 缺失、Tauri invoke 限制、快速模式 vs 全量、真机证据来源等,持续反哺。对应 §本地开发清单 的「快速模式」与 §阶段 4/5/6 边界。references/staged-receipt.md:阶段已经真实执行后——输入契约、证据路径、HEAD 绑定、转换命令与 PEA 消费边界。对应 §最终输出。| 维度 | verification-gate | skill-lint | production-engineering-audit |
|---|---|---|---|
| 定位 | 分层验证执行与事实记录 | Skill 创建/改造后的质量审查 | 结构性浪费与完成声明裁决 |
| 对象 | Tauri/Web/服务/Skill 的真实阶段 | Skill 本身(SKILL.md/references/契约) | 项目配置、热路径与完成证据 |
| 关系 | 生产 staged receipt,不裁定等级 | 验证 Skill 结构合规 | 消费 receipt,裁定证据支持上限 |
代码项目用 verification-gate 执行阶段,Skill 用 skill-lint 审结构;改 Skill 的代码脚本时两者都适用。 准备声称「已修复 / 已完成 / 可发布」时,再把 staged receipt 交给 production-engineering-audit;三者不 互相替代。
© cat-xierluo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 11 other files (scripts, references, assets) in skills/verification-gate of cat-xierluo/legal-skills.
Open the folder on GitHubat commit c077fcc
Verification Gate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Verification Gate this skillcat-xierluo/legal-skills | 717 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Pierre Testing and Verification Guidepierrecomputer/pierre | 6.3k | — | ~608 | Automated safety check: Pass | Apache-2.0 | |
| Ha Frontend Testinghome-assistant/frontend | 5.7k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Acceptance Test Authoringintent-driven-dev/intent-driven-template | 161 | — | ~2k | Automated safety check: Pass | MIT | |
| Precommitploxc/modbux | 110 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Desktop App Driving with Reticlereticlehq/reticle | 1.2k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 |
pierrecomputer/pierre
Chooses the right verification step after a code change in Pierre's monorepo: format and lint, a typecheck, Bun unit tests, snapshots, or Playwright E2E.
home-assistant/frontend
Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.
intent-driven-dev/intent-driven-template
A skill your agent uses when creating or modifying acceptance tests, configuring cucumber-js or behave runners, writing or refactoring step definitions, linting executable Gherkin specs, choosing an…
ploxc/modbux
Run the checklist before committing or merging — read the diff, lint, typecheck, the unit suite, the e2e specs the change touches, then report and commit.
reticlehq/reticle
Drives and verifies Electron or Tauri desktop apps through Reticle, which sees the renderer and the IPC calls that a browser-based testing tool cannot observe.
jerrywu001/cc-sessions-viewer
Launches a Tauri app's dev build with the MCP bridge compiled in, so an agent can take screenshots, read the live DOM, click real buttons and call real backend commands.
cat-xierluo/legal-skills
Converts a lawyer's ordinary complaint or a described case into the Supreme People's Court's elements-style Word template, with layout checks on the result.
cat-xierluo/legal-skills
Analyzes raw lecture transcripts for verbal tics, pacing, time use and promise follow-through, with optional slide-by-slide comparison and cross-session tracking.
cat-xierluo/legal-skills
Detects and rewrites machine-sounding patterns in the body text of Chinese articles while keeping the author's facts, headings and legal terms intact.
cat-xierluo/legal-skills
Finds GitHub projects mentioned in articles or screenshots and stars them, tracks updates to your starred repos, and builds an HTML dashboard to browse them.
cat-xierluo/legal-skills
Sets up or incrementally updates AGENTS.md and CLAUDE.md for legal professionals, with a minimal safety baseline and a check that a new session loads and follows the rules.
cat-xierluo/legal-skills
Chinese-language skill that organizes a case file into a multi-role mock trial with judge, parties and clerk, producing a transcript, issue review and a to-strengthen list.
Works with
Categories
代码改完后的分层验证执行与证据记录。完成 feature / 重大变更 / 创建 PR / 重构 / 声称「修完」前使用——按项目运行 build、unit、e2e、真机等代表性阶段并记录真实结果(编译过 ≠ 功能可用)。覆盖 Tauri 桌面 / Web / 服务 / Skill 四类分支,可把已执行事实转换为 production-engineering-audit staged…. Verification Gate is an agent skill from cat-xierluo/legal-skills.
Verification Gate fits situations like: tasks that involve End-to-end testing; tasks that involve Linting and formatting.
Run `npx skills add cat-xierluo/legal-skills --skill verification-gate -a claude-code`. Or copy the skill folder (skills/verification-gate in cat-xierluo/legal-skills) into .claude/skills/verification-gate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cat-xierluo/legal-skills --skill verification-gate -a codex`. Or copy the skill folder (skills/verification-gate in cat-xierluo/legal-skills) into .agents/skills/verification-gate in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cat-xierluo/legal-skills --skill verification-gate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/verification-gate, .gemini/skills/verification-gate, .github/skills/verification-gate and .opencode/skills/verification-gate in your project.
Going by SKILL.md and its folder, Verification Gate needs Python for the scripts in its folder and the command-line tools its instructions call (npm, cargo, git, npx and brew). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use npm, git and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Verification Gate is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Verification Gate: Pierre Testing and Verification Guide (pierrecomputer/pierre, 6.3k stars), Ha Frontend Testing (home-assistant/frontend, 5.7k stars), Acceptance Test Authoring (intent-driven-dev/intent-driven-template, 161 stars) and Precommit (ploxc/modbux, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cat-xierluo (a GitHub user) maintains it in cat-xierluo/legal-skills, which has 717 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on October 8, 2026.
Source: cat-xierluo/legal-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.