
Verification Before Completion
Force the agent to run fresh verification commands and cite evidence before saying tests pass, builds succeed, or work is complete.
Overview
Verification Before Completion is a journey-wide agent skill that blocks completion or success claims until the agent runs fresh verification commands and cites real output—usable whenever a solo builder needs evidence b
Install
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill verification-before-completionWhat is this skill?
- Iron law: no completion claims without fresh verification evidence in the same message
- 5-step gate: identify proof command, run fully, read output, verify claim, then speak
- Maps common failures (tests, linter, build) to required evidence vs insufficient shortcuts
- Applies to any success/completion/satisfaction phrasing—not only explicit 'done'
- Violating letter or spirit of the rule is treated as dishonesty, not efficiency
- 5-step gate function before any status claim
- Iron law stated as single mandatory rule for completion claims
Adoption & trust: 487 installs on skills.sh; 40.1k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
Your agent says tests pass or the build is green without running the full command in the current turn, so you ship on faith instead of proof.
Who is it for?
Indie builders running agentic loops on real repos who need honest pass/fail reporting before ship and operate decisions.
Skip if: Pure brainstorming or narrative tasks with no verifiable command output—though you should still avoid false factual claims outside runnable checks.
When should I use this skill?
Use when ANY variation of success/completion claims, ANY expression of satisfaction, or ANY positive statement about work state.
What do I get? / Deliverables
Every completion or satisfaction statement is paired with fresh command output, exit codes, and failure counts so you can trust status before merge, deploy, or handoff.
- Status claims backed by fresh command output and exit codes
- Explicit actual-status report when verification fails
Recommended Skills
Journey fit
Useful at every journey phase - explore requirements and options before committing to a direction.
Where it fits
After wiring an API client, the agent must run the test suite before claiming the integration works.
Before opening a PR, require full pytest or npm test output with zero failures cited in the reply.
During self-review, block 'linter clean' unless eslint or ruff was executed in the same message.
Before announcing a release build, require compile/bundle command exit 0 with logs quoted.
After a hotfix, demand reproduction test or health-check command output before declaring incident resolved.
How it compares
Behavioral evidence gate for agents, not a test runner replacement—use alongside your test/lint CI commands, not instead of them.
Common Questions / FAQ
Who is verification-before-completion for?
Solo and indie builders using Claude Code, Cursor, or Codex who want agents to prove claims with commands instead of reassuring language.
When should I use verification-before-completion?
Use during Build when integrating features, Ship before review or release, Launch when validating hotfixes, Operate when confirming fixes in production, and anytime the agent expresses completion or satisfaction about repo state.
Is verification-before-completion safe to install?
It is prompt-only discipline with no extra permissions by itself; review the Security Audits panel on this page and ensure verification commands you authorize match your threat model.
SKILL.md
READMESKILL.md - Verification Before Completion
# 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 EVIDENCE ``` If 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: 1. IDENTIFY: What command proves this claim? 2. RUN: Execute the FULL command (fresh, complete) 3. READ: Full output, check exit code, count failures 4. VERIFY: Does output 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 verifying ``` ## Common Failures | Claim | Requires | Not Sufficient | |-------|----------|----------------| | Tests pass | Test command output: 0 failures | Previous run, "should pass" | | Linter clean | Linter output: 0 errors | Partial check, extrapolation | | Build succeeds | Build command: exit 0 | Linter passing, logs look good | | Bug fixed | Test 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 - STOP - Using "should", "probably", "seems to" - Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.) - About to commit/push/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 report ``` ## Why This Matters From 24 failure memories: - your human partner said "I don't believe you" - trust broken - Undefined functions shipped - would crash - Missing requirements shipped - incomplete features - Time wasted on false completion → redirect → rework - Violates: "Honesty is a core value. If you lie, you'll be replaced." ## When to Use **ALWAYS before:** - ANY variation of success/completion claims - ANY expression of satisfaction - ANY positive statement about work state - Committing, PR creation, task completion - Moving to next task - Delegating to agents **Rule applies to:** - Exact phrases - Paraphrases and synonyms - Implications of success - ANY c