From ship
Queries symbol-level code structure using codegraph CLI: callers, callees, change impact, and symbol source trails.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ship:use-cli-codegraphWhen to use
who calls this, what breaks if I change X, impact analysis, callers, callees, call graph, symbol definition, code structure navigation, 影響範囲, 呼び出し元, 呼び出し先, 構造把握, 変更波及, dependency trace, 誰が呼んでいる
This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run `codegraph <subcommand> --help` for options, output format, and exit codes. The help output is the authoritative source for the installed version.
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 |
npx claudepluginhub thkt/dotclaude --plugin shipIndexes a codebase as a structural graph for querying callers, callees, inheritance, blast radius, and semantic code search. Useful for understanding code connectivity, impact analysis, and navigating unfamiliar repos.
Queries codebase knowledge graphs to search functions, trace callers/callees, list file entities, analyze impact, and run SurrealQL. Use for code structure, dependencies, and relationships.
AST-aware code search, symbol navigation, and dependency graph analysis via the gcode CLI. Essential for exploring codebases, finding functions/classes, understanding call graphs, and checking blast radius before changes.