AGENT SKILL
graph-lookup
查询 GitNexus 代码知识图谱。
- License 许可
- MIT
- 最近更新
- 2026-10-15
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- graph-lookup
- metadata
- { "role": "helper" }
- description
- 查询 GitNexus 代码知识图谱。
- allowed-tools
- graph.impact graph.context graph.query graph.cypher graph.trace graph.list_repos graph.detect_changes
03 SKILL.md 正文
Graph lookup
工具组:graph.impact、graph.context、graph.query、graph.cypher、graph.trace。
用于在词法(Zoekt)/语义(Qdrant)之外,基于结构图回答「谁调用了谁」「改动影响面」。
graph.impact
- 输入故障方法符号,例如
PopRecordService.insertPopRecordLogic。 - 默认
direction=upstream取 callers / blast radius。 - 优先使用
normalize-incident.extracted.call_chain[0]解析出的类.方法。 - 无明确符号时
skip: true。
graph.context
- 对同一符号做 360° 上下文(refs / process participation)。
- 与
graph.impact共用符号;无符号时skip: true。
graph.query
- 概念/流程混合检索(BM25 + semantic + RRF)。
- 适合「认证流程」「订单落库」这类自然语言线索。
graph.cypher / graph.trace
- 需要精确图查询或两点最短路径时使用;一般排查优先 impact/context。
04 同仓库更多 Skills
hello-triage
Minimal playbook fixture for install tests.
★ 1
trace-chain
获取分布式 trace 链路证据。
★ 1
notify-send
在报告生成后发送排查结果通知。
★ 1
log-query-trace
按 trace id 查询日志证据。
★ 1
log-query-template
按默认错误模板查询日志作为兜底证据。
★ 1
index-repo-context
检查代码索引状态并列出已注册仓库。
★ 1