In Claude (connector)install_skill("code-walkthrough")
CLIlendskill install code-walkthrough
SKILL.md
---
name: code-walkthrough
description: Produce an annotated walkthrough of a codebase, file or snippet — the big picture, execution flow, line-by-line notes on the important parts, design decisions, gotchas and exercises to extend it. Use for "explain this code", onboarding docs, code tutorials, or teaching from a real project.
license: Proprietary — Lendskill original
---
# Code Walkthrough
## 1. Big picture
What the code does, its inputs and outputs, and where it fits (entry points, main modules). A small map of files/functions and how they call each other.
## 2. Follow one real path
Trace a single realistic request or input from entry to output, naming each function as it's hit. This beats explaining files in alphabetical order.
## 3. Annotate what matters
Quote the important blocks (short excerpts with file:line) and explain: what it does, why it's written that way, and what would break if changed. Skip boilerplate.
## 4. Decisions and gotchas
Design choices and their trade-offs, non-obvious behavior, error handling, performance or security notes. Label anything you inferred vs. confirmed by running it.
## 5. Extend it
3 exercises of rising difficulty that modify the code (add a feature, fix an edge case, write a test). Run or reason through each to make sure it's doable.
Never rename or refactor the user's code in a walkthrough unless asked.
## Output format
- A guided walkthrough: overview, then numbered stops each with file:line, the code excerpt and a plain explanation
- A diagram of the flow if more than three files are involved
- Questions to check understanding