verify-before-done
Skill1 starsChanged 36 days agoMITView on GitHub
Use when about to declare a task done — the Iron Law of task closure: no success claim without fresh evidence from the command that backs it. Applies to implementer, reviewer, publisher and any response that declares "done".
14 other projects use a version of this.
Adopted by
Most recently taken up by
- gala-ud/skillstheir own version, first seen Nov 29, 2026
- yuchi-chang/no-capetheir own version, first seen Nov 27, 2026
- nick-vas/hyperdottheir own version, first seen Nov 22, 2026
- joaoguirunas/team-ostheir own version, first seen Nov 17, 2026
- fvkmizel/soulkeepertheir own version, first seen Nov 8, 2026
- reddygopalkrishna/developer-agent-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use plan-first.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
cathyzhang0905Skillplan-first
Force agent to declare structured plan before tool execution. Activated by Cockpit's UserPromptSubmit hook for plan-worthy tasks.
Also in 3 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agent★ 39same name
- reddygopalkrishna/developer-agent-skills★ 8same name
- joaoguirunas/team-os★ 7same name
- alexderz/agentic-toolbox★ 5same name
- GusevV1987/ai-workspace-kit★ 2same name
- MPIsaac-Per/claude-code-loop-patterns★ 2same name
- rrrrrredy/beforedone★ 2same name
- yuchi-chang/no-cape★ 2same name
- KMaruthi2002/universal-llm-skills★ 1same name
- nick-vas/hyperdot★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- patient/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- patient/CLAUDE.mdCLAUDE.md
- author-skillSkill
- context-intakeSkill
- debug-failureSkill
- dominioSkill
- follow-up-prsSkill
- locate-codeSkill
- master-planSkill
- plan-advancedSkill
- plan-simpleSkill
- pytestSkill
- quality-attributesSkill
- resolve-ticketSkill
- review-diffSkill
- scoped-gateSkill
- secure-by-designSkill
- security-invariantsSkill
- solution-designSkill
- spec-bootstrapSkill
- author-skillSkill
- context-intakeSkill
- debug-failureSkill
- dominioSkill
- follow-up-prsSkill
- locate-codeSkill
- master-planSkill
- plan-advancedSkill
- plan-simpleSkill
- pytestSkill
- quality-attributesSkill
- resolve-ticketSkill
- review-diffSkill
- scoped-gateSkill
- secure-by-designSkill
- security-invariantsSkill
- solution-designSkill
- spec-bootstrapSkill
- verify-before-doneSkill
The file
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 13 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
- Distinctive: line 18
No run THIS TURN, no claim.
- Distinctive: line 22
BEFORE claiming "done / ready / approved": IDENTIFY the proving command → RUN it this turn → READ output, exit code, failures → VERIFY it …
- Distinctive: line 45
Only the same command, run over the comparable base and the change, demonstrates a state: runs disagree → introduced.
- Distinctive: line 47
Never git stash to measure it — it empties the shared tree.
“Common” is measured: kept by at least 6 in 10 of the 13 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.
Files
<!-- navori:managed id="verify-before-done-base" hash="5bb2ee1a" version="0.12.3" source="@navori/core" fmkeys="name,description,metadata" -->Verify Before Done
The Iron Law
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCENo run THIS TURN, no claim. "Should work" and "previous run was green" are inference.
Gate function
BEFORE claiming "done / ready / approved": IDENTIFY the proving command → RUN it this turn → READ output, exit code, failures → VERIFY it confirms the claim (NO → declare the real state; YES → claim it WITH evidence).
Table: claim → required output → not sufficient
| Claim | Required output | Not sufficient |
ruff check . / ruff check . && uv run pytest -m 'not docker' green | Full command run this turn, exit 0 | "ran it before" |
Gate answered PASS (cached <date> … sha256 <hash>) | Report it as cached, with date and log hash: a time shortcut, never review evidence | Claiming it as a fresh run |
| Zero new errors vs baseline | Classify per Failure attribution below, demonstrated over main | Diff location alone |
| UI validated in the browser (only if asked) | Observed state via the repo's browser tool | "looks fine in code" |
| Bug fixed | Reproduce the original symptom and see it NOT happen | "code changed, assumed fixed" |
| PR creatable | Pre-flight THIS TURN: not on the protected base branch, gh auth status, receipt "status":"ok" (prefer navori receipt check …; if the installed CLI lacks it, use the repository-built CLI); declared-inline change, your own run. No clean working tree required | "the branch has commits, we can create it" |
| Tests / type-check clean | Suite / tsc --noEmit run fresh, exit 0 | "should still be green" |
A shell edit landed (sed -i, a > redirect) | Re-read the changed span | The exit code (sed -i exits 0 on no match) |
| Suites, builds or coverage in the same checkout | One at a time: parallel runs fight over dist and shared artifacts. Worktrees with their own dist may run together | Parallel runs |
Active dist lock | Identify the owner, wait. Only a verified-dead owner's lock may be reclaimed | Deleting the lock, killing another session's process |
| Full gate red | Fix with focal tests; rerun the full gate once the fix set is stable. Mandatory before sign/ship | Rerunning after every edit |
| Gate outlives Bash timeout, main session | run the chained steps one by one in the foreground | Polling (pgrep, ps | grep) |
| Gate outlives Bash timeout, subagent | Its && steps one by one, foreground | Backgrounding — a subagent is never re-woken |
Failure attribution
A failure is introduced (demonstrated), pre-existing (demonstrated), or origin not determined. Location relative to git diff --name-only main only orients; it never proves origin.
Only the same command, run over the comparable base and the change, demonstrates a state: runs disagree → introduced; agree → pre-existing; no comparable run → origin not determined.
Never git stash to measure it — it empties the shared tree. Never exempts a red gate.
Red flags (STOP)
- About to write "done"/"ready"/"should work", or
git commit/APPROVED, without a freshruff check .run and a full diff read. - Trusting a subagent's report without verifying its load-bearing claims (cited
file:lines plus the diff it touched) — scope defined in.codex/orchestrator.md§ Anti-broken-telephone, never a full re-read of a validated diff.
Rationalization prevention
| Excuse | Reality |
| "Confident" / "passed 10 min ago" / "trivial" / "the subagent said done" | None exempts verification. Re-run. |
When invoked
implementer before done -> impl_<feature>.md; reviewer before APPROVED; publisher in pre-flight; any agent before "done".
Closing
State the claim, the fresh evidence, and any sub-claim you COULD NOT verify.
<!-- /navori:managed id="verify-before-done-base" -->Project-specific checks
<!-- user: add here claims specific to your repo and their required evidence. Suggestions:
- DB migrations: command to validate the state (e.g. your ORM's migration status).
- Critical areas: auth, permissions, payments, data integrity → specific checks per area.
- Repo scripts that count as "valid evidence" (e.g. `pnpm e2e:smoke`).
- Commands forbidden as evidence (e.g. "the Vercel preview" if it's not a real repro).
- Recurring bug patterns of the repo where inference has historically failed.
-->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

