impl-notes
Skill0 starsChanged 5 months agoMITView on GitHub
Keep a running implementation-notes.md during implementation, logging decisions and plan deviations so they can be reviewed and learned from. Use when starting implementation from a plan or spec, or when the user says "keep implementation notes" or "log deviations".
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Create implementation-notes.md at the repo root from templates/implementation-notes-template.md.
- Distinctive: line 18
Ask once whether to commit it or gitignore it.
- Distinctive: line 19
If a plan exists, copy its Improvisation room entries into the notes as pre-declared latitude — deviations get judged against these.
- Distinctive: line 36
Keep going: Do not stall to ask about every pothole — the log is what makes autonomous progress safe to review afterward.
- Distinctive: line 46
Keep entries terse. The discipline is *when* (immediately) and *where* (the right section), not length.
- Distinctive: line 64
Start — always: if the file exists, read it silently.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Implementation Notes
No-input gate: if invoked with no arguments and the conversation doesn't already identify the task being implemented (or the plan file driving it), your entire response is one question asking for it. Do not write files, produce artifacts, or demonstrate on an invented example until it's named.
No matter how much planning happened, unknown unknowns lurk in the territory. During implementation you'll hit edge cases the plan didn't anticipate and be forced to take a different tack. Don't let those decisions evaporate into the diff — log them so the user can review them and learn from them on the next attempt.
This skill changes how you behave for the rest of the implementation session, not just at invocation time.
Setup (once, at the start)
- Create
implementation-notes.mdat the repo root from templates/implementation-notes-template.md. Header: the task, the plan/spec artifact it came from (link the.unknowns/plan-*.mdfile if one exists), and the date. Use.htmlinstead if the user prefers. - Ask once whether to commit it or gitignore it; remember the answer.
- If a plan exists, copy its Improvisation room entries into the notes as pre-declared latitude — deviations get judged against these.
The deviation rule (apply at every unplanned fork)
Whenever the territory forces a choice the plan didn't cover:
- Pick the conservative option — easiest to reverse, closest to the plan's intent, smallest blast radius. Concretely: prefer the option that doesn't change a schema, doesn't widen a public interface, and doesn't touch files outside the plan's scope.
Log it under
## Deviationsimmediately — at the moment of the decision, not reconstructed at the end. Entry shape (2–5 lines):### DEV-3: {title} - Expected (plan §): {what the plan assumed} - Found: {reality, with file:line} - Chose: {option} — conservative because {reversibility argument} - Alternatives: {option} (rejected: {why})- Keep going. Do not stall to ask about every pothole — the log is what makes autonomous progress safe to review afterward.
Escalation exception: if a deviation would invalidate a Tier-1 decision from the plan (data model, public interface, user-facing behavior) or contradict an entry in .unknowns/decisions.md, STOP and ask instead of improvising. Log the question under ## Escalations with your recommendation so the context isn't lost while waiting.
Also log, as they happen
## Decisions— choices made within the plan's improvisation room (the plan allowed latitude; record what you did with it).## Surprises— codebase facts that contradicted assumptions even when no deviation was needed ("the cache layer already dedupes; plan step 3.2 was unnecessary"). These are next session's unknowns, pre-discovered.## Follow-ups— debt knowingly incurred, tests deferred, TODOs withfile:line.
Keep entries terse. The discipline is when (immediately) and where (the right section), not length.
Wrap-up (end of session)
- Present the Deviations section to the user first — it's the exact list of places reality disagreed with the plan, which is what they must review most carefully. Then Escalations still open, then Follow-ups.
Make ruling on each deviation a paste, not an essay — give every DEV a pair of verdict lines the user can paste back:
("approve all" is also a valid reply.) A deviation's ledger entry closes on its verdict, not on being read.DEV-3 approve DEV-3 revert — {what to do instead} - Offer the next steps:
/quizto verify their understanding of the change;/pitchif they need buy-in. - Meta-signal: if the same kind of deviation appears 2+ times (e.g. repeated schema surprises), say so — it means the planning process has a systematic blind spot, and the next
/impl-planshould inspect that area up front.
Unknowns ledger (silent, but always updated)
.unknowns/ledger.md is the quiet cross-session index of open unknowns; .unknowns/state.jsonl is the machine recovery trail. Use ../../docs/unknowns-state-contract.md for fields, resume_cursor, closure_evidence, and close gates. The file work is mandatory; talking about it is not.
- Start — always: if the file exists, read it silently. Don't re-ask what's already settled; do target what's open.
- End — always: if this pass opened or settled ANY unknown, write the delta to the file before finishing (create the file on its first real entry). This write is non-negotiable — skipping it is how continuity between sessions dies. If nothing opened or settled, leave the file alone.
- Chat side — quiet: keep ledger details out of chat, never ask the user to read or maintain it, never block on it. At most one plain sentence of movement ("Settled: dense tables. Still open: conflict policy — defaulting to last-write-wins."), skipped when nothing moved. Mention a
U#only when it disambiguates. - What counts as settled: this skill mostly OPENS items (every Deviation and Surprise is an unknown discovered late); they settle on the user's DEV verdicts, in
/quiz, or in/diagnose. Settled means the user said or confirmed it — writing it into a report does not count.
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.

