Catalogue / explain-codebase
explain-codebase
MITSignedExplains existing code when asked how a request flows, where behavior lives, or what a module does; grounds the explanation in current files rather than inferred historical intent.--- name: explain-codebase description: "Explains existing code when asked how a request flows, where behavior lives, or what a module does; grounds the explanation in current files rather than inferred historical intent." license: MIT metadata: author: "Measured Studios" version: "0.19.0" plugin: "measured-workflows" invocation: "implicit" provenance: "original" risk_class: "read-only" ---
Codebase Explanation
Explain mechanics from the code that exists now.
Read context map when the explanation must support later navigation or a resumed session.
Workflow
- Clarify the behavior or path the user wants explained and bound the relevant component.
- Locate entrypoints, public interfaces, owners of state, configuration, and the main callers and consumers.
- Trace control flow and data flow separately. Name validation, transformations, persistence, concurrency, retries, and error paths where present.
- Cite concrete files and symbols. Distinguish runtime code from tests, fixtures, generated output, documentation, and proposed designs.
- Verify important claims through tests, call sites, configuration, or safe execution when appropriate and authorized.
- Explain the smallest coherent model first, then add edge cases and uncertainty.
Boundaries
Use investigate-design-rationale for historical intent or why a design was chosen.
- Current code can establish mechanics, not historical intent. Label rationale as inference unless direct evidence supports it.
- Do not change code merely because the explanation reveals a defect or awkward design.
- Do not imply that an unexecuted path, configuration, or deployment is active.
Output
Lead with the answer. Use the shortest format that retains the required evidence and limits; expand when requested or needed. The items below describe required content, not mandatory headings.
Lead with a plain-language summary, then provide Entrypoints, Flow, State and ownership, Interfaces, Failure paths, Evidence, and Unknowns.
Example
Synthetic example; not an observed client result.
Input: Requests enter Router, call InvoiceService, and persist through InvoiceStore.
Output: Router handles transport, InvoiceService applies invoice rules, and InvoiceStore owns persistence. Those observed calls define the current request path.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 2.4 kB | 153cef356245 |
| SKILVAULT_SOURCE.json | 1.4 kB | 055f76122096 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | fabd4b845c28 |
| agents/openai.yaml | 377 B | edf9772c3d45 |
| references/context-map.md | 1.8 kB | acb8db9e48cc |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 9b4e391a30db | 24 Nov 2026 |
Locking a skill to one version needs Pro.