analyze
Deep codebase analysis with parallel agents for patterns, dependencies, and architectural insights
Files1
View on GitHubSKILL.mdclaude/dot-claude/skills/analyze/SKILL.md
GitHubCodebase Analysis
Perform a comprehensive codebase analysis for: $ARGUMENTS
Process
Parallel Discovery — Launch multiple Agent(subagent_type="Explore") in parallel to:
- Map file structure and key entry points
- Search for patterns, dependencies, and conventions
- Identify architectural boundaries and data flow
Deep Analysis — Based on discovery results:
- Trace dependency chains and coupling
- Identify potential issues (circular deps, dead code, inconsistencies)
- Map the architecture (components, layers, boundaries)
Recommendations — Provide:
- Architectural insights and trade-offs
- Potential improvements with impact assessment
- Risks and technical debt observations
Rules
- Use at least 3 parallel Explore agents for initial discovery
- Read key files directly rather than guessing their contents
- Provide concrete file:line references, not vague observations
- Focus on what was asked — don't analyze everything if a specific target was given