verification-before-completion
Skill1 starsChanged 5 months agoMITView on GitHub
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
- Reads credentials
190 other projects use a version of this, 136 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 · 136
- obra/superpowers★ 314k33% same
- openai/plugins★ 7.3k33% same
- pedronauck/skills★ 63333% same
- coco-research/coco★ 43729% same
- Ibrahim-3d/orchestrator-supaconductor★ 38030% same
- totvs/engpro-advpl-tlpp-skills★ 13831% same
- Houseofmvps/ultraship★ 12331% same
- LayneChai/superpowers-dsh★ 10233% same
- coctostan/pi-superpowers★ 7031% same
- roundpilot/superpowers-antigravity★ 7028% same
126 more not listed
Wrote their own version · 54
- jnMetaCode/superpowers-zh★ 8.3ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- Archive228/loopkit★ 756same 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
44 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 repository32 other files it gives its agents.
- ansible-hardeningSkill
- budi-analyticsSkill
- claude-to-cursorSkill
- code-consistencySkill
- code-qualitySkill
- config-auditorSkill
- container-sandboxSkill
- cost-optimizerSkill
- cpa-tax-specialistSkill
- database-designSkill
- differential-reviewSkill
- fleet-managerSkill
- grill-meSkill
- hydra-swarmSkill
- inbound-syncSkill
- infosec-architectSkill
- insecure-defaultsSkill
- model-evaluationSkill
- modern-pythonSkill
- ms-office-suiteSkill
- openclaw-opsSkill
- prd-to-planSkill
- project-managementSkill
- property-based-testingSkill
- session-miserSkill
- session-miserSkill
- skill-updaterSkill
- supply-chain-risk-auditorSkill
- systematic-debuggingSkill
- tddSkill
- token-miserSkill
- write-a-prdSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 177 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Before committing, pushing, or creating PRs
- Distinctive: line 25
Before moving to the next task
- Distinctive: line 26
Before telling Josh something works
- Distinctive: line 27
After delegating to agents (verify their output independently)
- Distinctive: line 177
When reporting completion, include proof:
- Distinctive: line 246
Before saying "done", answer each with evidence — not "I think so":
- Distinctive: line 265
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
The Iron Law
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCEClaiming work is complete without verification is dishonesty, not efficiency. If you haven't run the verification command in this message, you cannot claim it passes.
Violating the letter of this rule is violating the spirit of this rule.
When This Fires
- ANY claim that work is done, fixed, passing, deployed, or ready
- ANY expression of satisfaction about work state
- Before committing, pushing, or creating PRs
- Before moving to the next task
- Before telling Josh something works
- After delegating to agents (verify their output independently)
If Josh finds something broken that you called done, that's a trust violation.
The Gate Function
BEFORE claiming any status:
1. IDENTIFY: What command proves this claim?
2. RUN: Execute the FULL command (fresh, complete, in THIS message)
3. READ: Full output, check exit code, count failures
4. VERIFY: Does output actually confirm the claim?
- If NO → State actual status with evidence
- If YES → State claim WITH evidence
5. ONLY THEN: Make the claim
Skip any step = lying, not verifyingStage 1: Code Quality (Before Commit)
Build & Lint
□ Build/compile passes — zero errors, zero warnings
□ Linter passes (ruff, eslint, tsc --noEmit, etc.) — show output
□ No debug code, print statements, or commented-out blocks
□ No hardcoded secrets (IPs only where config-appropriate)Tests
□ Full test suite ran — show actual output, not "should pass"
□ Record result: "X/Y tests pass, 0 failures"
□ New/changed code has test coverage for happy path + edge cases
□ If TDD: red-green-refactor verified (test fails without fix, passes with)
□ Integration tests if touching DB, APIs, or cross-service boundariesSelf-Review
□ git diff — read every changed line as if reviewing someone else's code
□ Clear variable/function names, no unnecessary duplication
□ No N+1 queries, unbounded loops, or resource leaks
□ Error handling at system boundaries (user input, external APIs, file I/O)
□ No security issues: injection, XSS, auth bypass, secrets in code
□ Changes match task scope — no unrelated "improvements"
□ Dependencies only bumped if necessary, breaking changes checkedStage 2: Commit & Push
□ Commit message explains WHY, not just WHAT
□ Each commit is one logical unit of work
□ No unrelated files staged (check git status)
□ No secrets committed (.env, credentials, wallet addresses)
□ Push succeeds — no rejected refs, no hook failures
□ If CI exists: wait for green, don't assumeStage 3: Deploy Verification
This is where trust gets broken most often. HTTP 200 ≠ working.
Pre-Deploy
□ Target host reachable (SSH, retry on first failure)
□ Port conflicts checked: ss -tlnp on target
□ Config uses correct IPs for DEPLOYMENT context, not dev
- Client-side URLs reachable FROM THE BROWSER, not from the container
- NEXT_PUBLIC_* are BUILD-TIME in Next.js — must be correct at docker build
- CORS origins include the origin the browser will actually use
□ Secrets/env files exist on target with correct values
□ Sufficient disk, memory, VRAM on target
□ Docker images built successfully — read the build output, don't assumeContainer Health
□ ALL containers show "Up" and "(healthy)" — not "starting", not missing
□ Health check commands work inside the container
- curl may not exist in slim images — use python3 urllib or wget
□ Container logs show clean startup — no tracebacks, no warnings
□ docker compose ps — all services running, correct port mappingsEnd-to-End Functional Proof (NON-NEGOTIABLE)
Test from the USER's perspective, not from inside the container.
□ API responds from LAN IP (not 127.0.0.1):
curl http://<HOST_IP>:<PORT>/api/health
□ Frontend loads from LAN IP:
curl -s http://<HOST_IP>:<PORT> | verify expected HTML content
□ Frontend can actually reach backend:
- Verify API URL in JS bundles points to LAN-reachable backend
- Verify CORS: curl with Origin header, check access-control-allow-origin
- NOT JUST "page loads" — verify the client-server connection works
□ Data is present:
- API returns real data, not empty arrays
- If migrated: row counts match source
- If seeded: seed data loads correctly
□ Key user journey works:
- Can a user DO the thing the service is for?
- Not "page renders" — "user can complete the workflow"
- Auth flows work if applicable (register, login, protected endpoints)Network
□ Service accessible from other fleet hosts, not just localhost
□ Ports bound to correct interface:
- 0.0.0.0 for LAN-accessible
- 127.0.0.1 for internal-only (databases, admin)
□ Firewall allows traffic if UFW activeStage 4: Production Readiness
□ Service restarts cleanly (docker compose restart)
□ Service survives host reboot (restart policy or systemd enabled)
□ Data persists across restarts (volumes, not ephemeral)
□ Rollback plan exists — know how to revert
□ Logs accessible (docker logs, journalctl)
□ GPU VRAM verified (nvidia-smi) if GPU workload
□ Port registered in your project's port registry documentation
□ README/docs updated, session summary includes deploy detailsStage 5: Report With Evidence
When reporting completion, include proof:
✅ GOOD:
"ExamForge deployed on <gpu-host>:
- docker ps: 3/3 healthy
- curl http://<service-ip>:<api-port>/api/health → {"status":"ok"}
- curl http://<service-ip>:<frontend-port> → 93KB HTML, contains 'ExamForge'
- JS bundles contain http://<service-ip>:<api-port> (verified grep)
- CORS: access-control-allow-origin: http://<service-ip>:<frontend-port>
- API returns 7 certifications, 2399 questions"
❌ BAD:
"ExamForge deployed on <gpu-host>. Backend returns 200, frontend returns 200.
All systems go."Verification Matrix
| Claim | Requires | Not Sufficient |
| Tests pass | Test output: 0 failures | Previous run, "should pass" |
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
| Build succeeds | Build output: exit 0 | Linter passing |
| Bug fixed | Original symptom gone | Code changed, assumed fixed |
| Deployed | All containers healthy + E2E proof | Health check 200 |
| Frontend works | Browser can load AND call backend | HTML returns 200 |
| Data migrated | Row counts match on both sides | Script ran without errors |
| Service accessible | curl from LAN IP succeeds | curl from localhost succeeds |
| Agent completed | VCS diff verified independently | Agent reports "success" |
| Requirements met | Line-by-line checklist with evidence | Tests passing |
Rationalization Prevention
| Excuse | Reality |
| "Should work now" | RUN the verification |
| "I'm confident" | Confidence ≠ evidence |
| "Just this once" | No exceptions |
| "Health check passed" | Health check ≠ functional |
| "200 OK" | 200 ≠ working |
| "Linter passed" | Linter ≠ compiler ≠ functional |
| "Agent said success" | Verify independently |
| "Partial check is enough" | Partial proves nothing |
| "I already verified earlier" | Verify AGAIN, fresh |
| "It works from localhost" | Test from the user's machine |
Anti-Patterns From Real Incidents
| What Happened | What Should Have Happened |
| Claimed ExamForge "deployed and working" from 200 health check | Verified frontend→backend connection from browser perspective |
| NEXT_PUBLIC_API_URL pointed to 127.0.0.1 in Docker build | Used deployment host LAN IP in build args, verified in JS bundle |
| Backend bound to 127.0.0.1 only | Bound to 0.0.0.0, tested from LAN |
| Health check used curl (not in slim Python image) | Used python3 urllib (always available) |
| Didn't run plan's own verification steps | Execute every verification step listed in the plan |
| Said "all containers healthy" when frontend hadn't started | Verified ALL containers in docker ps, not just some |
| Expressed satisfaction before running verification | Gate function: evidence first, claims second |
Minimum Gate (Quick Reference)
Before saying "done", answer each with evidence — not "I think so":
1. BUILT? → Build output, zero errors
2. TESTED? → Test output, zero failures
3. LINTED? → Linter output, zero errors
4. DEPLOYED? → All containers healthy (show docker ps)
5. REACHABLE? → curl from LAN IP returns expected content
6. FUNCTIONAL? → End-to-end user journey works
7. DATA? → Real data present, not empty
8. DOCUMENTED? → Ports, docs, session summary updatedThe Bottom Line
Working code that's verified beats shipped code that's assumed.
Run the command. Read the output. Test from the user's perspective. 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.

