verification-before-completion
Skill2 starsChanged 2 months agoMITView on GitHub
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs, requiring fresh verification command output before making assertions. Don't use for initial exploratory brainstorming or rough drafting phases.
- Reads credentials
190 other projects use a version of this, 138 of them edited.
Adopted by
Most recently taken up by
- blas1n/claude-skillsedited, first seen Oct 4, 2026
- HMBSbige/skillstheir own version, first seen Oct 3, 2026
- iliaal/ai-skillstheir own version, first seen Oct 3, 2026
- LayneChai/superpowers-dshedited, first seen Oct 3, 2026
- mnzralee/claude-multi-agent-architecturetheir own version, first seen Oct 3, 2026
- HanksChen0110/skillsedited, first seen Oct 3, 2026
Used with
Projects with it also use diagnosing-superpowers, chinese-git-workflow 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.
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 6 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 4 projects that use this
shibit-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
c-reichertSkillfinishing-a-branch
Use when implementation is complete and all tests pass — guides branch completion by presenting structured options for merge, PR, or cleanup.
Also in 3 projects that use this
MicrosoftSkilltesting-anti-patterns
Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies
Also in 4 projects that use this
- +1 more from shibit-net
Other versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 138
- obra/superpowers★ 314k77% same
- openai/plugins★ 7.3k77% same
- Archive228/loopkit★ 75611% same
- pedronauck/skills★ 63377% same
- coco-research/coco★ 43772% same
- Ibrahim-3d/orchestrator-supaconductor★ 38072% same
- totvs/engpro-advpl-tlpp-skills★ 13874% same
- Houseofmvps/ultraship★ 12374% same
- LayneChai/superpowers-dsh★ 10277% same
- coctostan/pi-superpowers★ 7074% same
128 more not listed
Wrote their own version · 52
- jnMetaCode/superpowers-zh★ 8.3ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- KbWen/agentic-os★ 206same name
- TheGoat395/Codex-Skills★ 125same name
- shibit-net/xuanji-community★ 93same name
- withzombies/hyperpowers★ 80same name
- tranhieutt/software_development_department★ 72same name
- ivyfan-toowell/IvyClaw★ 61same name
- drvoss/everything-copilot-cli★ 47same name
- iliaal/ai-skills★ 43same name
42 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 repository24 other files it gives its agents.
- brainstormingSkill
- codebase-designSkill
- code-reviewSkill
- conventional-commitSkill
- copy-web-designSkill
- executing-plansSkill
- frontend-designSkill
- i18nSkill
- laravelSkill
- prototypeSkill
- reactSkill
- s13nSkill
- security-auditSkill
- summarizeSkill
- systematic-debuggingSkill
- technical-writingSkill
- testing-patternsSkill
- ui-motionSkill
- ui-ux-reviewSkill
- unslopSkill
- upsert-codebase-docsSkill
- workspace-onboardingSkill
- writing-for-agentsSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 1 is common, 13 are distinctive, and 2 are very specific to this project.
1
Common
Most of the 177 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 22
If you haven't run the verification command in this message, you cannot claim it passes.
- Distinctive: line 26
BEFORE claiming any status or expressing satisfaction:
- Distinctive: line 29
Run. Execute the full command freshly and completely.
- Distinctive: line 30
Read. Inspect full output, check exit codes, and count failures.
- Distinctive: line 31
Verify. Confirm whether output proves the claim.
- Distinctive: line 32
If not, state actual status with evidence.
- Distinctive: line 33
If yes, state claim with evidence attached.
- Distinctive: line 40
Follow these five steps before claiming completion:
- Distinctive: line 56
Read the full terminal output, verify exit code 0, and confirm zero errors or failures.
- Distinctive: line 148
Run these git checks before making any completion claim:
- Very specific: line 153
If any core documentation file was deleted inadvertently, restore it immediately using git checkout -- <file>.
- Distinctive: line 158
Run linters against modified files to prevent shipping formatting bugs or breaking pre-commit hooks:
- Very specific: line 165
Run the linter strictly against those files, such as vendor/bin/pint --test path/to/File.php or npx eslint path/to/File.tsx.
- Distinctive: line 166
Do not execute full-repository scans that pull in pre-existing legacy errors outside the active scope.
- Distinctive: line 167
If no linter is configured in project manifests, record "none configured" under linter status in the verification report without failing …
- Distinctive: line 202
Run the command. Read the output.
“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
Overview
Claiming work is complete without verification is dishonesty, not efficiency.
Core principle. Evidence before claims, always.
Violating the letter of this rule is violating the spirit of this rule.
The iron law
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCEIf you haven't run the verification command in this message, you cannot claim it passes.
The gate function
BEFORE claiming any status or expressing satisfaction:
- Identify. Determine what command proves this claim.
- Run. Execute the full command freshly and completely.
- Read. Inspect full output, check exit codes, and count failures.
- Verify. Confirm whether output proves the claim.
- If not, state actual status with evidence.
- If yes, state claim with evidence attached.
- Claim. Make the claim only after evidence is verified.
Skip any step = lying, not verifying.
Workflow
Follow these five steps before claiming completion:
Step 1. Command identification
Identify the deterministic command that validates the exact claim, including test runners, linters, and type checkers.
Completion criterion. An exact terminal command selected that directly inspects the modified code or behavior.
Step 2. Fresh command execution
Execute the verification command in full without relying on cached logs or previous runs.
Completion criterion. Fresh command execution output captured in the current turn.
Step 3. Output inspection and exit code triage
Read the full terminal output, verify exit code 0, and confirm zero errors or failures.
Completion criterion. Terminal output confirms zero failing assertions, zero type errors, and zero unhandled exceptions.
Step 4. Git diff and repository safety gate
Inspect working tree status and diffs to confirm no core documentation files were inadvertently deleted and untracked artifacts are cleaned up.
Completion criterion. git status --short confirms all touched files are intentional, with zero unwanted file deletions or orphan scratch files.
Step 5. Claim with evidence
State the completion claim citing the exact command run, test counts, and exit status.
Completion criterion. The user receives a factual statement backed by terminal evidence, with zero unverified assumptions.
Common failures
| Claim | Requires | Not Sufficient |
| Tests pass | Test command output showing 0 failures | Previous run, "should pass" |
| Linter clean | Linter output showing 0 errors | Partial check, extrapolation |
| Build succeeds | Build command returning exit 0 | Linter passing, logs look good |
| Bug fixed | Test verifying original symptom passes | Code changed, assumed fixed |
| Regression test works | Red-green cycle verified | Test passes once |
| Agent completed | VCS diff shows changes | Agent reports "success" |
| Requirements met | Line-by-line checklist | Tests passing |
Red flags
- Using "should", "probably", "seems to"
- Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
- About to commit, push, or open a PR without verification
- Trusting agent success reports
- Relying on partial verification
- Thinking "just this once"
- Tired and wanting work over
- ANY wording implying success without having run verification
Rationalization prevention
| Excuse | Reality |
| "Should work now" | RUN the verification |
| "I'm confident" | Confidence ≠ evidence |
| "Just this once" | No exceptions |
| "Linter passed" | Linter ≠ compiler |
| "Agent said success" | Verify independently |
| "I'm tired" | Exhaustion ≠ excuse |
| "Partial check is enough" | Partial proves nothing |
| "Different words so rule doesn't apply" | Spirit over letter |
Key patterns
Tests
✅ [Run test command] [See: 34/34 pass] "All tests pass"
❌ "Should pass now" / "Looks correct"Regression tests (TDD red-green)
✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
❌ "I've written a regression test" (without red-green verification)Build
✅ [Run build] [See: exit 0] "Build passes"
❌ "Linter passed" (linter doesn't check compilation)Requirements
✅ Re-read plan → Create checklist → Verify each → Report gaps or completion
❌ "Tests pass, phase complete"Agent delegation
✅ Agent reports success → Check VCS diff → Verify changes → Report actual state
❌ Trust agent reportGit state and documentation preservation gate
Run these git checks before making any completion claim:
- Execute
git status --shortto verify all touched files. - Inspect deleted files marked with
D.- Core files must never be deleted without an explicit user prompt. Protected files include
CODEBASE.md,AGENTS.md,CLAUDE.md,README.md, and.env.example. - If any core documentation file was deleted inadvertently, restore it immediately using
git checkout -- <file>.
- Core files must never be deleted without an explicit user prompt. Protected files include
- Confirm that untracked temporary files, scratch scripts, or dump files are either cleaned up or added to
.gitignore.
Scoped linter and code style verification
Run linters against modified files to prevent shipping formatting bugs or breaking pre-commit hooks:
- Detect configured linters:
- For PHP or Laravel, check
composer.jsonforlaravel/pintorphpstan/phpstan. - For JavaScript or TypeScript, check
package.jsonforeslint,biome, orprettier.
- For PHP or Laravel, check
- Scope execution to modified files:
- Identify touched files using
git diff --name-only. - Run the linter strictly against those files, such as
vendor/bin/pint --test path/to/File.phpornpx eslint path/to/File.tsx. - Do not execute full-repository scans that pull in pre-existing legacy errors outside the active scope.
- Identify touched files using
- If no linter is configured in project manifests, record "none configured" under linter status in the verification report without failing the gate.
Automated web performance and accessibility gate
For web applications with automated auditing configured, consult references/lighthouse-ci.md to run Lighthouse CI assertions against production builds.
Why this matters
From 24 failure memories:
- Your human partner said "I don't believe you", which broke trust
- Undefined functions shipped and crashed in production
- Missing requirements shipped with incomplete features
- Time wasted on false completion, redirect, and rework
- Violates the rule that honesty is a core value
When to apply
Always verify before:
- ANY variation of success or completion claims
- ANY expression of satisfaction
- ANY positive statement about work state
- Committing, PR creation, task completion
- Moving to next task
- Delegating to agents
The rule applies to:
- Exact phrases
- Paraphrases and synonyms
- Implications of success
- ANY communication suggesting completion or correctness
The bottom line
No shortcuts for verification.
Run the command. Read the output. THEN claim the result.
This is non-negotiable.
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.

