locales/zh-CN/skills/knowledge-graph/SKILL.md
[UDS] 通过知识图追踪规格/决策/代码的影响链(引擎或 Markdown 后备)
npx skillsauth add asiaostrich/universal-dev-standards knowledge-graphInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
语言: English | 简体中文
依据知识图记忆标准的关系 schema,回答横跨规格、决策与代码的结构性问题——「XSPEC-205 的完整影响链是什么?」。有无图引擎皆可运作。
Implements: XSPEC-237 Phase 5 — knowledge-graph skill(EngramGraph opt-in)
回答前先判断使用哪种模式:
| 条件 | 模式 |
|------|------|
| 设定了 ENGRAM_URL,或本机图引擎 /health 有响应 | 服务模式(引擎)|
| 否则 | 降级模式(Markdown)|
XSPEC-205、DEC-062、函数名)。curl -s -X POST "$ENGRAM_URL/graph/impact-analysis" \
-H 'content-type: application/json' \
-d '{"nodeId":"XSPEC-205","maxHops":3}'
impacts/impacted_by/supersedes/related front-matter 与正文 [[ref]] 链接读取被链接文件,手动组出链(受读取深度限制)。confidence,高者在前。见知识图记忆标准。front-matter 字段:related、impacts、impacted_by、supersedes、implements。边推导:Decision impacts Spec → IMPACTS;Decision supersedes Decision → SUPERSEDES。
ENGRAM_URL。impacts/impacted_by front-matter。engramgraphtools
[UDS] 從規格衍生 BDD 場景、TDD 骨架或 ATDD 表格
development
[UDS] /methodology: 選擇並追蹤開發方法論(SDD/BDD/TDD)。 Use when: 選擇方法論、切換開發模式、查詢當前方法論狀態。 若要查詢各階段對應指令請用 /dev-workflow。
testing
[UDS] Derive BDD scenarios, TDD skeletons, or ATDD tables from specifications
development
[UDS] Create or review specification documents for Spec-Driven Development