Learn Codebase
Use for onboarding, milestone review, handoff, or interview preparation—not after every feature.
Process
- Establish learning goals and audience.
- Map the repository deliberately, excluding generated/vendor/build output.
- Identify architecture, modules, domain concepts, major flows, tests, deployment, and durable decisions.
- Generate modular lessons rather than one giant document.
- Include navigable diagrams, demonstrations, exercises, and quizzes.
- Cite source paths and distinguish current behavior from recommendations.
Default Output
learning/codebase/
├── index.html
├── modules/
├── assets/
└── README.md
Use self-contained HTML/CSS/JS by default; use an existing docs/MDX system when approved. Do not install a framework solely for the portal without approval.
Modules May Include
orientation, architecture, domain/data flow, UI or interfaces, services/integrations, testing, deployment/operations, security boundaries, extension exercises, and cumulative quiz.
1---2name: learn-codebase3description: Generate a modular, interactive learning portal that explains an entire codebase at a milestone.4---56# Learn Codebase78Use for onboarding, milestone review, handoff, or interview preparation—not after every feature.910## Process11121. Establish learning goals and audience.132. Map the repository deliberately, excluding generated/vendor/build output.143. Identify architecture, modules, domain concepts, major flows, tests, deployment, and durable decisions.154. Generate modular lessons rather than one giant document.165. Include navigable diagrams, demonstrations, exercises, and quizzes.176. Cite source paths and distinguish current behavior from recommendations.1819## Default Output2021```text22learning/codebase/23├── index.html24├── modules/25├── assets/26└── README.md27```2829Use self-contained HTML/CSS/JS by default; use an existing docs/MDX system when approved. Do not install a framework solely for the portal without approval.3031## Modules May Include3233orientation, architecture, domain/data flow, UI or interfaces, services/integrations, testing, deployment/operations, security boundaries, extension exercises, and cumulative quiz.