understand-explain
FeaturedUse when you need a deep-dive explanation of a specific file, function, or module in the codebase
AI & Automation 93,633 stars
7965 forks Updated today MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# /understand-explain
Provide a thorough, in-depth explanation of a specific code component.
## Graph Structure Reference
The knowledge graph JSON has this structure:
- `project` — {name, description, languages, frameworks, analyzedAt, gitCommitHash}
- `nodes[]` — each has {id, type, name, filePath, summary, tags[], complexity, languageNotes?}
- Node types: file, function, class, module, concept
- IDs: `file:path`, `function:path:name`, `class:path:name`
- `edges[]` — each has {source, target, type, direction, weight}
- Key types: imports, contains, calls, depends_on
- `layers[]` — each has {id, name, description, nodeIds[]}
- `tour[]` — each has {order, title, description, nodeIds[]}
## How to Read Efficiently
1. Use Grep to search within the JSON for relevant entries BEFORE reading the full file
2. Only read sections you need — don't dump the entire graph into context
3. Node names and summaries are the most useful fields for understanding
4. Edges tell you how components connect — follow imports and calls for dependency chains
## Instructions
1. Check that `.understand-anything/knowledge-graph.json` exists. If not, tell the user to run `/understand` first.
2. **Find the target node** — use Grep to search the knowledge graph for the component: "$ARGUMENTS"
- For file paths (e.g., `src/auth/login.ts`): search for `"filePath"` matches
- For function notation (e.g., `src/auth/login.ts:verifyToken`): search for the function name in `"name"` fields filtered b...
Details
- Author
- Lum1104
- Repository
- Lum1104/Understand-Anything
- Created
- 8 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
understand-explain
Use when you need a deep-dive explanation of a specific file, function, or module in the codebase
93,633 Updated today
Egonex-AI AI & Automation Featured
understand-chat
Use when you need to ask questions about a codebase or understand code using a knowledge graph
93,633 Updated today
Lum1104 AI & Automation Featured
understand-chat
Use when you need to ask questions about a codebase or understand code using a knowledge graph
93,633 Updated today
Egonex-AI