Add an idea to the backlog parking lot (999.x numbering)
日本語の概要は準備中です。原文の説明を表示しています。
Query, inspect, or refresh codebase intelligence files in .planning/intel/
インストールする前に、エージェントに与えられる指示の中身を確認できます。
STOP -- DO NOT READ THIS FILE. It is already in your context; using Read on it wastes tokens. Begin executing Step 0 immediately.
Before ANY tool calls, display banner GSD > INTEL, then proceed to Step 1.
Check if intel is enabled by reading .planning/config.json directly using the Read tool.
DO NOT use the gsd-tools config get-value command -- it hard-exits on missing keys.
.planning/config.json using the Read toolconfig.intel && config.intel.enabled === trueintel.enabled is NOT explicitly true: display the disabled message below and STOPintel.enabled is true: proceed to Step 2Disabled message:
GSD > INTEL
Intel system is disabled. To activate:
bm-sdk query config-set intel.enabled true
Then run /gsd:intel refresh to build the initial index.
Parse $ARGUMENTS to determine the operation mode:
| Argument | Action |
|---|---|
query <term> | Run inline query (Step 2a) |
status | Run inline status check (Step 2b) |
diff | Run inline diff check (Step 2c) |
refresh | Spawn intel-updater agent (Step 3) |
| No argument or unknown | Show usage message |
Usage message (shown when no argument or unrecognized argument):
GSD > INTEL
Usage: /gsd:intel <mode>
Modes:
query <term> Search intel files for a term
status Show intel file freshness and staleness
diff Show changes since last snapshot
refresh Rebuild all intel files from codebase analysis
Run:
bm-sdk query intel.query <term>
Parse the JSON output and display results:
"disabled": true, display the disabled message from Step 1 and STOPNo intel matches for '<term>'. Try /gsd:intel refresh to build the index.STOP after displaying results. Do not spawn an agent.
Run:
bm-sdk query intel.status
Parse the JSON output and display each intel file with:
updated_at timestampSTOP after displaying status. Do not spawn an agent.
Run:
bm-sdk query intel.diff
Parse the JSON output and display:
If no snapshot exists, suggest running refresh first.
STOP after displaying diff. Do not spawn an agent.
Display before spawning:
GSD > Spawning intel-updater agent to analyze codebase...
Spawn a Task:
Task(
description="Refresh codebase intelligence files",
prompt="You are the bm-intel-updater agent. Your job is to analyze this codebase and write/update intelligence files in .planning/intel/.
Project root: ${CWD}
Prefer: bm-sdk query <subcommand> (installed bm-sdk on PATH). Legacy: node ${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/cache/gsd-plugin/current}/bin/gsd-tools.cjs
Instructions:
1. Analyze the codebase structure, dependencies, APIs, and architecture
2. Write JSON intel files to .planning/intel/ (stack.json, api-map.json, dependency-graph.json, file-roles.json, arch-decisions.json)
3. Each file must have a _meta object with updated_at timestamp
4. Use `bm-sdk query intel.extract-exports <file>` to analyze source files
5. Use `bm-sdk query intel.patch-meta <file>` to update timestamps after writing
6. Use `bm-sdk query intel.validate` to check your output
When complete, output: ## INTEL UPDATE COMPLETE
If something fails, output: ## INTEL UPDATE FAILED with details."
)
Wait for the agent to complete.
After the agent completes, run:
bm-sdk query intel.status
Display a summary showing:
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Add an idea to the backlog parking lot (999.x numbering)
日本語の概要は準備中です。原文の説明を表示しています。
Add phase to end of current milestone in roadmap
日本語の概要は準備中です。原文の説明を表示しています。
Generate tests for a completed phase based on UAT criteria and implementation
日本語の概要は準備中です。原文の説明を表示しています。
Capture idea or task as todo from current conversation context
日本語の概要は準備中です。原文の説明を表示しています。
Generate AI design contract (AI-SPEC.md) for phases that involve building AI systems — framework selection, implementation guidance from official docs, and evaluation strategy
日本語の概要は準備中です。原文の説明を表示しています。
Analyze phase dependencies and suggest Depends on entries for ROADMAP.md
日本語の概要は準備中です。原文の説明を表示しています。