ragsharp-query-code-graph

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

📖 中文导读:查询 ragsharp 代码图中的声明、引用、调用者、被调用者、依赖关系和行号证据。触发器:查找用法、定义位置、调用者、被调用者、依赖路径、项目依赖、类型层次结构、行号、证据 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

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.