agentleFS
GreatMarkGreatMark/fable-field-guide-skills/skills/implementation-notes/SKILL.md

implementation-notes

Skill9 starsChanged 5 months agoMITView on GitHub

Keep a running implementation-notes.md logging decisions, plan deviations, and surprises during implementation. Use PROACTIVELY the moment you start implementing an agreed plan, spec, or decision — the trigger is you beginning the work, not the user's wording: terse approvals ("开搞", "go ahead", "LGTM"), incremental starts ("先做第一步"), resuming across sessions, or starting from a reference-hunt taking list. If you notice mid-implementation it is missing, create it and backfill. Also use when the user says "keep implementation notes", "记录实现笔记". Not for post-hoc summaries of already-finished work.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Neeeophytee/finding-unknowns-skills★ 342same 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 repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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
  1. Distinctive:

    No plan survives contact with the codebase.

    line 18
  2. Very specific:

    If this is a git repo, exclude it locally (not .gitignore — that would show up in the diff):

    line 30
  3. Distinctive:

    If you notice only after a commit that an entry is missing — or that no notes file exists at all — log it or create it now and backfill.

    line 74
  4. Distinctive:

    If the change is a single commit's worth of work with no written plan to deviate from, skip the file — say so in one line and just do the …

    line 89
  5. Distinctive:

    Never silently deviate from the agreed plan.

    line 94
  6. Distinctive:

    Do not duplicate what git already records (diffs, file lists).

    line 97
  7. Distinctive:

    If another agent may share this checkout, treat the file as append-only: re-read it right before writing, and if it changed since you last …

    line 99
  8. Distinctive:

    When implementing in parallel worktrees (e.g.

    line 102

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Implementation Notes

No plan survives contact with the codebase. Log what changed and why, without stopping the work.

Workflow

  1. At the start of implementation, create implementation-notes.md in the project root. If the file already exists, do not overwrite it — when its latest section is this same task, keep appending there; otherwise append a new # Implementation Notes — <task name> (<YYYY-MM-DD>) section at the end, opening with the same AGENT comment as the template below. Do not commit the file unless the user asks (once committed, the exclude stops applying — keep later edits out of unrelated commits). If this is a git repo, exclude it locally (not .gitignore — that would show up in the diff): n=implementation-notes.md; p="$(git rev-parse --git-path info/exclude 2>/dev/null)" && { mkdir -p "$(dirname "$p")" && { grep -qxF "$n" "$p" || echo "$n" >> "$p"; }; } 2>/dev/null || echo "note: could not exclude $n — leaving it untracked, never staging it" (worktree-safe; if the write is blocked, leave the file untracked and never stage it). Structure:
# Implementation Notes — <task name> (<YYYY-MM-DD>)
<!-- AGENT (re-read this even after context compaction): running log for this
task. (1) Log every decision and deviation immediately, 1-3 lines each;
deviations as: plan said / found / did instead / why. (2) Re-read this file
before every commit and after each completed todo; log anything the plan
didn't say before moving on. (3) Never commit or stage this file. (4) Before
the session ends: re-read it, give the user a digest of THIS task's
Deviations and Open Questions, and remind them to feed this file into the
next planning round (or pitch-explainer / change-quiz). Full workflow: read
the implementation-notes skill. -->

## Context
Links to the plan/spec/prototype/taking list this run is based on (e.g.
implementation-plan.md, ./design-directions/). If the plan lives only in
chat, restate its one-line goal and key decisions here.

## Decisions
Choices made where the plan was silent. One line each: what + why.

## Deviations
Where reality forced a change from the plan.
Each entry: what the plan said / what was found / what was done instead / why.

## Surprises & Open Questions
Edge cases, dead code, wrong assumptions in the plan — anything the next
planning session should know.
  1. During implementation, when an edge case forces a choice the plan didn't anticipate: pick the conservative option (smallest blast radius, easiest to reverse), log it under Deviations, and keep going. Only stop to ask the user when the deviation would invalidate the plan's goal.
  2. Update the file as you go, not retroactively at the end. Entries are one to three lines; this is a log, not documentation. To keep the log alive across long sessions: re-read implementation-notes.md before every commit and after completing each todo item — if you did something the plan didn't say and it's not in the file, log it before moving on. If you notice only after a commit that an entry is missing — or that no notes file exists at all — log it or create it now and backfill; a late entry beats a lost one. If you keep a todo list, make "update implementation-notes.md and give the digest" the final item.
  3. At the end of the session, re-read the file and give the user a brief digest of this task's Deviations and Open Questions — the discovered unknowns the next planning round needs. If this task answered an older section's Open Question, mark it resolved in place. The digest is the immediate confirmation; the file is the cross-session handoff. Close by reminding the user to feed implementation-notes.md into the next planning round (or pitch-explainer / change-quiz if this work heads to review).

Rules

  • If the change is a single commit's worth of work with no written plan to deviate from, skip the file — say so in one line and just do the work. Deviations cannot exist without a plan.
  • An explicit user opt-out ("别整笔记", "no notes file") overrides PROACTIVELY: skip the file and keep deviations visible in chat instead.
  • Never silently deviate from the agreed plan; every deviation gets an entry.
  • Cosmetic differences (naming, equivalent APIs) are not deviations unless they change behavior or interfaces.
  • Do not duplicate what git already records (diffs, file lists); record the reasoning that a diff cannot show.
  • If another agent may share this checkout, treat the file as append-only: re-read it right before writing, and if it changed since you last read it, merge your entries after the new content instead of overwriting.
  • When implementing in parallel worktrees (e.g. best-of-n runners), keep one notes file per worktree; info/exclude is shared, so one exclude run covers all worktrees. git worktree remove silently deletes the excluded notes file — before removing any worktree, append its sections to the main checkout's implementation-notes.md (a runner that cannot write there must carry its digest in its final report). At integration time, run git worktree list, collect every remaining notes file into the main one as dated sections, then give one combined digest.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.