code-analyzer
Installation
SKILL.md
Code Analyzer
Analyze codebase to build comprehensive mental model for downstream operations.
Workflow Overview
- Scan — Collect facts via bash script (deterministic)
- Understand — Interpret structure and stack
- Trace — Follow execution paths through abstraction layers (skip if greenfield)
- Build — Construct dependency graph and mental model
- Confirm — Output summary with key files list
Step 1: Scan Project
Run codebase scanner to collect facts:
.claude/skills/code-analyzer/scripts/scan-codebase.sh