
Understand Domain
Extracts business domain knowledge from your codebase and renders it as an interactive horizontal flow graph showing domains, business flows, and process steps. It's smart about reuse: if you've already run /understand, it derives everything from that knowledge graph without rescanning files. Otherwise it does a lightweight scan of your file tree, entry points, and a few sample files. The worktree redirect logic is particularly thoughtful, it detects ephemeral Claude Code worktrees and writes output to your main repo so the graph doesn't vanish when the session ends. Pairs with the dashboard for visualization. Good for orienting yourself in unfamiliar codebases or mapping out what the system actually does at a business level.
- skills.sh installs
- 1K
- GitHub stars
- 73.8K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add lum1104/understand-anything --skill understand-domain --agent claude-codeInstalls into .claude/skills of the current project.
Files
/understand-domain
Extracts business domain knowledge — domains, business flows, and process steps — from a codebase and produces an interactive horizontal flow graph in the dashboard.
How It Works
- If a knowledge graph already exists (
.ua/knowledge-graph.json, or the legacy.understand-anything/knowledge-graph.jsonwhen that directory is present), derives domain knowledge from it (cheap, no file scanning) - If no knowledge graph exists, performs a lightweight scan: file tree + entry point detection + sampled files
- Use
--fullflag to force a fresh scan even if a knowledge graph exists
Instructions
Phase 0: Resolve PROJECT_ROOT
Set PROJECT_ROOT to the current working directory.
Sponsors
Details
- Repository
- github.com/lum1104/understand-anything
- First seen
- Jun 3, 2026