verification-before-completion
Skill146 starsChanged 7 months agoMITView on GitHub
Invoke BEFORE saying "done", "tests pass", "ready to merge", or any completion claim. Requires fresh command output as evidence — no completion without proof. Also routed by using-superpowers at task end.
189 other projects use a version of this.
Adopted by
Most recently taken up by
- DemonDamon/AgenticXtheir own version, first seen Nov 9, 2026
- roundpilot/superpowers-antigravitytheir own version, first seen Nov 8, 2026
- lingyired/status-triotheir own version, first seen Nov 8, 2026
- DJtx001/ai-coding-playbooktheir own version, first seen Nov 8, 2026
- Ai-assistant-KIRA/antigravity-harnesstheir own version, first seen Nov 8, 2026
- AxlZero21/Skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
Also in 8 projects that use this
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 20 projects that use this
jh941213Skilldocs-ci
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Also in 3 projects that use this
jh941213Skilldocs-interfaces
API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.
Also in 3 projects that use this
- +3 more from Leodorareluctant259
- +4 more from jh941213
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 189
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.4ksame name
- openai/plugins★ 7.8ksame name
- farm-fe/farm★ 5.6ksame name
- lingyired/status-trio★ 1.8ksame name
- GanyuanRan/Aegis★ 1.4ksame name
- pcvelz/superpowers★ 1.3ksame name
- DemonDamon/AgenticX★ 1ksame name
- coco-research/coco★ 797same name
- pedronauck/skills★ 649same name
179 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- brainstormingSkill
- claude-md-creatorSkill
- context-managementSkill
- deliberationSkill
- dependency-managementSkill
- dispatching-parallel-agentsSkill
- error-recoverySkill
- executing-plansSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- performance-investigationSkill
- premise-checkSkill
- receiving-code-reviewSkill
- refactoringSkill
- requesting-code-reviewSkill
- self-consistency-reasonerSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- token-efficiencySkill
- using-git-worktreesSkill
- using-superpowersSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 13 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 177 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Do not claim success without fresh command evidence.
- Distinctive: line 15
Before any completion claim:
- Distinctive: line 18
Run that command now, in full — no truncated invocation, no reading a previous run's output.
- Distinctive: line 39
Widen on evidence, not pre-emptively: Run the narrow command first.
- Distinctive: line 45
A project's own matrix wins: If the repo's CLAUDE.md defines verification scope, follow it over this table.
- Distinctive: line 75
When verifying completion of any task that created or modified production code, run a stub scan before claiming done:
- Distinctive: line 87
When verifying a bugfix with a regression test, the test must prove it catches the bug:
- Distinctive: line 98
When a subagent reports success, verify independently:
- Distinctive: line 107
If evidence is missing, report current status as unverified and run the command.
- Very specific: line 111
When the verification reasoning is non-trivial (multi-step inference, ambiguous evidence, or configuration changes), apply multi-path …
- Distinctive: line 124
When a change affects provider selection, feature flags, environment variables, or credentials:
- Distinctive: line 126
Do not claim success based on operation success alone.
- Distinctive: line 138
Run: a command that shows the observable difference.
- Distinctive: line 139
Verify: output contains the expected difference — not just that the operation completed.
“Common” is measured: kept by at least 6 in 10 of the 177 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verification Before Completion
Do not claim success without fresh command evidence.
Gate
Before any completion claim:
- Identify the command that proves the claim.
- Run that command now, in full — no truncated invocation, no reading a previous run's output. Scope it per Scale Verification to the Change below.
- Inspect exit code and output.
- State results exactly as observed.
- If the change includes a condition or gate that determines when something applies: explicitly state what it does NOT cover. If the answer reveals a gap that should be covered, fix it before proceeding.
Scale Verification to the Change
The gate says run the command that proves the claim. It does not say every edit earns a full-matrix run. Pick the narrowest command that could actually catch a break from this change — a five-minute suite run after a one-line edit is not rigor, it is a reflex.
| Change | Verify with |
| Comment, docstring, one-line edit | that file's tests; nothing else |
| One module, component, or panel | its suite, plus a typecheck if types moved |
| Several modules inside one subsystem | the suites for those modules |
| A shared type, a public contract, a cross-cutting rule, or two subsystems together | the full suite / matrix |
| Dependency, build config, or CI change | the full suite / matrix |
Rules:
- Widen on evidence, not pre-emptively. Run the narrow command first. Widen when something connected actually breaks — not because it might.
- Never imply an unrun suite is green. Report it as unrun. "Radar suite passes; full core suite not run" is honest. "Tests pass" is not.
- The bottom two rows are not negotiable. Shared contracts and dependency changes have unbounded blast radius — targeted tests are blindest exactly there.
- A project's own matrix wins. If the repo's CLAUDE.md defines verification scope, follow it over this table.
Scoping the command is not a licence to skip the gate. The narrow command still has to run, and its real output still has to be read.
Applies To
- "Tests pass"
- "Bug is fixed"
- "Build succeeds"
- "Ready to merge"
- Any equivalent wording
Not Acceptable
- "Should pass"
- "Looks good"
- Trusting old outputs
- Trusting subagent reports without verification
Minimum Evidence Examples
- Tests: command output with zero failures
- Build: successful exit code
- Bugfix: reproduction case now passes
- Requirements: explicit checklist against plan
Stub Scan (Implementation Tasks)
When verifying completion of any task that created or modified production code, run a stub scan before claiming done:
grep -rn "TODO\|FIXME\|placeholder\|NotImplementedError\|raise NotImplementedError" <src-dir> \
--include="*.ts" --include="*.js" --include="*.py" --include="*.go" --include="*.rs" \
| grep -v -i "test\|spec\|__tests__"Adjust <src-dir> and --include patterns to the project's language and source structure. If any match falls in a file this task created or modified: the task is not done. Remove the stub or confirm with the user it is intentional before claiming completion.
Regression Test Verification (Red-Green Cycle)
When verifying a bugfix with a regression test, the test must prove it catches the bug:
✅ Write test → Run (PASS) → Revert fix → Run (MUST FAIL) → Restore fix → Run (PASS)
❌ "I've written a regression test" (without red-green verification)A regression test that has never been seen failing proves nothing — it might pass for the wrong reason.
Agent Delegation Verification
When a subagent reports success, verify independently:
✅ Agent reports success → Check VCS diff → Verify changes match task → Report actual state
❌ Trust agent report at face valueRule
If evidence is missing, report current status as unverified and run the command.
Self-Consistency Verification
When the verification reasoning is non-trivial (multi-step inference, ambiguous evidence, or configuration changes), apply multi-path reasoning (see self-consistency-reasoner) before declaring the verdict:
- Generate 3 independent reasoning paths evaluating: "Does this evidence actually prove the claim?"
- Each path should approach the evaluation differently: one checks what the evidence proves, one checks what it doesn't prove, one considers alternative explanations for the output.
- Take the majority-vote verdict:
- All agree "verified": claim is proven.
- Majority agrees but minority dissents: flag what the dissenting path identified — it may reveal a gap in the evidence.
- No majority: evidence is insufficient. Do not claim completion. State what additional evidence is needed.
The paths are written by you in one pass, so they share your assumptions: a dissent is a real signal to act on, while unanimity only means none of your three angles found a gap. It targets the most expensive verification failure — confidently declaring "done" on evidence that doesn't prove what you think it proves — but it narrows that risk; it does not remove it.
Configuration Change Verification
When a change affects provider selection, feature flags, environment variables, or credentials:
Do not claim success based on operation success alone. Verify the outcome reflects the intended change.
| Change | Insufficient | Required |
| Switch API/LLM provider | Status 200 | Response contains expected provider or model name |
| Enable feature flag | No errors | Feature behavior is actually active |
| Change environment | Deploy succeeds | Logs or env vars reference the new environment |
| Set credentials | Auth succeeds | Authenticated identity or context is correct |
Gate:
- Identify: what should be different after this change?
- Locate: where is that difference observable? (response field, log line, runtime behavior)
- Run: a command that shows the observable difference.
- Verify: output contains the expected difference — not just that the operation completed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

