pre-done-self-review
Skill5 starsChanged 6 days agoMITView on GitHub
Use before claiming Done, signing off, or handing off: reconcile every item. On demand only.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- api-integration-testingSkill
- architectSkill
- chaos-engineSkill
- ci-cdSkill
- colibriSkill
- docs-hygieneSkill
- freetokenSkill
- git-cleanupSkill
- job-applicationsSkill
- job-applySkill
- job-searchSkill
- kanbanSkill
- learn-from-external-harnessesSkill
- local-agencySkill
- local-coding-delegateSkill
- local-openai-compatSkill
- local-runtimesSkill
- mobile-testingSkill
- omnirouteSkill
- security-auditSkill
- self-improveSkill
- technical-presentationsSkill
- test-engineeringSkill
- test-env-setupSkill
- web-e2e-automationSkill
- work-itemSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Gaps cite a rule and an alternative: Every Blocked or Skipped row carries rule: <rule that permits it> and alt: <mock, fixture, stub, fake, …
- Very specific: line 32
Adversarial pass: Write a ## What's missing section that answers the user's next question, "are we missing any?": items not tracked, rules …
- Very specific: line 36
Machine check: Run the gate (pre_done_review.py), fix every finding, then re-run it:
- Very specific: line 64
When the delivery has a work item, run intent_converge.py before Done.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pre-done self-review
Green tests are not Done. Before you say "Done", sign off as owner or
reviewer, or write a handoff note, run this review on the status report (PR
body, handoff note, or status doc). Run
python3 .chaos-engine/tool.py retrieve --store graphify "<task> standing rules" and
python3 .chaos-engine/tool.py retrieve --store mempalace "<task> standing rules" first.
Steps
- Rules reconcile. List every standing rule that applies: user memory, project and harness skills, the overlay, and the item's Definition of Done. Check every tracked item against each rule, not only against tests.
- Gaps cite a rule and an alternative. Every
BlockedorSkippedrow carriesrule: <rule that permits it>andalt: <mock, fixture, stub, fake, simulator, or recording tried>. If a rule says a gap needs a substitute (for example blocked-on-data needs mock coverage), build the substitute; it is not a gap you can report. - Derived views match the source. Diagrams (mermaid), summaries, and counts are views of the status table. Regenerate them, or edit them in the same change as the table.
- Adversarial pass. Write a
## What's missingsection that answers the user's next question, "are we missing any?": items not tracked, rules not checked, and evidence not opened this turn. - Subtract before add. Name what was deleted or reused before any new file, skill, or abstraction. If nothing was subtracted or reused, say why the addition is the smallest correct change.
Machine check. Run the gate (
pre_done_review.py), fix every finding, then re-run it:python3 .chaos-engine/tool.py pre-done report.md # 0 pass, 1 findings, 2 usage python3 .chaos-engine/tool.py pre-done report.md --json
What the gate enforces
- A status table exists (first markdown table with a
Statuscolumn; the ID is in the first column). - Mermaid drift: a node
ID[status]orclass ID statusthat disagrees with the row's status fails. - Blocked/Skipped rows without
rule:or withoutalt:naming a substitute fail. alt:must point at an existing covering test file (pathorpath::name); "no", "not yet", "candidate", "TODO" or "pending" before the first path fail.- Non-data blocks (human-only step, platform-only, feature disabled) may write
alt: none-possible (<reason>) verified: <how>; data-blocked rows (test data, fixture, mock, seed, account) still need an existing covering test. - A "nothing"/"none" item under
## What's missingfails without averified: <how>note. - Declared counts in prose (
Blocked: 3) that differ from the table fail. - A missing or empty
## What's missingsection fails.
The gate cannot judge step 1 or the quality of step 4. Those stay manual and belong in the reviewer's PDCA Check.
Intent inventory
When the delivery has a work item, run intent_converge.py before Done. A checked task is not evidence. A clean inventory reports Converged and does not add an empty convergence section. Unrequested files are listed and left in place.
python3 .chaos-engine/runtime/intent_converge.py converge work-item.md tree-dirDoes 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.

