codebase-overview
Installation
SKILL.md
Codebase Overview Skill
Systematic 4-phase codebase exploration that produces an evidence-backed onboarding report. Phases run in strict order — DETECT, EXPLORE, MAP, SUMMARIZE — because later phases depend on context established by earlier ones. This skill accelerates reading the codebase but does not replace it.
Reference Loading Table
| Signal | Load These Files | Why |
|---|---|---|
| example-driven tasks, errors | examples-and-errors.md |
Loads detailed guidance from examples-and-errors.md. |
| language-specific discovery commands per exploration phase | exploration-strategies.md |
Loads detailed guidance from exploration-strategies.md. |
| writing the 12-section overview report | report-template.md |
Loads detailed guidance from report-template.md. |
| statistical rule discovery, Go pattern analysis, cartographer scripts | statistical-three-lenses.md, statistical-metrics-catalog.md |
Measure-first analysis lenses and 100-metric catalog (from demoted codebase-analyzer). |
| statistical analysis worked examples, phase banners, error catalog | statistical-phase-details.md, statistical-analysis-examples.md |
Phase details and real-world analysis workflows (from demoted codebase-analyzer). |
Instructions
Execute all phases autonomously. Verify each gate before advancing. Consult references/exploration-strategies.md for language-specific discovery commands.
Before starting any exploration, read and follow any .claude/CLAUDE.md or CLAUDE.md in the repository root because project-specific instructions override default behavior.