Verification Before Completion skill for Claude

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

Verification Before Completion SKILL.md

The full skill file from obra/superpowers (MIT).

Verification Before Completion

Overview

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

ClaimRequiresNot Sufficient
Tests passTest command output: 0 failuresPrevious run, "should pass"
Linter cleanLinter output: 0 errorsPartial check, extrapolation
Build succeedsBuild command: exit 0Linter passing, logs look good
Bug fixedTest original symptom: passesCode changed, assumed fixed
Regression test worksRed-green cycle verifiedTest passes once
Agent completedVCS diff shows changesAgent reports "success"
Requirements metLine-by-line checklistTests 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

ExcuseReality
"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

When To Apply

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 communication suggesting completion/correctness

How to install Verification Before Completion

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit obra/superpowers/skills/verification-before-completion#main ~/.claude/skills/verification-before-completion

Codex

npx degit obra/superpowers/skills/verification-before-completion#main ~/.codex/skills/verification-before-completion

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Verification Before Completion skill do?

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

+How do I install Verification Before Completion in Claude Code?

Copy the skill folder into ~/.claude/skills/verification-before-completion, for example with "npx degit obra/superpowers/skills/verification-before-completion#main ~/.claude/skills/verification-before-completion". Claude Code loads it automatically and uses it when a task matches.

+Does Verification Before Completion work with ChatGPT or Codex?

Yes. Verification Before Completion uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/verification-before-completion. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Verification Before Completion free?

Verification Before Completion is published on GitHub by obra under the MIT license, which allows free use.

Related testing & code review skills

  1. Agent Browser

    Official

    Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms,…

    vercel-labs/agent-browser★ 53k
  2. Playwright

    Official

    Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction,…

    openai/skills★ 29k
  3. Playwright Skill

    Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive…

    lackeyjb/playwright-skill★ 3.3k
  4. Cavecrew

    When to delegate to `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit) or `cavecrew-reviewer` (diff review) instead…

    JuliusBrussee/caveman★ 121k
  5. Caveman Review

    Compressed code review - one line per finding with location, problem and fix.

    JuliusBrussee/caveman★ 121k
  6. Surgical Patch

    Fix bugs and small behavior changes at the narrowest responsible layer.

    JuliusBrussee/caveman★ 121k
  7. Browser Testing With Devtools

    Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser.

    addyosmani/agent-skills★ 119k
  8. Constraint Driven Development

    Establishes a project's quality bar as a written contract and stops agents quietly lowering it.

    addyosmani/agent-skills★ 119k
  9. Idea Refine

    Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking.

    addyosmani/agent-skills★ 119k

See all testing & code review skills →

More skills from obra

  1. Writing Plans

    Use when you have a spec or requirements for a multi-step task, before touching code

    obra/superpowers★ 319k
  2. Writing Skills

    Use when creating new skills, editing existing skills, or verifying skills work before deployment

    obra/superpowers★ 319k
  3. Brainstorming

    You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning…

    obra/superpowers★ 319k

All skills by obra →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.