Orchestrates Stage 0 research and planning for JUCE plugins - creates architecture.md and plan.md contracts through subagent delegation...
Purpose: Handle Stage 0 (Research & Planning - consolidated) through subagent delegation. This skill creates the foundation contracts (architecture.md, plan.md) that guide implementation in a single consolidated pass.
Invoked by: /plan command or as first step of /implement workflow
Check preconditions first: See references/preconditions.md for detailed validation logic.
Quick validation:
plugins/[Name]/.ideas/If all preconditions pass → proceed to Stage 0
Goal: Create DSP architecture specification (architecture.md) AND implementation plan (plan.md) Duration: 5-35 minutes (complexity-dependent) Implementation: Delegated to research-planning-agent subagent via Task tool
Dispatch pattern:
Read contracts in parallel (use parallel Read calls in single tool invocation):
Invoke subagent:
Task(subagent_type="research-planning-agent", description="[prompt with contracts]", model="sonnet")
See references/subagent-invocation.md for detailed prompt construction.
After subagent returns, execute checkpoint protocol:
Subagent executes: Full Stage 0 protocol from research-planning-agent.md
Outputs:
plugins/[Name]/.ideas/architecture.md (see assets/architecture-template.md)plugins/[Name]/.ideas/plan.md (see assets/plan-template.md)Decision menu: Use assets/decision-menu-stage-0.md template
Menu option routing:
Note: research-planning-agent runs in fresh context (5-35 min session doesn't pollute orchestrator)
Validation before proceeding to Stage 1:
Templates:
assets/architecture-template.md - DSP architecture contract templateassets/plan-template.md - Implementation plan templateassets/decision-menu-stage-0.md - Decision menu template