understand
/understand
Analyze the current codebase and produce a knowledge-graph.json file in .understand-anything/. This file powers the interactive dashboard for exploring the project's architecture.
Options
$ARGUMENTSmay contain:--full— Force a full rebuild, ignoring any existing graph--auto-update— Enable automatic graph updates on commit (writesautoUpdate: trueto.understand-anything/config.json)--no-auto-update— Disable automatic graph updates (writesautoUpdate: falseto.understand-anything/config.json)--review— Run full LLM graph-reviewer instead of inline deterministic validation--language <lang>— Generate all textual content (summaries, descriptions, tags, titles, languageNotes, languageLesson) in the specified language. Accepts ISO 639-1 codes (zh,ja,ko,en,es,fr,de, etc.) or friendly names (chinese,japanese,korean,english,spanish, etc.). Locale variants supported:zh-TW,zh-HK, etc. Defaults toen(English). Stores preference in.understand-anything/config.jsonfor consistency across incremental updates.- A directory path (e.g.
/path/to/repoor../other-project) — Analyze the given directory instead of the current working directory
Phase 0 — Pre-flight
Determine whether to run a full analysis or incremental update.
More from lum1104/understand-anything
understand-dashboard
Launch the interactive web dashboard to visualize a codebase's knowledge graph
221understand-onboard
Use when you need to generate an onboarding guide for new team members joining a project
211understand-explain
Use when you need a deep-dive explanation of a specific file, function, or module in the codebase
208understand-chat
Use when you need to ask questions about a codebase or understand code using a knowledge graph
207understand-diff
Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks
201understand-domain
Extract business domain knowledge from a codebase and generate an interactive domain flow graph. Works standalone (lightweight scan) or derives from an existing /understand knowledge graph.
123