Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

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 & CodingIntermediate83,7487,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.json so 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

  1. On a feature branch: "analyze the impact of my current changes" → changed nodes, 1-hop dependencies, layer-level risk summary.
  2. "Summarize review focus areas for PR #482" → upstream callers, downstream deps, and specific things to scrutinize.
  3. After analysis, run /understand-anything:understand-dashboard to 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal in your working directory.
  2. Clone the repo: git clone https://github.com/Egonex-AI/Understand-Anything.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r Understand-Anything/understand-anything-plugin/skills/understand-diff ~/.claude/skills/
  5. Also copy the sibling understand skill (the graph generator) from the same plugin.
  6. In your project root, run /understand first to create .ua/knowledge-graph.json.
  7. Restart Claude Code, then invoke /understand-diff or ask it to "analyze the impact of these changes".