Skip to content
Skillpedia
General coding8.6k Β· #12424

verification-before-completion

What it does

This skill makes the agent confirm results before it reports that a task is complete, fixed, or passing. It is for anyone who wants reliable results from an AI coding helper.

When to use it

  • βœ“When your agent says a bug is fixed and you want proof before you accept it.
  • βœ“When your agent is about to commit changes or open a pull request.
  • βœ“When tests or a build are said to pass and you want to be sure they really ran.

Skill link

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œBefore you tell me the bug is fixed, show me evidence that it actually works.”

5 new skills a week. 1 minute to read.

How it works

The agent gathers evidence that supports a result, such as a test run, and says whether it ran the check itself. Checks are scaled to the risk, so small changes do not get heavy ceremony.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Verification Before Completion

Overview

Claiming work is complete without verification is dishonesty, not efficiency.

Core principle: Evidence before claims.

This rule serves shipping β€” it is not a ritual that outranks it. It governs one thing: claims that a verifiable result holds ("tests pass", "build succeeds", "bug fixed") β€” have evidence for the result before you assert it, and scale the check to the stakes (a one-line copy tweak is not a test-suite ceremony). Don't dodge it with synonyms; equally, don't inflate it into a tax on the word "done" or a reason to keep re-proving instead of shipping the working thing.

The Rule

Before claiming a verifiable result, inspect evidence that supports that result for the candidate and environment you name. Use an existing result while its relevant inputs and assumptions still hold; rerun the affected check when they change or are uncertain. State whether you ran the check or inspected another owner's evidence. A source read, syntax check or partial test supports only its stated scope. Ordinary progress reports, delegation and moving to another task do not require a new test run. Required project checks still apply.

A completed run is not automatically current, and unchanged source does not establish unchanged live state.

For a claim about performance, also read references/performance-claims.md.

Common Failures

Claim Requires Not Sufficient
Tests pass Test output with 0 failures, for the candidate you name A run on an older candidate, "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
Delivered outcome Relevant artifact and observed result An agent's success message or a diff alone
Requirements met Promised outcomes checked against applicable evidence, gaps named Tests passing

Red Flags - STOP

  • Using "should", "probably", "seems to"
  • Claiming a specific result is proven ("tests pass", "it's fixed", "build's green") without evidence that applies to it β€” enthusiasm itself is fine; an unverified result claim is the flag
  • About to commit/push/PR without verification
  • Trusting agent success reports
  • Claiming more than a partial check covers
  • Thinking "just this once"
  • Tired and wanting work over

Key Patterns

Tests:

βœ… [Run test command, or read the named candidate's CI output] [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:

βœ… Check each promised outcome against applicable evidence β†’ Report gaps or completion
❌ "Tests pass, phase complete"

Agent delegation:

βœ… Agent reports success β†’ Inspect the artifact and the evidence it names β†’ Report what was checked and what wasn't
❌ Pass on the report alone

When the check itself lies β€” content over shape

A passing check is necessary but not sufficient: a check can exit clean and still prove nothing. These are the named ways a green check lies β€” the failure siblings behind "evidence before claims." (Deeper treatment of what you verify against: reference-first-verification.)

  • Assert on CONTENT, never shape or count. Output that looks like success β€” a non-zero count, a clean exit, no error text β€” can carry failure as its content. Before trusting a check, ask what its output looks like when it fails: if failure and success are indistinguishable at a glance, the check proves nothing. ([1 lines] and No matches found both read as "a match" to a line-count.)
  • Compare the returned value to the value you PASSED β€” never to a description of it. A confident label (evidenceRef NOW SET: printed above the untouched original) is indistinguishable from a verification in a transcript. Diff the actual result against your actual input, not against a claim about it.
  • Find the untested axis. Thorough coverage of ONE axis reads as thorough cove
FAQ

Does it run tests every time?

No. It asks for evidence that matches the stakes, so a tiny text change does not need a full test run.

What if a result was checked earlier?

An earlier result can still count if its inputs have not changed. Otherwise the check should be run again.

Does it cover performance claims?

Yes. A separate reference covers how to back up claims about speed or performance.

Details

Original description by the author

Use when about to claim work is complete, fixed, or passing, or before committing or creating PRs

repo: mvschwarz/openrig

Popularity

GitHub stars
8.6k
Ranking position
#12424
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills