This one analyzes git diffs against your project's knowledge graph to show you not just what changed, but what might break. It greps through the graph JSON to find nodes for your modified files, traces their edges to find upstream callers and downstream dependencies, and flags which architectural layers you're touching. The risk assessment pulls from node complexity and the blast radius of affected components. Honestly most useful when you're reviewing someone else's PR and need to quickly understand the ripple effects without reading every file. It writes a diff overlay JSON that the dashboard can visualize, which beats staring at a wall of grep output.

skills.sh installs
1.1K
GitHub stars
73.8K
last updated
Jul 14, 2026

Install

$ npx -y skills add lum1104/understand-anything --skill understand-diff --agent claude-code

Installs into .claude/skills of the current project.

Files

/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, service, table, endpoint, pipeline, schema, resource
    • Domain/knowledge node types: domain, flow, step, article, entity, topic, claim, source
    • IDs use the node type as prefix, e.g. file:path, function:path:name, config:path, article:path
  • edges[] — each has {source, target, type, direction, weight}
    • Key types: imports, contains, calls, depends_on, configures, documents, deploys, triggers, contains_flow, flow_step, related, cites
  • layers[] — each has {id, name, description, nodeIds[]}
  • tour[] — each has {order, title, description, nodeIds[]}

How to Read Efficiently

Sponsors

Details

Repository
github.com/lum1104/understand-anything
Category
Git & Pull Requests
First seen
Jun 3, 2026

More from lum1104/understand-anything

All 8
1kostja94 avatarchangelog-page-generatorkostja94/marketing-skillsWhen the user wants to create, optimize, or structure a changelog or release notes page. Also use when the user mentions "changelog," "release notes," "what's n1.1Kskills.sh installs
2jnmetacode avatarrequesting-code-reviewjnmetacode/superpowers-zh完成任务、实现重要功能或合并前使用,用于验证工作成果是否符合要求1Kskills.sh installs
3jnmetacode avatarfinishing-a-development-branchjnmetacode/superpowers-zh当实现完成、所有测试通过、需要决定如何集成工作时使用——通过提供合并、PR 或清理等结构化选项来引导开发工作的收尾993skills.sh installs
4jnmetacode avatarusing-git-worktreesjnmetacode/superpowers-zh当需要开始与当前工作区隔离的功能开发,或在执行实现计划之前使用——通过原生工具或 git worktree 回退机制确保隔离工作区存在987skills.sh installs
5github avatarpython-pypi-package-buildergithub/awesome-copilotEnd-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI. Covers all four build backends (setuptool950skills.sh installs
6mindrally avatargit-workflowmindrally/skillsGit conventions and workflow guidelines using Conventional Commits, branching strategies, and best practices for version control850skills.sh installs