understand-diff — Change Impact Analyzer
Cross-references git diffs or PRs against your project's knowledge graph to report changed components, blast radius, and risk.
Dev & CodingIntermediate★ 83,748⑂ 7,058AI score 9/10Last updated: Sep 12, 2026
What it does
- Collects the changed file list from
git diff(or a specified PR) and locates matching nodes in.ua/knowledge-graph.json. - Follows 1-hop edges (imports, calls, depends_on, ...) to surface upstream callers and downstream dependencies as "affected components".
- Reports which architectural layers are touched and scores risk from node complexity, cross-layer edges, and blast radius.
- Verifies graph freshness by resolving the stored commit hash and inspecting committed, staged, unstaged, and untracked project changes (monorepo-safe with
-- .). - Writes
diff-overlay.jsonso the companion dashboard can highlight changed vs. affected nodes.
Who it's for
- Developers and reviewers who want the blast radius of a change before starting a PR review.
- Teams on large or monorepo codebases where "what breaks if I touch this?" is a constant question.
- Existing Understand-Anything users who already generated a codebase knowledge graph.
Examples
- On a feature branch: "analyze the impact of my current changes" → changed nodes, 1-hop dependencies, layer-level risk summary.
- "Summarize review focus areas for PR #482" → upstream callers, downstream deps, and specific things to scrutinize.
- After analysis, run
/understand-anything:understand-dashboardto view the diff overlay on the graph.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/HEAD/understand-anything-plugin/skills/understand-diff/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the understand-anything-plugin/skills/understand-diff folder from the GitHub repo Egonex-AI/Understand-Anything into my ~/.claude/skills/understand-diff/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/Egonex-AI/Understand-Anything.git /tmp/understand-anything && mkdir -p ~/.claude/skills && cp -r /tmp/understand-anything/understand-anything-plugin/skills/understand-diff ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal in your working directory.
- Clone the repo:
git clone https://github.com/Egonex-AI/Understand-Anything.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r Understand-Anything/understand-anything-plugin/skills/understand-diff ~/.claude/skills/ - Also copy the sibling
understandskill (the graph generator) from the same plugin. - In your project root, run
/understandfirst to create.ua/knowledge-graph.json. - Restart Claude Code, then invoke
/understand-diffor ask it to "analyze the impact of these changes".
View source on GitHub ↗License: MIT