understand-anything — Codebase Understanding
- Trigger:
/understand-anythingcommands - Best for: New project onboarding, codebase exploration, architecture analysis
- Not for: Small file edits, already-familiar projects
Overview
understand-anything is a suite of codebase understanding and knowledge graph tools with multiple sub-skills:
| Sub-Skill | Function |
|---|---|
understand | Analyze codebase to produce interactive knowledge graph |
understand-onboard | New developer onboarding guide |
understand-explain | Explain code structure and relationships |
understand-chat | Conversational exploration via knowledge graph |
understand-domain | Extract business domain knowledge |
understand-diff | Analyze change impact |
understand-dashboard | Visual knowledge graph dashboard |
understand-knowledge | Query the knowledge graph |
Trigger Conditions
- Mention "analyze code", "understand project", "onboard"
- Use
/understand-anythingcommands
Examples
Example 1: Project Onboarding
/understand-anything:understand-onboardClaude will:
- Scan project structure
- Identify architectural layers and core modules
- Generate visual knowledge graph
- Create guided learning path
Example 2: Architecture Analysis
/understand-anything:understand Analyze the entire project architecture and module dependenciesExample 3: Change Impact Analysis
/understand-anything:understand-diff Analyze the impact scope of this PRExample 4: Business Domain
/understand-anything:understand-domain Extract business domain knowledge for the payment moduleExample 5: Interactive Dashboard
/understand-anything:understand-dashboard Launch the knowledge graph visualizationHow It Works
- Scan — file-analyzer processes all source files
- Parse — Extract symbols, dependencies, and architectural layers
- Graph — Build knowledge graph (nodes = files/symbols, edges = relationships)
- Interact — Explore via dashboard or conversation
Notes
- Requires
codegraph init -ito initialize the index first - First analysis on large projects takes time
- Knowledge graph auto-updates after code changes
Related Skills
- init — Initialize CLAUDE.md to supplement the knowledge graph
- improve-codebase-architecture — Architecture improvements based on analysis