gdd-graphify
Thin command wrapper around the get-design-done (GDD) graphify tools integration.
Usage
/get-design-done graphify build # Build or rebuild the knowledge graph /get-design-done graphify query <term> # Query graph for a node and neighbors /get-design-done graphify status # Check graph age, enabled, node count /get-design-done graphify diff # Show topology changes since last build
Behavior
- Read
.design/STATE.mdto checkgraphifystatus in<connections>. - Check
graphify.enabledin.design/config.jsonvia a direct file read (per D-09 - noconfig-getCLI subcommand):node -e "try{const c=JSON.parse(require('fs').readFileSync('.design/config.json','utf8'));process.stdout.write(String(c.graphify?.enabled===true))}catch{process.stdout.write('false')}" - If not enabled, print:
STOP."Graphify is not enabled. Edit `.design/config.json` to set `graphify.enabled: true`." "Then run {{command_prefix}}graphify build to generate the knowledge graph." - Execute the requested subcommand via the native CLI:
- build:
node "${CLAUDE_PLUGIN_ROOT}/bin/gdd-graph" build - query:
node "${CLAUDE_PLUGIN_ROOT}/bin/gdd-graph" query "<term>" --budget 2000 - status:
node "${CLAUDE_PLUGIN_ROOT}/bin/gdd-graph" status - diff:
node "${CLAUDE_PLUGIN_ROOT}/bin/gdd-graph" diff
- build:
- After
buildcompletes, update.design/STATE.md<connections>:graphify: available
Required Reading
.design/STATE.md- for graphify status in<connections>.design/config.json- forgraphify.enabledflag
Notes
- Graphify is optional. The native CLI ships with the plugin at
${CLAUDE_PLUGIN_ROOT}/bin/gdd-graph(no external install - Node only). - Graph is stored at
.design/graph/graph.json(Ajv-validated againstscripts/lib/graph/schema.json). - Graph covers source code (
src/,components/). It does NOT index.design/artifacts by default. - Use
querywith node IDs from the graph schema:component:<name>,token:color/<name>,decision:D-<nn>, etc.


