onboarding-to-a-codebase
Installation
SKILL.md
Onboarding to a Codebase
Overview
Understanding a codebase section means tracing one real execution path and placing a change in it. Build it in chunks, with evidence, and prove it by playback — not with a file inventory.
Core principle: one flow, hop by hop, one chunk per turn, until the person can retell it and place a change.
The Contract
Five chunks, in order. Each is one response ending in its checkpoint; 3 and 4 may repeat. The session ends only after playback.
| # | Chunk | Ends with |
|---|---|---|
| 1 | Frame | Boundary, canonical flow, assumed level; ask which flow if the term is ambiguous |
| 2 | Entry | Entry points and first hops; "is this the flow you mean?" |
| 3 | Spine | Core path, 3–6 hops; "what's unclear?" |
| 4 | Edges | Branches, async, failures; "what's unclear?" |
| 5 | Change map + playback | Change → location; retell and place a change |