finalize
Skill1 starsChanged 54 days agoMITView on GitHub
Use when the implementation of an approved spec is done and you are about to report the result. Runs the done step. Find defects, cut excess code, run fresh checks, write an honest report, archive the spec.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- grimoire-rs/grimoiretheir own version, first seen Oct 4, 2026
- zifeo/ladetheir own version, first seen Sep 25, 2026
- arusli1/askillstheir own version, first seen Sep 2, 2026
- redis/docstheir own version, first seen Aug 25, 2026
- gannonh/skillstheir own version, first seen Aug 24, 2026
- educlopez/ui-crafttheir own version, first seen Aug 17, 2026
Used with
Projects with it also use simplify and debug.
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.
Hugging FaceSkillsimplify
Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.
Also in 3 projects that use this
AnthropicSkilldebug
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
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
- educlopez/ui-craft★ 367same name
- zifeo/lade★ 133same name
- redis/docs★ 84same name
- griffinhilly/claude-code-synthesis★ 66same name
- skillberry-ai/cap-evolve★ 65same name
- alexiolan/craft-skills★ 17same name
- grimoire-rs/grimoire★ 14same name
- nicolasestrem/antigravity-gemini-skills★ 8same name
- 0xrohan10/skills★ 2same name
- gannonh/skills★ 2same 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 repository9 other files it gives its agents.
- architectureSkill
- buildSkill
- deep-reviewSkill
- diagnoseSkill
- distributed-architectureSkill
- rulesSkill
- security-checkSkill
- specSkill
- whichSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
7
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
- could be automatic: a setting could enforce it
- Distinctive: line 8
Do these five steps in order.
- Distinctive: line 12
Read your own diff.
- Distinctive: line 16
Run git status --short. Name every changed file that the blast radius did not list.
- Distinctive: line 23
Delete from this change's own diff:
- Distinctive: line 33
Run every acceptance check now, after the last change.
- Distinctive: line 46
Put no secrets in the report.
- Distinctive: line 50
Run this Bash command, with today's date and a short slug.
“Common” is measured: kept by at least 6 in 10 of the 14 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
Finalize
Do these five steps in order. Do not skip one.
1. Defects
Read your own diff.
- Spec compliance first: does each criterion and non-goal hold?
- Then quality, and the risk to every caller in the blast radius.
- Run
git status --short. Name every changed file that the blast radius did not list. Say why it changed, or revert it. - A weakened, skipped or deleted test, assertion or guard is a defect. Restore it, unless the spec asked for the change.
Fix what you find.
2. Cuts
Delete from this change's own diff:
- dead code
- flexibility nobody asked for
- hand-written code that the standard library already provides
A cut outside the diff is not an edit. Offer it as a suggestion for a new spec.
3. Verify, fresh
Run every acceptance check now, after the last change. Old results do not count. Also run the real scenario once, with at least one failure or recovery path, not only the happy path.
For each check, report pass or fail, the command, and what it printed. Say "checks pass". Never say "correct" or "works".
4. Report
Keep it short:
- Result: what changed, in a few lines.
- Evidence: the commands and results from step 3.
- Unrun checks: what you did not run, and why.
- Limits: what the change does not cover.
Put no secrets in the report. Do not commit, push, deploy or delete unless the user said so.
5. Archive and release
Run this Bash command, with today's date and a short slug. Moving the spec ends the approval.
mv specs/current.md specs/<date>-<slug>.md
ls -t specs/2*.md | tail -n +6 | xargs rm -fThe second line keeps the 5 newest archived specs. Git is the rollback, not the specs. The next change needs a new spec and a new approval.
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.

