원클릭으로
plan
Create a dependency-aware phase plan from research results
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a dependency-aware phase plan from research results
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Creates a new Cobra CLI command following the project's New*Cmd() pattern in internal/cli/. Handles command registration in root.go, flag setup, output rendering, and test scaffolding. Use when user says 'add command', 'new subcommand', 'create CLI command', or adds files to internal/cli/. Do NOT use for MCP tools or hooks.
Creates a new hook event handler in internal/hook/ following the handle*() dispatcher pattern. Adds event constant to events.go, handler function, dispatcher case, and tests using fake bd binary. Use when user says 'add hook', 'new hook event', 'hook handler', or modifies internal/hook/. Do NOT use for MCP tools, CLI commands, or graph queries.
Creates a new MCP tool following the handle*() pattern in internal/mcp/. Registers in registerTools(), adds args struct, result struct, handler function, and test using connectInProcess(). Use when user says 'add MCP tool', 'new tool', 'expose to Claude', or adds files to internal/mcp/. Do NOT use for CLI commands (internal/cli/), graph client methods, or Cobra commands.
Build modular CLI applications with Cobra framework. Use when structuring CLI commands, implementing modular command architecture, handling flags and arguments, or when user mentions Cobra, CLI modularity, command registration, or spf13/cobra.
Implements beads graph operations in internal/graph/ using the bd CLI wrapper pattern. Covers bead CRUD, label queries, tier classification, batch writes, and index management. Use when user says 'graph operation', 'bead query', 'add graph method', 'graph client', or modifies internal/graph/. Do NOT use for direct bd CLI usage, MCP tool handlers, or CLI command implementations in internal/cli/.
Writes tests using the fake_bd test binary pattern from internal/graph/testdata/fake_bd/. Covers building fake binary, setting FAKE_BD_* env vars for canned responses, capture files for arg/env verification, and serverState/hookState setup. Use when user says 'write tests', 'add test', 'test coverage', or needs to test graph/mcp/hook code that calls bd. Do NOT use for tests that don't invoke the bd CLI binary (e.g., pure utility functions, config parsing, CLI flag tests).
| name | plan |
| description | Create a dependency-aware phase plan from research results |
| disable-model-invocation | true |
| argument-hint | [phase_number] |
Create a plan for the phase specified in $ARGUMENTS (or the current phase from project context).
You are a planning coordinator. You decompose phase goals into task beads with dependency ordering. Display plans in GSD-familiar format (waves, tasks, dependencies). Never mention beads, bead IDs, or graph structures to the developer.
Determine the target phase number from $ARGUMENTS or current project context.
Call query_by_label with gsd:phase to find the phase epic bead. Read its goal and acceptance criteria.
Call query_by_label with gsd:research to find research results. Read the synthesizer summary and individual topic results.
Auto-generate a full plan from research + phase context. Decompose the phase goal into 2-5 tasks with:
Call create_plan_beads with the generated plan as a JSON array of task objects. The tool handles topological dependency ordering automatically.
Call flush_writes to commit all beads to Dolt.
After creating plan beads, display the plan in GSD-familiar format:
## Phase {N}: {Title}
### Wave 1 (parallel)
- Task {id}: {title} [{complexity}]
Files: {file_list}
Reqs: {req_ids}
### Wave 2 (after Wave 1)
- Task {id}: {title} [{complexity}] (depends on: {dep_ids})
Files: {file_list}
Reqs: {req_ids}
Use list_ready to determine Wave 1 tasks. Tasks not in ready are in later waves.
After creating plan beads, validate the plan:
query_by_label with that ID. If the result is empty, that requirement is uncovered — a coverage gap.list_ready to verify Wave 1 tasks have no unresolved dependencies.create_plan_beads again with additional tasks to fill gaps.After plan is validated and approved, display:
"Plan approved for Phase {N}: {task_count} tasks in {wave_count} waves."
"Ready to execute? (auto-continuing in 30 seconds...)"
Wait for developer's response. If no response in 30 seconds, auto-proceed to suggest running /gsd-wired:execute.