What it does. Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks
/understand-diff
Analyze the current code changes against the knowledge graph in the project's data directory (
.ua/knowledge-graph.json
, or the legacy
.understand-anything/knowledge-graph.json
when that directory is present).
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?}
- Code node types: file, function, class, module, concept
- Non-code node types: config, document,
Install
npx skills add Egonex-AI/Understand-Anything --skill understand-diff
Or copy the skill folder manually:
git clone https://github.com/Egonex-AI/Understand-Anything.git
cp -r Understand-Anything/understand-anything-plugin/skills/understand-diff/ ~/.claude/skills/understand-diff
Source: Egonex-AI/Understand-Anything — 87,594 stars, MIT, verified 2026-10-22.