Verification Before Completion
Pre-completion verification gate that requires fresh command output before any success claim.
- CCM score
- 65 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 8.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the verify-before-claim workflow for tests, linters, builds, bug fixes, regression tests, requirement checks, and agent delegation
- Includes a gate function, a table of common failure modes with what evidence each claim needs, and a list of red-flag phrasings
- Enforces a rule that no completion claim is allowed without a fresh verification command run and its output read in the same message
- Designed for use before commits, pull requests, task closure, moving to the next task, or accepting an agent's success report
Install
$ npx -y skills add jnmetacode/superpowers-zh --skill verification-before-completion -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
完成前验证
概述
核心原则: 始终用证据支撑结论。
对这条规则敷衍了事,就等于违背了它的精神。
铁律
没有新鲜的验证证据,不许宣称完成
如果你在这条消息中没有运行验证命令,就不能声称测试通过。
门控函数
在宣称任何状态或表达满意之前:
1. 确定:什么命令能证明这个结论?
2. 运行:执行完整命令(重新运行,完整执行)
3. 阅读:完整输出,检查退出码,统计失败数
4. 验证:输出是否支持这个结论?
- 如果否:用证据说明实际状态
- 如果是:带证据陈述结论
5. 只有这时:才能做出结论
跳过任何一步 = 说谎,不是验证
常见失败模式
| 结论 | 需要 | 不够格 |
|---|---|---|
| 测试通过 | 测试命令输出:0 failures | 之前的运行结果、"应该会通过" |
| Linter 无报错 | Linter 输出:0 errors | 部分检查、推断 |
| 构建成功 | 构建命令:exit 0 | linter 通过、日志看起来没问题 |
| Bug 已修复 | 测试原始症状:通过 | 代码改了,假设已修复 |
| 回归测试有效 | 红-绿循环已验证 | 测试只通过了一次 |
| 代理已完成 | VCS diff 显示变更 | 代理报告"成功" |
| 需求已满足 | 逐项核对清单 | 测试通过 |
红线——停下来
- 使用"应该"、"大概"、"似乎"
- 验证前就表达满意("太好了!"、"完美!"、"搞定!"等)
- 即将提交/推送/创建 PR 却没有验证
- 信任代理的成功报告
- 依赖部分验证
- 想着"就这一次"
- 累了想赶紧收工
- 任何暗示成功但实际未运行验证的措辞
防止合理化
| 借口 | 现实 |
|---|---|
| "应该能行了" | 运行验证命令 |
| "我有信心" | 信心 ≠ 证据 |
| "就这一次" | 没有例外 |
| "Linter 通过了" | Linter ≠ 编译器 |
| "代理说成功了" | 独立验证 |
| "我累了" | 疲劳 ≠ 借口 |
| "部分检查就够了" | 部分检查什么也证明不了 |
| "换个说法这条规则就不适用了" | 精神大于字面 |
关键模式
测试:
✅ [运行测试命令] [看到:34/34 pass] "全部测试通过"
❌ "应该能通过了" / "看起来对了"
回归测试(TDD 红-绿):
✅ 编写 → 运行(通过)→ 回退修复 → 运行(必须失败)→ 恢复 → 运行(通过)
❌ "我写了回归测试"(没有经过红-绿验证)
Details
- Repository
- github.com/jnmetacode/superpowers-zh
- Categories
- Agent Workflow & Planning, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the verification-before-completion skill do?
verification-before-completion requires the agent to run a verification command and read its output before claiming that work is finished, fixed, or passing. It applies before commits and pull requests, and every success claim must be backed by evidence.
How do I install the verification-before-completion skill?
Run npx -y skills add jnmetacode/superpowers-zh --skill verification-before-completion -y inside your project. After that, verification-before-completion guides the agent to check its results before reporting success.
Where does verification-before-completion fit among Agent Workflow & Planning skills?
verification-before-completion sits in the Agent Workflow & Planning category, with grill-me, grill-with-docs, setup-matt-pocock-skills, grilling, and prototype among its neighbors. Its focus is narrower: it checks evidence before any completion claim, not planning or design.
When should I use verification-before-completion?
Use verification-before-completion before saying tests pass, a build succeeds, or a bug is fixed, and before committing or opening a pull request. It also covers trusting an agent's success report, which it asks you to check against the actual diff.
More from jnmetacode/superpowers-zh
All 20- Writing Plans1.1K
- Test Driven Development1.1K
- Chinese Code Review1.1K
- Chinese Commit Conventions1.1K
- Subagent Driven Development1.1K
- Executing Plans1.1K
- Requesting Code Review1K
- Finishing A Development Branch1K
- Using Git Worktrees1K
- Chinese Git Workflow995
- Dispatching Parallel Agents986
- Writing Skills983
- Mcp Builder979
- Workflow Runner968
- Using Superpowers1.3K
- Chinese Documentation1.3K
- Brainstorming1.2K
- Systematic Debugging1.2K
- Receiving Code Review1.1K
Similar to Verification Before Completion
More Agent Workflow & PlanningverifySkillcodeaholicguy/ai-devkit1.7K starsEvidence-based completion gate that requires fresh command output before any "it works" claim is accepted.
code-reviewSkillmrgoonie/claudekit-skills534 installsThree practices for receiving feedback, requesting reviews, and gating completion claims on fresh verification evidence.
verify-and-stopSkilljuliusbrussee/caveman140.2K installsProof-only skill that checks existing work against acceptance conditions and stops once they pass.
isitdonePlugindavepoon/buildwithclaude3.8K starsDon't let Claude say "done" until the tests actually pass. A Stop hook runs the repository's real test, typecheck and lint commands and blocks the turn until th
verifying-results-before-claimingSkillk-dense-ai/science-superpowers379 starsPre-report verification gate that requires fresh reproduced output before any result or significance claim.