AgentSkillsCN

ragsharp-query-code-graph

查询 ragsharp 代码图,获取声明、引用、调用者、被调用者、依赖关系和行号证据。 触发器:查找使用、定义位置、调用者、被调用者、依赖路径、项目依赖、类型层次、行号、证据。

SKILL.md
--- frontmatter
name: ragsharp-query-code-graph
description: |
  Query the ragsharp code graph for declarations, references, callers, callees, dependencies, and line-number evidence.
  Triggers: find usages, where defined, callers, callees, dependency path, project deps, type hierarchy, line numbers, evidence.

Steps

  1. Run ragsharp graph query --type symbols --db .ragsharp/graph/index.db --limit 50 --symbol "SymbolName".
  2. Use the JSON output to answer questions with file:line-range evidence.