Анализ git-диффа и оценка рисков изменений

★ 7.1 · vibe-coding

understand-diff is a Claude Code skill that analyzes git diffs and pull requests by mapping changed files against the project's knowledge graph stored in `.ua/knowledge-graph.json` (or the legacy `.understand-anything/` directory). For each changed file, it greps the graph for matching nodes — including files, functions, classes, configs, and more — then traces 1-hop edges to identify upstream callers and downstream dependencies, revealing which components may break or require updates. Affected architectural layers are surfaced from the graph's `layers` section, and a risk assessment is built from node `complexity` values, cross-layer edge counts, and blast radius. After the analysis, the skill writes `diff-overlay.json` so results can be visualized with `/understand-anything:understand-dashboard`. It also checks graph freshness against the current Git HEAD and warns if the knowledge graph may be stale. Ideal for developers who need a structured impact analysis before reviewing or merging a branch.