Verification before completion

From Archive228/loopkit · View interactive version

Verification before completion is an AI agent skill from the GitHub repository Archive228/loopkit. Use before claiming work is complete, fixed, or passing — before committing, opening a PR, or handing off. Requires running the verification command in THIS turn and reading its output before any success claim.

How to use this skill

Skill file

Verification Before Completion

Claiming work done without fresh verification is dishonesty, not efficiency. adversarial-verify is the what; this skill is the when — the gate you pass through right before any completion claim.

The Iron Law

NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE

If you have not run the verification command in this message, you cannot claim it passes. Not "should", not "probably", not "based on the diff".

The gate function

Before writing "done" / "fixed" / "green" / "ready to merge" — even in your own head:

  1. Identify — what exact command proves this claim?
  2. Run — execute it fresh, complete, in this turn.
  3. Read — full output, check exit code, count failures.
  4. Verify — does the output actually confirm the claim?
  5. Only then — make the claim, with the evidence attached.

Skip any step = you are lying to the user, not verifying.

Common false claims → what they actually need

| Claim | Requires | Not sufficient |

|---|---|---|

| Tests pass | Fresh test run, exit 0, 0 failures | "should pass", previous run, "logic looks right" |

| Linter clean | Linter output, 0 errors | Partial check, extrapolating from unrelated files |

| Build succeeds | Build command, exit 0 | Linter passing, editor squiggles gone |

| Bug fixed | Reproduce original symptom, watch it not happen | Code changed, "assumed" fixed |

| Regression test works | Red → green cycle verified (revert fix, watch test fail, restore, watch pass) | Test passes once |

| Agent/subagent completed | Read the VCS diff, verify claimed changes exist | Agent's own "success" report |

| Spec satisfied | Line-by-line checklist against the plan | "Tests pass, phase complete" |

Red flags — you are about to claim without verifying

Rationalization prevention

| Excuse | Reality |

|---|---|

| "Should work now" | RUN it. |

| "I'm confident" | Confidence ≠ evidence. |

| "Linter passed" | Linter ≠ compiler ≠ tests. |

| "The agent said success" | Read the diff yourself. |

| "Partial check is enough" | Partial proves nothing about the whole. |

| "Different words, so rule doesn't apply" | Spirit over letter. |

Patterns

Tests

Regression tests (real red-green)

Build

Agent delegation

When this fires

Always, before:

Pair with

The bottom line

Run the command. Read the output. THEN claim the result. Non-negotiable.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.