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。engramgraphdevelopment
[UDS] 扫描代码库的调试残留与代码质量问题;可自动修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 扫描, 清理.
tools
[UDS] 从规格衍生 BDD 场景、TDD 骨架或 ATDD 表格
development
[UDS] 识别重复流程并以正确的开发深度构建 Skill
tools
[UDS] AI 辅助 git push 安全层:质量门禁 + 协作护栏。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保护分支, 质量门禁.