code-walkthrough
Skill13 starsChanged 2 months agoMITView on GitHub
Reads source code and produces a linear walkthrough document. Use when explaining how code works, creating walkthroughs, onboarding to a project, or giving a code tour. Writes `WALKTHROUGH.md`, plus any stale or inexplicable code it hits to `.issues/`.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- wyattjoh/skillstheir own version, first seen Sep 27, 2026
- crisperit/crisperit-skillstheir own version, first seen Sep 24, 2026
- Rajan-Metaliya/claude-notestheir own version, first seen Aug 30, 2026
- yumeiriowl/code-learn-skilltheir own version, first seen Jul 24, 2026
- 312362115/claudetheir own version, first seen Apr 8, 2026
- sbpark2930-ui/claude-skillstheir own version, first seen Apr 5, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- 312362115/claude★ 107same name
- dariia-m/my_claude_skills★ 36same name
- Rajan-Metaliya/claude-notes★ 4same name
- crisperit/crisperit-skills★ 3same name
- sbpark2930-ui/claude-skills★ 2same name
- wyattjoh/skills★ 2same name
- yumeiriowl/code-learn-skill★ 1same 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 repository16 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- cc-release-reviewSkill
- verifySkill
- code-auditSkill
- code-reductionSkill
- code-refactorSkill
- code-theorySkill
- editorSkill
- grillSkill
- issue-prSkill
- issue-triageSkill
- issue-verifySkill
- release-captainSkill
- release-gateSkill
- release-shipSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
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
- Very specific: line 13
Read the source and produce a linear walkthrough that explains how the code works in detail.
- Distinctive: line 41
Read the source, then quote the lines you want into a language-tagged fence.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Read the source and produce a linear walkthrough that explains how the code works in detail. Write it to WALKTHROUGH.md in the repo root.
Workflow
- Scope — If a scope/focus argument is given, limit source reading and coverage to that area.
- Write — If
WALKTHROUGH.mdalready exists, ask the user whether to overwrite it or extend it before writing anything. Then alternate commentary and snippets, starting from the entry points and following the call chain. - File what you found — see Findings, then close the document with the protocol's index table, observing its rule on durable references —
WALKTHROUGH.mdis a standing document.
Findings
Tracing code end to end surfaces things a reader of the finished walkthrough should not have to rediscover. File them to .issues/ following issues-protocol.md — the canonical copy shared across the code-* review skills — with **Source:** code-walkthrough. What qualifies:
- Prose in an existing
WALKTHROUGH.mdthat the code no longer supports. Nothing checks this document — a rename or a deletion leaves the narrative describing something that is gone, and it stays that way until a reader trips over it. You are reading the source and the prose side by side, which almost nobody else does, so this is the finding this skill is best placed to catch. Verify each claim against the code and cite both sides. - Code that resists linear explanation. Where the narrative had to jump, backtrack, or ask the reader to hold two things in mind at once, the call chain is telling you something about the structure. Say where the order broke down.
- Paths reachable from no entry point, and branches you could not construct an input for.
Uncertainty is not a finding — if you could not follow something, say so in the walkthrough itself. File only what you can name and locate.
Walkthrough structure
- Overview — What the project does, key technologies, entry points
- Architecture — Directory layout, module boundaries, data flow
- Core walkthrough — Step through the code linearly, starting from entry points and following the call chain through modules
Snippet selection
Show the most important 5–20 lines per concept. Prefer function signatures, key logic, and configuration over boilerplate. Every snippet should earn its place — if it doesn't clarify the narrative, cut it.
Read the source, then quote the lines you want into a language-tagged fence. Label every block with its file and the symbol it came from, so a reader can find it and a later pass can check it:
`src/config.py` — `load_config`
```python
def load_config(path: str = "config.yaml") -> Config:
for field in REQUIRED_FIELDS:
if field not in raw:
raise ConfigError(f"missing required field: {field}")
return Config(host=raw.get("host", DEFAULT_HOST), ...)
```Name a file and a symbol, never a line range. src/config.py — load_config still points at the function after an unrelated edit above it; src/config.py:120-135 points wherever those lines drifted to, and nothing in this repo will tell you it drifted. An elided middle is fine — mark it ... — but never paste lines you have not read, and never adjust a quote to read better than the source does.
Where actually running something illuminates the code better than quoting it — driving a state machine through its phases, printing a scoring truth table, showing what a parser does with a hostile input — run it while authoring and paste the result as a clearly labelled transcript. Say it is a transcript of a command you ran, not a live block; nothing re-runs it.
Markdown in most repos is prettier-formatted, and prettier may rewrite fenced blocks. Check every snippet against its source after the formatter has run, not before — each must still be a verbatim substring. Where the formatter has changed one, report it rather than hand-editing the snippet back.
Do not use when
- The user just wants an explanation in conversation — a walkthrough produces a
WALKTHROUGH.mdfile in the repo; don't create an artifact for a chat-only "explain this" request - Reviewing code for bugs or design issues — use
code-auditor/code-review - Explaining why the system is shaped as it is, rather than how it runs — use
code-theory - The ask is how the system should be restructured — use
code-refactor - Auditing harness customizations, or trimming CLAUDE.md — use
/doctor
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.

