understand-diff
仓库创建 2026年3月15日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由
能在 PR/变更审查中快速判断影响面与高风险改动。
这个 Skill 做什么
将 git 差异与知识图谱关联分析,识别受影响组件与潜在风险。
把 git diff 或 PR 的改动,和项目的 knowledge graph 关联起来,告诉你哪些组件被波及、可能的风险和受影响的依赖。改动不清楚、要做代码审查或评估发布风险时用。优势在于把零散的行级改动放回项目结构里,能发现单看差异看不到的连锁影响。
▸ 展开 SKILL.md 英文原文
Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks
7.6w
Stars
6.4k
Forks
9
仓库内 Skill
+4.9k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/understand-anything-plugin/skills/understand-diff/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Egonex-AI/Understand-Anything/main/understand-anything-plugin/skills/understand-diff/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# /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, arvia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有