agentleFS
AbdurRafay2004AbdurRafay2004/handoff/skills/verify-done/SKILL.md

verify-done

Skill4 starsChanged 24 days agoMITView on GitHub

Use when about to claim work is complete, fixed, or passing — before committing, opening a PR, or telling the user it works. Requires running verification commands and confirming output first; evidence before assertions, always.

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you haven't run the verification command in this message, you cannot claim it passes.

    line 14
  2. Distinctive:

    Every completion claim ships with evidence the user can judge directly:

    line 93
  3. Distinctive:

    Before ANY success/completion claim or expression of satisfaction.

    line 142
  4. Distinctive:

    Run the command. Read the output.

    line 147

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Verify Done

Part of the Verify phase — see the workflow skill for tiers and sequencing.

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

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.

Why this matters more here

The user reviews outcomes, not code. Evidence — command output, test summaries, screenshots, preview URLs — is the only thing they can judge. An unverified "done" that turns out broken doesn't just cost rework; it breaks the trust the whole PM ↔ engineer division of labor depends on. One false "it works" costs more than ten honest "it's not working yet"s.

The gate function

BEFORE claiming any status or expressing satisfaction:

1. IDENTIFY: what command proves this claim?
2. RUN: the FULL command (fresh, complete)
3. READ: full output, exit code, failure count
4. VERIFY: does the output confirm the claim?
   - NO  → state the actual status, with the evidence
   - YES → state the claim WITH the evidence
5. ONLY THEN: make the claim

Skip any step = lying, not verifying.

What each claim requires

ClaimRequiresNot sufficient
Tests passTest command output: 0 failuresPrevious run, "should pass"
Typecheck cleantsc --noEmit: exit 0Editor showed no squiggles
Linter cleanLinter output: 0 errorsPartial check
Build succeedsBuild command: exit 0Linter passing, logs look fine
Bug fixedOriginal symptom re-tested: passesCode changed, assumed fixed
Regression test worksRed-green verified (fails without fix, passes with)Test passes once
Subagent completedDiff inspected, changes verifiedAgent reports "success"
Requirement matchDiff vs brief, line by lineTests passing

The Spec check

"It works" and "it's what was asked" are different claims. Verify both, on separate axes:

  • Spec axis — does the diff match what was asked? The spec source is the brief output (or the plan file from plan). Walk the diff against it line by line and report: (a) requirements missing or partial, (b) behavior nobody asked for (scope creep), (c) requirements that look implemented but wrong.
  • Standards axis — does the code follow this repo's conventions (AGENTS.md/CLAUDE.md, folder CONTEXT.md, documented standards)?

Report the axes separately and never rerank across them: passing tests cannot excuse a missed requirement, and a faithful diff cannot excuse a convention break. A change can pass one axis and fail the other — merging the reports lets one axis mask the other. If there is no brief or plan, say "no spec available" in the report; don't invent one.

At T3, the two axes MAY run as parallel subagents (see delegate) so neither pollutes the other's context; aggregate their findings without merging.

QA tiers (anything with a browser surface)

QA depth scales with the tier (see workflow). Evidence = the checks run and their results, not "the page looked fine".

TierDepthCheck
T1MinimalTypecheck + lint + affected test; browser QA only if the change is user-visible (see browser-qa — it skips T1 by default)
T2Standard, ~10 minSmoke + meta description and og/twitter tags; sane heading hierarchy; lang attribute and favicon; target="_blank" links have noopener; responsive at 375/768/1440px; primary user flow exercised end to end
T3Full, 30+ minStandard + every form submits and validates; cross-browser (at least Chrome + Safari); internal and external links resolve; security headers (HSTS, X-Frame-Options, X-Content-Type-Options); HTTPS only, no mixed content; 404s return HTTP 404; analytics events fire; cache headers sane

A failed check is fixed before "done" or reported as a known issue — never silently shipped. For the recurring production failure modes (caching, env vars, images, third-party integrations), check references/web-bug-patterns.md.

Evidence for a non-coding reviewer

Every completion claim ships with evidence the user can judge directly:

  • The exact commands run and their trimmed output (pass/fail counts, exit code).
  • For UI changes: a screenshot or a preview URL they can click through.
  • For behavior changes: what to do to see it working ("submit the form empty — you'll now see the error message").
  • For T3 work: the checklist of spec requirements, each marked verified.

"The code looks correct" is not evidence. Show the thing working.

Red flags — STOP

  • "Should", "probably", "seems to"
  • Expressing satisfaction before verification ("Great!", "Done!", "Perfect!")
  • About to commit/push/PR without running verification
  • Trusting a subagent's success report without checking the diff
  • Partial verification presented as full
  • Tired and wanting the work to be over
  • ANY wording implying success without having run the check

Rationalization prevention

ExcuseReality
"Should work now"RUN the verification
"I'm confident"Confidence ≠ evidence
"Just this once"No exceptions
"Linter passed"Linter ≠ compiler ≠ tests
"Agent said success"Verify independently
"Partial check is enough"Partial proves nothing
"Different words, so the rule doesn't apply"Spirit over letter

Key patterns

✅ [run test command] [see: 34/34 pass] → "All tests pass."
❌ "Should pass now" / "Looks correct"

Regression test (red-green):
✅ Write → run (pass) → revert fix → run (MUST FAIL) → restore → run (pass)
❌ "I've written a regression test" (never seen red)

Requirements:
✅ Re-read brief/plan → diff vs each line → report gaps or completion
❌ "Tests pass, phase complete"

When to apply

Before ANY success/completion claim or expression of satisfaction; before committing, PR creation, or moving to the next task; before reporting a subagent's work as done. Applies to paraphrases and implications, not just the exact words.

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

Adapted from superpowers (MIT, © 2025 Jesse Vincent), mattpocock-skills (MIT, © 2026 Matt Pocock), and rampstack-skills (MIT, © 2026 RampStack Co.); see ATTRIBUTION.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.