diff-walkthrough
Skill12 starsChanged 4 months agoMITView on GitHub
Present a changeset for comprehension: reorganize the diff by reviewer value (core logic first, wiring condensed, boilerplate summarized), distill dense hunks into pseudocode, trace surprising behavior changes on a concrete input, and tag the few genuinely tricky hunks. Use when asked to "walk me through the diff/PR", "explain what changed", or to catch someone up on a branch. Not a review: it explains, it does not judge — for findings use /review (or /basic-review), for quality use /clean-code.
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
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
- Distinctive: line 41
Do not present files in alphabetical or tree order.
- Distinctive: line 57
When a core hunk is dense — nested conditions, state machines, retry/backoff, multi-step transforms — add a few lines of pseudocode next to …
- Distinctive: line 64
When a hunk changes behavior in a way that is hard to predict from reading it — reordered operations, new short-circuits, altered edge …
- Very specific: line 72
When a hunk hides something risky or easy to miss, mark it with a short tag (Subtle, Breaking, Race condition, Perf) and one sentence.
- Very specific: line 78
Write reviewer-facing commentary, not a changelog: why it changed, how files interact ("the new validator in core.py is invoked by the …
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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
/diff-walkthrough
Present a changeset reorganized for reviewer comprehension — not in file-tree
order, not a raw diff dump. This skill explains what happened; it does not
review. Findings belong to /review or /basic-review.
Gather the diff
Accept a branch, a range, staged/uncommitted changes, or a PR reference (with
gh pr diff when the remote is reachable). If the user did not say which
changeset they mean, stop and ask. Never guess from recent history or fall
back to a silent default — a walkthrough of the wrong diff is worse than no
walkthrough.
Group changes for comprehension
Do not present files in alphabetical or tree order. Reorganize into sections ordered by reviewer value:
- Core logic — new behavior, algorithm changes, state transitions, API surface changes. Show the real hunks with surrounding context.
- Wiring & integration — route registration, dependency injection, config plumbing that connects the core logic. Condensed: enough to confirm correctness.
- Boilerplate & mechanical — renames, import reordering, generated code, formatting, type re-exports. Summarize as a list of files and stats; no inline hunks unless something is genuinely surprising there.
Lead with core logic: attention is freshest at the top.
Distill dense logic into pseudocode
When a core hunk is dense — nested conditions, state machines, retry/backoff, multi-step transforms — add a few lines of pseudocode next to it that strip syntax and error handling to expose the essential control flow. Only for hunks that are genuinely hard to scan; straightforward changes need no mirror.
Trace surprising behavior on a concrete example
When a hunk changes behavior in a way that is hard to predict from reading it — reordered operations, new short-circuits, altered edge cases — pick one small, realistic input and walk it through the old and new code paths side by side, highlighting the step where they diverge and the observable outcome. Reserve this for genuinely surprising changes.
Call attention to tricky things — sparingly
When a hunk hides something risky or easy to miss, mark it with a short tag
(Subtle, Breaking, Race condition, Perf) and one sentence. Overuse
destroys the signal; a few tags per walkthrough is the ceiling.
Tone
Write reviewer-facing commentary, not a changelog: why it changed, how files interact ("the new validator in core.py is invoked by the route added in routes.py"), anything the diff alone does not make obvious. One or two sentences per note. No findings, no verdicts, no "LGTM".
Adapted from cursor/plugins
pr-review-canvas/skills/pr-review-canvas/SKILL.md (MIT, © Cursor) — the
canvas-SDK presentation layer replaced with markdown conventions.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- roerohan/skills★ 29same 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 repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- a11ySkill
- articleSkill
- basic-reviewSkill
- cache-strategySkill
- clean-codeSkill
- cli-for-agentSkill
- content-writerSkill
- daily-qaSkill
- dbmap-auto-offSkill
- dbmapSkill
- db-optimizeSkill
- debugSkill
- defenseSkill
- evalSkill
- executing-plansSkill
- finish-branchSkill
- fuzzSkill
- handoffSkill
- humanizeSkill
- iac-scanSkill
- kb-advisorSkill
- minimalist-reviewSkill
- pentestSkill
- perf-profileSkill
- playwrightSkill
- pricingSkill
- qa-fullSkill
- quota-resilienceSkill
- subagent-driven-developmentSkill
- superskills-doctorSkill
- superskills-upgradeSkill
- tapestrySkill
- tddSkill
- test-coverageSkill
- validate-ideaSkill
- verifySkill
- web-perfSkill
- worktreesSkill
- write-planSkill
- youtubeSkill
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.

