use-cli-codegraph
Symbol-level code structure queries via codegraph CLI. Callers, callees, change impact, and symbol source trails.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Symbol-level code structure queries via codegraph CLI. Callers, callees, change impact, and symbol source trails.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
issue が build に投入できる形かを検分し、verdict (build-ready / needs-plan / needs-fix) と指摘を返す。起票には使わない (/issue)。PR のスクリーニングには使わない (/preview)。
Inspect whether an issue is in shape to hand to build, returning a verdict (build-ready / needs-plan / needs-fix) and the findings. Do NOT use to file an issue (use /issue) or to screen a PR (use /preview).
critic-design による敵対的批判を伴う設計探索。生き残った案を構造化 plan にまとめ、自己点検して呼び出し元に返す。plan の永続先は issue の Plan 節が唯一。計画意図のないコードベース調査には使わない (代わりに /research)。
Design exploration with adversarial critique by critic-design. Assembles the surviving approach into a structured plan, self-checks it, and returns it to the caller. The issue's Plan section is the plan's only persistent home. Do NOT use for codebase investigation without planning intent (use /research instead).
構造化されたタイトルと本文で GitHub Issue を生成する。単独で成立し、前段を要求しない。challenge / research の成果物が会話にあれば本文の根拠に使い、/think の plan 下書きがあれば `## Plan` 節へ移設する。issue 番号を渡すと、起票済みで Plan 節を持たない issue へ plan を転記する。
Generate GitHub Issue with structured title and body. Standalone; requires no upstream stage. When challenge / research artifacts exist in the conversation, they feed the body's evidence; when a /think plan draft exists, it is transferred into the `## Plan` section. Given an issue number, it transfers a plan into a filed issue that has no Plan section.
SOC 職業分類に基づく
| name | use-cli-codegraph |
| description | Symbol-level code structure queries via codegraph CLI. Callers, callees, change impact, and symbol source trails. |
| when_to_use | who calls this, what breaks if I change X, impact analysis, callers, callees, call graph, symbol definition, code structure navigation, 影響範囲, 呼び出し元, 呼び出し先, 構造把握, 変更波及, dependency trace, 誰が呼んでいる |
| allowed-tools | Bash Read |
| user-invocable | false |
Run codegraph <subcommand> --help for options, output format, and exit codes. The help output is the authoritative source for the installed version.
| Purpose | Command |
|---|---|
| Change impact (what breaks) | codegraph impact <symbol> |
| Callers | codegraph callers <symbol> |
| Callees | codegraph callees <symbol> |
| Symbol source + call trail | codegraph node <name> |
| Explore area (source + call paths) | codegraph explore <query...> |
| Symbol search | codegraph query <search> |
| Tests affected by changes | codegraph affected [files...] |
| Index status | codegraph status |
Structural queries only. Route symbol-level structure questions like who calls X or what breaks to codegraph, and keep free-text content search on Grep / Explore.
| Question | Tool |
|---|---|
| What breaks if I change X / who calls X | codegraph; Grep cannot trace structure |
| Symbol definition + caller/callee trail | codegraph node / explore |
| Tests affected by changed files | codegraph affected |
| Free-text or string content search | Grep / Explore; codegraph is symbol-level |
Repo without a .codegraph index | Grep / Explore, or prompt to init |
| Item | Detail |
|---|---|
| index | .codegraph/ required. Run codegraph init once per repo. If absent, ask whether to init and stop. Do not create it silently |
| freshness | codegraph status shows up to date. Run codegraph sync after large changes. The watcher daemon keeps it current when running |
| binary | bun global (~/.config/bun/bin/codegraph). On EPERM during install / upgrade, prefix npm_config_cache=$TMPDIR/cg to work around it |