agentleFS
kentcdoddskentcdodds/kcd-skills/skills/visual-recap/SKILL.md

visual-recap

Skill64 starsChanged 24 days agoMITView on GitHub

When a change is non-trivial (a plan, a PR create or update, or a request for a visual recap), put one marker-delimited block in the PR description. GitHub renders it. It does not replace reading the diff. Recap mode reads the diff, not memory. Claims about what changed must be checkable against git diff <base>...HEAD (plus --stat). Session context may explain intent only. Run the classifier. Roll up to the highest of adds, then extends, then composes. You still choose…

8 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a change is non-trivial (a plan, a PR create or update, or a request for a visual recap), put one marker-delimited block in the PR …

    line 15
  2. Very specific:

    Run the classifier. Roll up to the highest of adds, then extends, then composes.

    line 25
  3. Very specific:

    Update primitives.yaml when this PR adds, removes, or materially reshapes a primitive (new id, renamed meaning, or ownership roots that …

    line 35
  4. Very specific:

    Keep each entry's adrs in sync: list the current decision records that shape the primitive (adrs: [] if none), and when this PR adds or …

    line 40
  5. Distinctive:

    Do not cat the session cookie into curl or Python.

    line 77

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

System recap

When a change is non-trivial (a plan, a PR create or update, or a request for a visual recap), put one marker-delimited block in the PR description. GitHub renders it. It does not replace reading the diff.

When

Recap mode reads the diff, not memory. Claims about what changed must be checkable against git diff <base>...HEAD (plus --stat). Session context may explain intent only.

Run the classifier. Roll up to the highest of adds, then extends, then composes. You still choose composes vs extends from the diff. adds is a new map entry.

RollupRiskAlso
composeslowWiring and call sites only.
extendsmediumVerify locally with the project's control CLI as the seeded user; a PR preview only when local cannot
addshighUpdate primitives.yaml, run check-primitives-map.mjs, and the same local verify (preview when needed)

Update primitives.yaml when this PR adds, removes, or materially reshapes a primitive (new id, renamed meaning, or ownership roots that must change). Do not edit summary for ordinary feature work. Call out a touched invariant from that map at every risk.

Keep each entry's adrs in sync: list the current decision records that shape the primitive (adrs: [] if none), and when this PR adds or supersedes a record, add it to (or swap it into) the matching entries. The classifier prints each touched primitive's adrs; read them before you change that primitive. The check script fails on missing or superseded paths.

Plan mode uses **Mode:** plan before a PR exists. Recap mode replaces that block from git diff <base>...HEAD. In plan mode, say explicitly when the plan requires no change to any primitive; that is the lowest-risk outcome.

The block shape is one example: references/block-format.md.

Command

node .agents/skills/visual-recap/scripts/classify-primitives.mjs --base <base> --head HEAD --json
node .agents/skills/visual-recap/scripts/upsert-recap-block.mjs <pr-number> <block-file>
node .agents/skills/visual-recap/scripts/check-primitives-map.mjs

The upsert script checks mermaid, then replaces the marker block or appends it. It does not edit text outside the markers. Re-run both commands after a significant push.

Failure

  • The mermaid check exits non-zero. Fix the diagram. Keep ; out of sequence notes and messages.
  • The block file must start with <!-- system-recap:start --> and end with <!-- system-recap:end -->.
  • gh pr edit fails with Resource not accessible by integration (updatePullRequest). The script still prints the merged body. Apply that body with Cursor ManagePullRequest. Do not have Kody edit the PR.
  • A health check or login smoke is not medium or high verification. Prefer local control CLI proof; use a preview only when local cannot exercise the change. Do not cat the session cookie into curl or Python.

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.