code-walkthrough
Skill14 starsChanged 4 days 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`, and files any stale or inexplicable code it hits as GitHub issues.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- Paloma966/dsh-papertheir own version, first seen Nov 7, 2026
- TsinHzl/claude-code-configtheir own version, first seen Nov 1, 2026
- dandavison/agent-skillstheir own version, first seen Oct 17, 2026
- crisperity/crisperity-skillstheir own version, first seen Oct 15, 2026
- mdrmuhaimin/agentic-skillstheir own version, first seen Oct 13, 2026
- wyattjoh/skillstheir own version, first seen Sep 27, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- dariia-m/my_claude_skills★ 35same name
- Paloma966/dsh-paper★ 7same name
- crisperit/crisperit-skills★ 5same name
- crisperity/crisperity-skills★ 5same name
- dandavison/agent-skills★ 3same name
- mdrmuhaimin/agentic-skills★ 3same name
- wyattjoh/skills★ 3same name
- sbpark2930-ui/claude-skills★ 2same name
- TsinHzl/claude-code-config★ 2same name
- Rajan-Metaliya/claude-notes★ 1same name
1 more not listed
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 repository12 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- cc-release-reviewSkill
- verifySkill
- assisted-logSkill
- code-theorySkill
- downloads-triageSkill
- editorSkill
- release-gateSkill
- release-shipSkill
- release-sweepSkill
- rexSkill
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 9 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 43
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 9 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. Do not close the document with an index of findings: the walkthrough ends with its last section, and the findings live in the issues. Where the prose cites one, use its number —
WALKTHROUGH.mdis a standing document and cites only durable references. When reporting, point the user at the file and list the issues you filed by number.
Findings
Tracing code end to end surfaces things a reader of the finished walkthrough should not have to rediscover. File them as GitHub issues following findings-protocol.md — the canonical copy shared with code-theory — 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.
Quote structure, not content that rotates. A curated list (featured posts, a changelog's newest entry, a list of examples) changes whenever an editor changes it, and a verbatim snippet of it breaks the release gate's snippet check with no code having moved. Quote the code that consumes the list, or the key that holds it with every entry elided as ..., and describe the list in prose.
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 auto-formatted (bun fmt, or prettier where a repo still uses it), and the formatter 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-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
codebase-design - 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.

