finish-phase
Skill3 starsChanged 5 months agoMITView on GitHub
Graduate a completed exec-plan from active/ to completed/, synthesize an outcome section (results / pitfalls / remaining), and update the index. Daily harness hygiene — keeps the project's "where are we now" pointer accurate so new agent sessions don't waste context rebuilding state.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- oleg-vasilyev/FoolProoftheir own version, first seen Sep 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- oleg-vasilyev/FoolProof★ 0same name
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 repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bootstrap-harnessSkill
- promote-lessonSkill
- review-harnessSkill
- test-firstSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
If empty: tell the user there's nothing to finish.
- Distinctive: line 45
If one file: that's the candidate.
- Distinctive: line 47
If multiple: ask which one (AskUserQuestion).
- Distinctive: line 86
Keep each bullet to one line.
- Distinctive: line 92
After the user approves the outcome section:
- Distinctive: line 103
Remove the row from the Active table
- Very specific: line 104
Add a row to the Completed table with <plan-name> | <YYYY-MM-DD> | completed/<plan>.md
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
finish-phase
Close out an exec-plan cleanly. The single most-referenced harness ritual: it's what keeps the harness honest about what's done and what's still in flight.
When to use
- A milestone / sprint / W-phase / feature ships
- An exec-plan in
docs/exec-plans/active/is no longer being worked on - You feel the urge to delete the active plan file (don't — graduate it)
When NOT to use
- The work isn't actually done — finish the work first
- The repo has no harness yet — run
/bootstrap-harnessfirst - The plan was abandoned, not completed — just
mvit todocs/exec-plans/abandoned/(no synthesis needed)
Why this exists (the vibe-coding tie-in)
Industry surveys show teams spend 20-30% of sprint capacity fixing bugs that trace back to vibe-coded work where nobody wrote down what was actually done. The pattern is consistent: code ships, no closing note is written, three months later the next change breaks because the original constraints are forgotten.
GitHub's 2,500-repo AGENTS.md study found that the single most-queried piece of context an agent asks for is "what's the current state of this work?" — and the single most-rotted artifact is the planning doc that was never closed out.
Finish-phase forces 60 seconds of synthesis at the right moment.
Workflow — 5 steps
Step 1 — Discover active plans
ls docs/exec-plans/active/*.md 2>/dev/nullIf empty: tell the user there's nothing to finish; suggest running /review-harness instead.
If one file: that's the candidate.
If multiple: ask which one (AskUserQuestion).
Step 2 — Gather closing evidence
In parallel, run:
git log --oneline -30
git diff <plan-creation-commit>..HEAD --stat # if you can infer the start point
git status --shortAlso read the plan file itself. Note:
- What was the plan's goal (top of file)
- What's the recent code activity
- What did the user discuss in this conversation that touched the plan
Step 3 — Draft the outcome section
The outcome section appended to the plan file uses this exact shape:
---
## 结果 / Outcome
- <2-4 bullets: what shipped, with file paths or commits>
## 踩坑 / Pitfalls
- <0-3 bullets: what surprised us, with enough context to be useful 6 months later>
## 遗留 / Remaining
- <0-3 bullets: known shortcuts / debt — link each to `tech-debt-tracker.md` if added there>
**Completed**: <YYYY-MM-DD>Keep each bullet to one line. Link, don't restate.
Show the draft to the user before writing it — outcomes are the user's voice, not the agent's.
Step 4 — Graduate the file
After the user approves the outcome section:
# Append the section to the plan file
# Then move it
mv docs/exec-plans/active/<plan>.md docs/exec-plans/completed/<plan>.mdStep 5 — Update the index
Edit docs/exec-plans/README.md:
- Remove the row from the Active table
- Add a row to the Completed table with
<plan-name> | <YYYY-MM-DD> | completed/<plan>.md
Step 6 — Suggest follow-up
End the skill by saying one of:
- "Worth running
/review-harnessto check whether this phase introduced harness drift?" (if the phase touched architecture, dependencies, or core conventions) - "Anything from this phase that's been hit ≥2 times? Run
/promote-lesson." (ifdocs/lessons.mdgot new entries) - Nothing, if neither applies.
Anti-patterns
- ❌ Writing the outcome section without user review — outcomes are testimony, not invention. The agent drafts; the user approves.
- ❌ Deleting the active file instead of moving it — completed plans are searchable history. They're the harness's long-term memory.
- ❌ Inventing pitfalls to fill the section — if there were no real pitfalls, leave that block empty or write "none worth recording."
- ❌ Updating the index without graduating the file (or vice versa) — they must move in lockstep, or future sessions get a "ghost" row pointing to a missing file.
- ❌ Auto-triggering
/review-harness— suggest, don't run. The user decides when to spend the audit cycles. - ❌ Touching files outside
docs/exec-plans/— finish-phase is narrow. Architecture updates belong to/review-harness.
Sources
- GitHub 2,500-repo AGENTS.md study — the "where are we now" finding
- The Vibe Coding Hangover — dev.to — the 20-30% sprint-capacity drain on unrecorded vibe-coded work
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.

