proof-before-done: No “Done” Without Fresh Evidence
Open agent skill that blocks completion claims until the agent runs the matching check this turn and reports Status, Proof, Result, and Gaps.
The most common way agents waste time is not bad code. It is a confident “Fixed! All tests pass” when the tests were never run, the build is broken, or a subagent’s “success” changed nothing.
proof-before-done is an open agent skill that turns every completion claim into a check: name the claim, run the matching proof this turn, read the output, and report gaps instead of guessing.
Repo: github.com/RK905/proof-before-done
Claim → proof
| Claim | Proof that counts | Doesn’t count |
|---|---|---|
| Tests pass | Full suite, 0 failures, this turn | An earlier run, “should pass” |
| Build works | Build exits 0 | Lint alone |
| Bug fixed | Original repro now behaves | “I changed the code” |
| Subagent did it | You read the diff | Its success message |
| Deployed | Hit the URL, see new behavior | Deploy command finished |
The loop
about to say "done" / "fixed" / commit / PR
│
▼
1. Name the claim
2. Pick the proof from the table
3. Run it now, in full
4. Read exit code, failures, warnings
5. Report Status / Proof / Result / Gaps
Example report:
Status: partly done
Proof: pnpm test && pnpm build
Result: 211 passed, 0 failed; build exit 0
Gaps: payment webhook not exercised locally (needs Stripe CLI)
“Not verified” is a valid answer. It is cheaper than a false “done.”
Install
git clone https://github.com/RK905/proof-before-done /tmp/pbd
cp -r /tmp/pbd/skills/proof-before-done ~/.claude/skills/
Put your real check commands in CLAUDE.md (or the project equivalent) once so the agent picks the right proof every time.
Usage
/proof-before-done verify the checkout fix before I merge
It also triggers when the agent is about to report completion, commit, push, or open a PR. Pair with fail-first so regression tests are proven red before green, and with review-triage so “Fixed:” replies include a test run.
Credits and license
Based on verification-before-completion from obra/superpowers. MIT. See proof-before-done on GitHub.
Overview of all five: agent skills for reliable AI coding.
