visual-recap
Skill47 starsChanged 2 months agoMITView on GitHub
Produce a high-altitude, visual review aid directly in the PR description. No deployment, no third-party service: GitHub renders the block (including mermaid diagrams), and the PR itself is the storage. A future viewer app can ingest the same marker-delimited block via the GitHub API, so follow the format exactly. The recap is informational and non-blocking. It supplements the PR description and normal code review; it never replaces reading the diff. - Plan mode (before/while implementing): describe the intended change against…
4 other projects use a version of this.
Adopted by
Most recently taken up by
- chrislacey89/skillstheir own version, first seen Sep 18, 2026
- ericmasiello/skillsword for word, first seen Sep 10, 2026
- BuilderIO/skillstheir own version, first seen Jul 23, 2026
- scottyroges/visual-skillstheir own version, first seen Jul 21, 2026
Other versions4 projects use a version of this.
Word for word · 1
- ericmasiello/skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 3
- BuilderIO/skills★ 4.5ksame name
- scottyroges/visual-skills★ 8same name
- chrislacey89/skills★ 3same 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.
- ask-kentSkill
- orchestrateSkill
- prefer-local-kody-executeSkill
- review-and-recommendSkill
- ship-prSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
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 35
Classification is checked against the primitives map: Read docs/contributing/architecture/primitives.yaml before classifying.
- Very specific: line 38
The map stays current: If the PR adds, removes, or materially reshapes a primitive, update primitives.yaml in the same PR and say so in the …
- Distinctive: line 126
Keep the whole block scannable: prefer tables and diagrams over prose, and keep it well under ~120 lines.
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
System recap (visual plan / visual recap)
Produce a high-altitude, visual review aid directly in the PR description. No deployment, no third-party service: GitHub renders the block (including mermaid diagrams), and the PR itself is the storage. A future viewer app can ingest the same marker-delimited block via the GitHub API, so follow the format exactly.
The recap is informational and non-blocking. It supplements the PR description and normal code review; it never replaces reading the diff.
Two modes, one format
- Plan mode (before/while implementing): describe the intended change against the current system. If no PR exists yet, put the block in the plan document or message; move it into the PR description once the PR exists.
- Recap mode (PR creation and every meaningful update): describe what the diff actually does. Replaces a plan-mode block if one exists.
Source-of-truth rules (non-negotiable)
- Recap mode reads the diff, not memory. Generate the recap from
git diff <base>...HEAD(plusgit diff --stat) against the PR base branch. Session context may explain intent, but every claim about what changed must be checkable against the diff. - Classification is checked against the primitives map. Read
docs/contributing/architecture/primitives.yamlbefore classifying. Use itsidvalues verbatim in the block. - The map stays current. If the PR adds, removes, or materially reshapes a
primitive, update
primitives.yamlin the same PR and say so in the block.
Risk classification
Classify each touched primitive, then roll up to the highest severity as the
overall classification (adds > extends > composes):
| Classification | Meaning | Risk |
composes | Uses existing primitives as-is; wiring and call sites only | Low |
extends | Changes a primitive's behavior, shape, or contract | Medium |
adds | Introduces a new primitive (must update primitives.yaml) | High |
A change touching invariants from primitives.yaml (for example per-user
isolation) is called out explicitly regardless of classification.
Block format
The block lives in the PR description between HTML comment markers, wrapped in
<details>. Fixed section order — a future ingestion process parses this
structure. Omit optional sections rather than leaving them empty.
<!-- system-recap:start -->
<details>
<summary>System recap — <b>composes existing primitives</b> (low risk)</summary>
**Mode:** recap · **Base:** `main` @ `abc1234` · **Head:** `def5678`
**Classification:** composes — no primitives added or changed; this PR wires
existing primitives together.
### Primitives touched
| Primitive | Group | Impact |
| ------------ | -------- | --------------------------------------- |
| `mcp-server` | surfaces | composes |
| `d1-app-db` | storage | extends — new `jobs.retry_count` column |
### System map
```mermaid
flowchart LR
mcpServer["mcp-server"]:::touched
capabilityRegistry["capability-registry"]:::untouched
d1AppDb["d1-app-db"]:::extended
mcpServer --> capabilityRegistry --> d1AppDb
classDef touched fill:#1a7f37,color:#fff
classDef extended fill:#9a6700,color:#fff
classDef added fill:#cf222e,color:#fff
classDef untouched fill:#57606a,color:#fff
```
### Change flow
_Optional: a mermaid flowchart or sequence diagram of the specific change._
### Before / after
_Optional: schema, API shape, or route changes as compact before/after fenced
blocks or tables._
### Invariants
_Optional: only when the change touches an invariant from primitives.yaml._
### Plan vs actual
_Recap mode only, when a plan-mode block existed: what shipped as planned and
what drifted, in a short list._
</details>
<!-- system-recap:end -->Format rules:
- The
<summary>line always carries the overall classification and risk in bold so reviewers see it without expanding. - Blank line after
<summary>and around every fenced block, or GitHub will not render the markdown/mermaid inside<details>. - System map: show touched primitives plus their immediate neighbors from
the map — not all ~25 nodes. Color with the four
classDefstyles above (touched= composes,extended,added,untouchedfor context nodes). Quote node labels containing spaces or special characters. - Keep the whole block scannable: prefer tables and diagrams over prose, and keep it well under ~120 lines.
Workflow
Recap mode (PR create/update)
- Read
docs/contributing/architecture/primitives.yaml. - Get the facts:
gh pr view <n> --json baseRefName,headRefName, thengit diff <base>...HEAD --statand the full diff for anything you did not author this session. - Map changed paths to primitives via the map's
codeentries; classify each; roll up the overall classification. - Author the block following the format above.
Upsert it into the PR description:
node .agents/skills/visual-recap/scripts/upsert-recap-block.mjs <pr-number> <block-file>The script replaces the content between the markers, or appends the block to the end of the description on first run. It never touches text outside the markers.
- Re-run steps 2-5 after pushing significant new commits to the PR.
Plan mode
Same steps, except: **Mode:** plan, no Base/Head commits required, "Primitives
touched" describes intended impact, and add a one-line note when the plan
requires no change to any primitive — that is the lowest-risk outcome and
worth stating explicitly. When implementation later diverges from the plan, the
recap's "Plan vs actual" section records the drift.
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.

