Skip to main content
skill CX Codex

verification-before-completion · bobmatnyc — Claude Code skill: what it does

This skill stops the AI from claiming a task is done without fresh test runs and command output. It activates before commits, PRs, and task handoffs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a claude-code
Open on GitHub

What verification-before-completion does

The skill enforces a five-step gate on any completion claims. The assistant cannot announce that bugs are fixed or builds pass without executing the actual verification command and reading its exit code. Every claim requires fresh terminal evidence right in the current turn.

It flags suspicious phrases such as "should pass now" or "looks correct" as immediate stops. According to real-world data in the skill, 40% of unverified completion claims ended up needing rework. Recovery took 120 minutes or more, compared to two minutes spent running a check. Guesswork costs too much time.

The configuration consumes 800 tokens of context limit and runs automatically rather than via direct user invocation. Without a fresh verification command executed in the current session, the agent cannot claim success.

What it helps with

  • Stop premature agent claims that code or fixes work
  • Enforce full test execution before committing changes
  • Verify exit codes and failure counts before closing tasks
  • Block assumptions and guesswork during task handoffs

Example prompts for the agent

  • Fix the authentication issue and run the test suite before submitting a commit
  • Refactor the database queries and verify the test runner output before finishing
  • Update the dependencies and confirm all build steps pass with clean exit codes

How to install verification-before-completion

1Skills CLI (Vercel)

npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a claude-code

2Manually: put the files in place

~/.claude/skills/verification-before-completion/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/verification-before-completion/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about verification-before-completion

How do I install verification-before-completion in Claude Code?

Run npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a claude-code.

What does verification-before-completion do?

It stops the coding agent from reporting success until it executes the verification command and inspects the terminal output. The agent cannot rely on assumptions or past test runs.

What are the five steps in the verification gate?

The gate requires identifying the verification command, running it completely, reading the exit code and output, verifying whether the result matches the claim, and only then stating completion with evidence.

Source text

SKILL.md · MIT
---
name: verification-before-completion
description: Run verification commands and confirm output before claiming success
user-invocable: false
disable-model-invocation: true
version: 2.0.0
category: debugging
author: Jesse Vincent
license: MIT
source: https://github.com/obra/superpowers-skills/tree/main/skills/debugging/verification-before-completion
progressive_disclosure:
  entry_point:
    summary: "Evidence before claims: mandatory verification before ANY completion claim"
    when_to_use: "When about to claim work is complete, fixed, passing, or ready. ESPECIALLY before commits, PRs, or task completion."
    quick_start: "1. Identify verification command 2. Run FULL command 3. Read complete output 4. Verify results 5. THEN claim with evidence"
  references:
    - gate-function.md
    - verification-patterns.md
    - red-flags-and-failures.md
    - integration-and-workflows.md
context_limit: 800
tags:
  - verification
  - quality-assurance
  - honesty
  - evidence
requires_tools: []
---

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

This skill enforces mandatory verification before ANY completion claim, preventing false positives, broken builds, and trust violations.

## When to Use This Skill

Activate ALWAYS before claiming:
- Success, completion, or satisfaction ("Done!", "Fixed!", "Great!")
- Tests pass, linter clean, build succeeds
- Committing, pushing, creating PRs
- Marking tasks complete or delegating to agents

**Use this ESPECIALLY when:**
- Under time pressure or tired
- "Quick fix" seems obvious or confidence is high
- Agent reports success or tests "should" pass

## The Iron Law

```
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
```

Without running the verification command in this message, claiming success is not allowed.

## Core Principles

1. **Evidence Required**: Every claim needs supporting evidence
2. **Fresh Verification**: Must verify now, not rely on previous runs
3. **Complete Verification**: Full command, not partial checks
4. **Honest Reporting**: Report actual state, not hoped-for state

## Quick Start

The five-step gate function:

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.

## Key Patterns

**Correct Pattern:**
```
✅ [Run pytest] [Output: 34/34 passed] "All tests pass"
```

**Incorrect Patterns:**
```
❌ "Should pass now"
❌ "Looks correct"
❌ "Tests were passing"
❌ "I'm confident it works"
```

## Red Flags - STOP Immediately

STOP when:
- Using "should", "probably", "seems to"
- Expressing satisfaction before verification
- About to commit/push/PR without verification
- Trusting agent success reports
- Relying on partial verification

**ALL of these mean: STOP. Run verification first.**

## Why This Matters

**Statistics from real-world failures:**
- Verification cost: 2 minutes
- Recovery cost: 120+ minutes (60x more expensive)
- 40% of unverified "complete" claims required rework

**Core violation:** "Lying leads to replacement"

## Navigation

For detailed information:
- **[Gate Function](references/gate-function.md)**: Complete five-step verification process with decision trees
- **[Verification Patterns](references/verification-patterns.md)**: Correct verification patterns for tests, builds, deployments, and more
- **[Red Flags and Failures](references/red-flags-and-failures.md)**: Common failure modes, red flags, and real-world examples with time/cost data
- **[Integration and Workflows](references/integration-and-workflows.md)**: Integration with other skills, CI/CD patterns, and agent delegation workflows

## The Bottom Line

**No shortcuts for verification.**

Run the command. Read the output. THEN claim the result.

This is non-negotiable.

© Jesse Vincent · MIT · bobmatnyc/claude-mpm-skills

Similar skills

All skills for Testing and QA →

verification-before-completion by other authors comes first.

verification-before-completion Jesse Vincent This skill blocks completion claims until the agent runs a fresh check and reads the result. Use it before commits or PRs when an agent report is not enough. CX Codex 251,313installs verification-before-completion GanyuanRan This skill checks whether the evidence supports a completion claim, from a fix report to commit readiness. Use it when closing out code changes or handing work over. CX Codex +1 ★ 1,388repo stars verification-before-completion dshakes Stops the agent from calling a task done until it has run the check and watched it pass. Useful right before a commit, a PR or a bugfix report. CX Codex +1 ★ 21repo stars improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. 1,163,035installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. CX Codex +1 678,700installs tdd Matt Pocock Guides the red-green TDD loop: ensures tests are written first, keep them at public interfaces, and avoid coupling to implementation details. 1,141,062installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. 414,180installs agent-browser vercel-labs A CLI skill for browser control: it opens pages, fills forms, clicks buttons, and tests web apps. Use it when an agent needs to act inside a website. CX Codex +1 1,200,000installs prototype Matt Pocock Creates throwaway prototypes for checking state logic or exploring UI before committing the decision to the main codebase. 986,201installs

From the same set125

golang-database-patterns A skill that walks your coding agent through Go database setup: picking a library, writing queries, running migrations. CX Codex +1 403installs digitalocean-storage Equips coding agents with guidelines for DigitalOcean storage services: Spaces object storage, Volumes block storage, NFS file shares, snapshots, and backups. CX Codex +1 403installs openrouter A skill for wiring OpenRouter into your project: one OpenAI-compatible API to 200+ models, with streaming, routing and fallbacks. Useful when you juggle several LLMs. CX Codex +1 403installs digitalocean-managed-databases Provides database provisioning, scaling, and network security patterns for DigitalOcean. Useful when managing PostgreSQL, Redis, Kafka, or MySQL clusters. CX Codex +1 393installs test-driven-development A testing skill for AI agents that enforces the Red-Green-Refactor loop, Arrange-Act-Assert patterns, naming conventions, and test coverage targets. CX Codex +1 391installs better-auth-authentication A skill for TypeScript apps: sets up email and password sign-in, social providers and email verification with Better Auth. CX Codex +1 389installs kysely A skill that teaches your agent Kysely: types from schema to query result, migrations, transactions. Useful when an ORM gets in the way but untyped raw SQL is worse. CX Codex +1 389installs json-data-handling Guides AI agents through reliable JSON operations in Python and JavaScript, covering schema validation, custom serialization, and large file streaming. CX Codex +1 385installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor