query-code
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 oh-my-skill add borda/ai-rig/query-codecurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- borda/ai-rig/query-codenpx oh-my-skill verify borda/ai-rig/query-code