Skill files ·
Evidence before done
Makes an agent run a short verification pass before it says 'done': run it, read its own diff as an attacker, check sibling callers, recount the numbers.
DOWNLOADWhat it helps you do
- Replaces 'should work' with an observed result
- Requires every number in a report to come from a command
- Reports a failing test with its output, without softening it
Installation
Save the file as .claude/skills/<name>/SKILL.md in your project (or ~/.claude/skills/<name>/SKILL.md for personal use). Claude Code loads it when the trigger in the description matches; for Codex and similar tools, paste the body into AGENTS.md.
File preview
---
name: evidence-before-done
description: Use before reporting any task as finished. Forces a short verification pass so "done" means observed, not assumed. Trigger on phrases like "done", "fixed", "shipped", "should work now".
---
# Evidence before done
A change that looks right is not a change that works. Before you say a task is finished, run this pass and put the evidence in your report.
## 1. Run it, don't read it
- Execute the thing you changed: run the test, call the endpoint, open the page, run the command.
- Behavior you have not observed is unknown behavior. Say "not verified" instead of "should work".
- A passing exit code is not proof. Look at the output the user would look at.
## 2. Read your own diff as an attacker
- Ask: "Which input breaks this?" Produce one concrete case and try it.
- Empty input, missing file, second run, wrong order, slow network, non-ASCII text.
- If you cannot name a failing case, you have not looked long enough.
## 3. Check the siblings
- Search for every caller of the function, every reader of the file, every consumer of the field you changed.
- The path named in the ticket is rarely the only path.
- When you fix a bug, look for its twin: the same logic copied somewhere else.
## 4. Recount
- Any number in your report ("9 files updated", "all 42 tests pass") comes from a command you ran just now, not from memory.
- If you cannot produce the number with a command, do not state it.
## 5. Report failures as they are
- A failing test goes into the report with its output.
- "Probably an environment issue" is a hypothesis. Label it as one, or go check.
- If you skipped a step, say which step and why.
## Report format
1. What changed (one sentence).
2. What you ran and what you saw (commands and results).
3. What you did not verify, and what would change if that assumption is wrong.
## When to skip
Never for anything that touches production, money, user data or published content. For a typo fix, step 1 is enough.
---
From The Kai · thekai.co/library · Free to use and adapt.