Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Agent Skill

Verification before completion

obra's Superpowers skill that stops the agent claiming work is done, fixed or passing until it has run the checks and read the output. Evidence first.

name: verification-before-completionBy Jesse Vincent (obra)Checked
View source on GitHub
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

Install

Commands are pinned to commit 22f0b46, the version we read, wherever the install method supports it.

npx skills

Terminal
npx skills add obra/superpowers@22f0b463e7a5e579904dd6211a520321035526f7 --skill verification-before-completion -a claude-code

Copies the skill into .claude/skills/ in this project, pinned to the reviewed commit.

Plugin marketplace

Claude Code prompt
/plugin install superpowers@claude-plugins-official

Run inside Claude Code. Installs the whole superpowers plugin from its default branch, not the pinned commit; the official marketplace is available by default.

What it does

A short skill aimed at one failure: an agent saying “all tests pass” without having run them. It defines a gate (identify the command that proves the claim, run it, read the full output, then state the result), lists red-flag phrases such as “should work” and “looks correct”, and covers the excuses agents use to skip the step.

When to use it

Always, in any agent that writes code. It costs little to keep installed and catches the most common way agent work goes wrong: a confident report of success that nobody checked. It is especially useful in long sessions and in unattended runs where you only read the final message.

The red-flag phrases are a useful list for humans too. If an agent’s summary says “should work” or “looks correct”, ask what it ran.

When to skip it

Pure conversation or writing tasks, where there is no command that proves a claim. Otherwise there is little reason to leave it out.

Try it

Fix the failing date parsing test. Before you tell me it's done, run
the full test suite and paste the summary line.

What it can touch

Bundles scripts
No
Pre-approved tools
None declared
Needs
Nothing beyond the agent
Client-specific fields
None, spec fields only
Files
At commit 22f0b46 the SKILL.md is 121 lines long and it is the only file in the folder.

Its instructions steer what your agent does, and it may have changed since the commit we read. How to check a skill.

Instructions only, about 120 lines. Cheap to keep installed.

Alternatives

Test-driven development and systematic debugging from the same set. Finishing a development branch runs the tests once more before merging or opening a PR.

SKILL.md

The file exactly as published at the reviewed commit, reproduced under its MIT licence.

skills/verification-before-completion/SKILL.md
---
name: verification-before-completion
description: 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

## 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

| 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
```

## 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
  • Test-driven development

    Enforces red-green-refactor: write a failing test, watch it fail, write the least code to pass, then clean up. Part of obra's Superpowers set.

    Jesse Vincent (obra)Checked at 22f0b46

  • Systematic debugging

    obra's root-cause-first debugging process from Superpowers: investigate, compare against working code, test one hypothesis at a time, and only then fix.

    Jesse Vincent (obra)Bundles scriptsChecked at 22f0b46

  • Brainstorming

    Makes the agent hold a design conversation before building anything: what is known, what to ask, a play-back of the idea and a short written design.

    Jesse Vincent (obra)Bundles scriptsChecked at 22f0b46