Orchestrates JUCE plugin implementation through stages 1-3 (Foundation, DSP, GUI) using subagent delegation with automatic validation after each stage. Use when implementing plugins after planning completes, or when resuming with /continue command. Invoked by /implement command.
Purpose: Pure orchestrator for stages 1-3 of JUCE plugin implementation with automatic validation after each stage. This skill delegates to specialized subagents and validation-agent for continuous quality assurance.
Implementation milestones:
Stage 0 (Research & Planning) is handled by plugin-planning skill.
After Stage 3 completes, plugin is ready for installation (no separate validation stage - validation is automatic and continuous).
CRITICAL: Stages 1-3 MUST invoke subagents via Task tool. This skill is a pure orchestrator and NEVER implements plugin code directly.
Delegation sequence for every stage:
Stage routing:
Validation routing:
After each stage completes, validation-agent runs automatically with enhanced runtime validation (compile-time + runtime tests). If validation fails with continue_to_next_stage: false, workflow BLOCKS until issues resolved.
Before starting Stage 1, verify these contract files exist:
plugins/$PLUGIN_NAME/.ideas/architecture.md (from Stage 0)plugins/$PLUGIN_NAME/.ideas/plan.md (from Stage 0)plugins/$PLUGIN_NAME/.ideas/creative-brief.md (from ideation)plugins/$PLUGIN_NAME/.ideas/parameter-spec.md (from UI mockup finalization)If parameter-spec-draft.md exists but parameter-spec.md missing: Block with message: "Draft parameters found, but full specification required. Complete UI mockup workflow to generate parameter-spec.md. Run: /dream [PluginName] → option 2 (Full UI mockup first)"
If contracts missing:
Block and instruct user to run /plan [PluginName] to complete Stage 0.
See references/precondition-checks.md for implementation.
When resuming via /continue [PluginName]:
.continue-here.md for current stage and workflow modeIf all checks pass: Resume at stage specified in .continue-here.md If any fail: Present recovery menu (reconcile / clean working directory / review changes)
Determine whether to auto-progress (express mode) or present menus (manual mode).
Mode sources (priority order):
WORKFLOW_MODE=express|manualExpress mode behavior:
See references/workflow-mode.md for implementation.
Entry point: Called by /implement or /continue after plugin-planning completes.
Dispatch flow:
See references/dispatcher-pattern.md for full algorithm.
For Stages 2-3 with complexity ≥3, use phase-aware dispatch to incrementally implement complex plugins.
When to use:
How it works:
CRITICAL: Never send "Implement ALL phases" to subagent. This caused DrumRoulette Stage 2 compilation errors. Phase-aware dispatch is MANDATORY for complex plugins.
See references/phase-aware-dispatch.md for detailed algorithm.
After EVERY subagent return, execute this 6-step sequence:
Checkpoint applies to:
See references/checkpoint-protocol.md for implementation.
Stages 1-3 invoke validation-agent with enhanced runtime validation after subagent completes:
status: FAIL and continue_to_next_stage: false, workflow stopsBlocking behavior:
continue_to_next_stage: true: Present warning, allow continuationcontinue_to_next_stage: false: BLOCK workflow, present error menuSee references/validation-integration.md for functions.
Subagents update state files AND return JSON report:
{
"status": "success" | "error",
"stage": 1-3,
"completionStatement": "...",
"filesCreated": [...],
"nextSteps": [...],
"stateUpdated": true | false,
"stateUpdateError": "..." (optional)
}
Verification:
stateUpdated field in JSON reportFallback: Orchestrator reads current state, updates fields, writes back.
See references/state-management.md for fallback implementation.
All subagents (stages 1-3) receive troubleshooting/patterns/juce8-critical-patterns.md to prevent repeat mistakes.
Implementation:
Each stage has detailed documentation in references/:
Invoked by:
/implement command (after plugin-planning completes)/continue command (for stages 1-3)context-resume skill (when resuming implementation)Invokes via Task tool:
foundation-shell-agent (Stage 1) - REQUIREDdsp-agent (Stage 2) - REQUIREDgui-agent (Stage 3) - REQUIREDvalidation-agent (Stages 1-3) - REQUIRED, BLOCKING on runtime failuresAlso invokes:
build-automation skill (build verification)plugin-lifecycle skill (if user chooses to install)Reads (contracts):
Creates:
Updates:
Deletes after Stage 3:
Contract files missing before Stage 1:
Block and instruct user to run /plan [PluginName].
Build fails during subagent execution: Subagent returns error. Present menu:
State mismatch detected (exit 2):
BLOCKING error - user must run /reconcile [PluginName] to fix.
Validation fails with continue_to_next_stage: false: BLOCKING error. Present menu with investigation options. Workflow cannot proceed until issues resolved.
Validation fails with continue_to_next_stage: true: Present warning, allow user to decide whether to continue or fix issues first.
See references/error-handling.md for detailed patterns.
Use inline numbered menus for:
Format:
✓ [Milestone name]
What's next?
1. [Next milestone action] (recommended)
2. [Run tests] - Verify implementation
3. [Pause workflow] - Resume anytime
4. [Review code] - See what was implemented
5. Other
Choose (1-5): _
Express mode: Skip menus and auto-progress to next stage (except final stage). Manual mode: ALWAYS wait for user response.
Workflow succeeds when:
Common pitfalls to AVOID:
CRITICAL:
CRITICAL:
CRITICAL:
HIGH:
HIGH:
HIGH:
MEDIUM:
npx skills add glittercowboy/plugin-workflow下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer