codebase-discovery - Discover and document an unfamiliar codebase
Extracts domain knowledge, architecture, business rules, workflows, and a glossary from an existing codebase, then validates findings with a stakeholder.
Tags
Updated: 2026-10-06codebase analysisreverse engineeringarchitecture documentationbusiness analysisonboardingknowledge extraction
Capabilities
What this skill does
- Analyze existing codebases
- Extract domain knowledge
- Map architecture and workflows
- Validate findings with stakeholders
- Generate onboarding documentation
- Verify documented claims
Inputs
- Target codebase
- User options
- Existing repository documentation
- Stakeholder answers
Outputs
- Onboarding documents under docs/
- discovery-state.md
- Stakeholder validation questions
- Validated discovery findings
Requirements
- A capable coding agent
- Read access to the target repository
- Write access to the agreed output location
- Stakeholder availability for full mode
