Skip to content

understand-anything — Codebase Understanding

  • Trigger: /understand-anything commands
  • 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-SkillFunction
understandAnalyze codebase to produce interactive knowledge graph
understand-onboardNew developer onboarding guide
understand-explainExplain code structure and relationships
understand-chatConversational exploration via knowledge graph
understand-domainExtract business domain knowledge
understand-diffAnalyze change impact
understand-dashboardVisual knowledge graph dashboard
understand-knowledgeQuery the knowledge graph

Trigger Conditions

  • Mention "analyze code", "understand project", "onboard"
  • Use /understand-anything commands

Examples

Example 1: Project Onboarding

/understand-anything:understand-onboard

Claude will:

  1. Scan project structure
  2. Identify architectural layers and core modules
  3. Generate visual knowledge graph
  4. Create guided learning path

Example 2: Architecture Analysis

/understand-anything:understand Analyze the entire project architecture and module dependencies

Example 3: Change Impact Analysis

/understand-anything:understand-diff Analyze the impact scope of this PR

Example 4: Business Domain

/understand-anything:understand-domain Extract business domain knowledge for the payment module

Example 5: Interactive Dashboard

/understand-anything:understand-dashboard Launch the knowledge graph visualization

How It Works

  1. Scan — file-analyzer processes all source files
  2. Parse — Extract symbols, dependencies, and architectural layers
  3. Graph — Build knowledge graph (nodes = files/symbols, edges = relationships)
  4. Interact — Explore via dashboard or conversation

Notes

  • Requires codegraph init -i to initialize the index first
  • First analysis on large projects takes time
  • Knowledge graph auto-updates after code changes