agentleFS
ajittaajitta/know-your-unknowns/skills/notes/SKILL.md

notes

Skill2 starsChanged 3 months agoMITView on GitHub

Implementation notes — log significant deviations from the plan while working. Use automatically when implementation hits an unknown the plan did not cover, and on "implementation notes", "record a deviation", "where did we diverge from the plan?".

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

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

    When work hits a situation not in plan/spec (unknown), do not decide arbitrarily and pass silently — log it.

    line 12
  2. Distinctive:

    No argument: log the most recent unplanned decision of this session, or state that there is none.

    line 27
  3. Distinctive:

    Not just log — stop work and ask user when:

    line 68

“Common” is measured: kept by at least 6 in 10 of the 6 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.

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

Notes — Plan Deviation Log (Implementation Notes)

When work hits a situation not in plan/spec (unknown), do not decide arbitrarily and pass silently — log it. Core device stopping agent from silently drifting off-plan.

File Rules

  • Location: IMPLEMENTATION_NOTES.md at project root (create if missing). No project root but file writes work (Desktop/web chat, Cowork without a folder) → keep the same file in the session workspace and hand it to the user at every wrap-up. Nothing writable (mobile) → keep the log in the conversation, restated in full each time it grows. Either way the entry format and the escalation rule are unchanged. Details: ${CLAUDE_PLUGIN_ROOT}/skills/loop/references/surfaces.md
  • Persistence: once the file exists or init has been run, appending to the file is mandatory — a chat-only summary does not satisfy the rule (the reminder hook, buy-in and quiz all read the file). With no file, a chat summary is allowed, but the final message must then say there is no notes file, and where it lives instead.
  • Reminder hook: the line [unknowns] hooks active in context means the hook is counting edits and one reminder is still to come. Without that line — plugin hooks not running on this surface, a project that has not opted in, the reminder turned off — or once that reminder has arrived, nothing more will: re-read the logging criteria yourself at every natural break (before a commit, before handing work back, after roughly ten file edits). Decide by the line, never by which app you think you are in.
  • Argument init: create the file — heading # Implementation Notes — plan deviation log, then a commented-out copy of Entry Format as the template. Then offer (never write silently) to append a 3–5 line deviation-log rule — log criteria, escalation, file path — to the project's CLAUDE.md or .claude/rules/unknowns.md, so the rule is in context for every later session, not only when this skill is invoked.
  • Argument show: summarize current notes.
  • Any other text: append an entry using that text as Situation found, filling remaining fields from context; ask only about what context cannot supply.
  • No argument: log the most recent unplanned decision of this session, or state that there is none.

Entry Format

Deviation entry — two blocks that do not carry equal weight. Fill Observed from the artifacts first, and never revise it to fit Attributed:

## [YYYY-MM-DD] <task/feature name>

**Observed** — the record, auditable against the diff
- **Situation found**: what unplanned thing was hit
- **Deviation from plan**: what the plan said (quote it, or "not covered")
- **Response chosen**: what the code now does

**Attributed** — hypothesis, not evidence
- **Reason for choice**: why that approach
- **Alternatives considered**: discarded options and why discarded
- **Risk/follow-up check**: if this decision is wrong, where it shows up

Why the split. A stated reason is a hypothesis — models and people both produce fluent rationales that omit what actually drove the choice. Observed earns trust only by being checkable against the diff; Attributed is a claim to test later. On conflict, the diff wins.

Two lighter kinds, same file, one line each:

  • Discovery — code or environment differs from what the plan assumed, no decision needed yet: what was assumed / what is true.
  • Todo for human — a judgment call that belongs to the user but blocks neither merge nor QA, and falls outside every stop-and-ask case below (it changes no architecture, no user-visible behavior, no data or security). Log it and keep working. If it touches any of those, it is not a Todo — escalate. When unsure which, escalate: a question costs one round trip, a silent contract change costs a revert.

Logging Criteria

  • Log: decisions affecting design/behavior/compatibility, points where spec interpretation diverges, existing code structure differing from expectation, workarounds, new dependencies.
  • Don't log: trivial syntax fixes, formatting, variable names, self-evident implementation details.

Escalation

A deviation that invalidates a decision item of the approved plan (schema, public interface, UX contract) is not closed by the log entry: revise that item in the plan document itself, mark it revised — needs re-approval, and get the user's approval before building on it. Deviations from mechanical items need only the log entry.

Not just log — stop work and ask user when:

  • Decision changes architecture
  • Decision changes user-visible behavior (UX/API contract)
  • Decision touches data loss/security

Wrap-up

Before ending session or creating PR: summarize accumulated entries, then write the fold back into the plan block — 3 copyable bullets on what this changes about attempt #2, so the next run does not rediscover today's surprises — and list any open Todo for human items beside it. Suggest continuing with the quiz skill. If work needs approval, reflect this note's unresolved items into the buy-in skill doc as "known limitations".

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.