| name | codebase-analysis |
| description | This skill should be used when analyzing codebases, understanding architecture, or when analyze, investigate, explore code, or understand architecture are mentioned. |
| metadata | {"version":"1.0.1"} |
Codebase Analysis
Evidence-based investigation → findings → confidence-tracked conclusions.
Steps
- Gather evidence from multiple sources (code, docs, tests, history)
- Track confidence level as investigation progresses
- Based on findings:
- If pattern analysis needed → load the
find-patterns skill
- If root cause investigation → load the
find-root-causes skill
- If ready to report → load the
report-findings skill
- Deliver findings with confidence level and caveats
<when_to_use>
- Codebase exploration and understanding
- Architecture analysis and mapping
- Pattern extraction and recognition
- Technical research within code
- Performance or security analysis
NOT for: wild guessing, assumptions without evidence, conclusions before investigation
</when_to_use>
| Bar | Lvl | Name | Action |
|---|
░░░░░ | 0 | Gathering | Collect initial evidence |
▓░░░░ | 1 | Surveying |