‹ 首页

query-code

@borda · 收录于 1 周前

Query the codemap structural index — central, coupled, deps, rdeps, import path, symbol-level source extraction, function-level call graph (fn-deps, fn-rdeps, fn-central, fn-blast), and listing central modules. TRIGGER when: user asks about module relationships, dependency graph, callers/callees, blast radius, or central/coupled modules; phrases: "what depends on", "who calls", "imports of", "dependency graph", "blast radius of", "list central modules". SKIP: user wants to rename a symbol (use /codemap:rename-refs); this skill handles call-graph queries only (no rename) — for rename + caller analysis use /codemap:rename-refs; simple grep would suffice; non-Python repo. (A missing or stale index is built/refreshed automatically — see Step 0; no manual /codemap:scan-codebase first.)

适合你,如果需要分析代码库中模块的依赖和调用链。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add borda/ai-rig/query-code
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- borda/ai-rig/query-code
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify borda/ai-rig/query-code
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
21GitHub stars
~1.7K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。