plugin-workflow
БесплатноЗапускает вложенные скриптыНе проверенOrchestrates JUCE plugin implementation through stages 1-3 (Foundation, DSP, GUI) using subagent delegation with automatic validation after each stage. Use…
Об этом скилле
plugin-workflow Skill
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.
Overview
Implementation milestones:
- Build System Ready (Stage 1): Create build system and implement parameters (foundation-shell-agent)
- Audio Engine Working (Stage 2): Implement audio processing (dsp-agent)
- UI Integrated (Stage 3): Connect WebView interface to audio engine (gui-agent)
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).
Delegation Protocol
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:
- Load contracts in parallel (architecture.md, plan.md, parameter-spec.md, creative-brief.md)
- Read Required Reading (juce8-critical-patterns.md) once at workflow start
- Construct minimal prompt with plugin name + stage + Required Reading
- Invoke subagent via Task tool
- After subagent returns, invoke validation-agent (ALL stages 1-3)
- Execute checkpoint protocol (see references/checkpoint-protocol.md)
Stage routing:
- Stage 1 → foundation-shell-agent
- Stage 2 → dsp-agent
- Stage 3 → gui-agent
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.
Preconditions
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.
Resume Entry Point
When resuming via /continue [PluginName]:
- Verify state integrity (see references/state-management.md#verifyStateIntegrity)
- Parse
.continue-here.mdfor current stage and workflow mode - Verify contracts unchanged since last checkpoint (checksums match)
- Verify git working directory clean
- Verify PLUGINS.md status matches .continue-here.md stage
If all checks pass: Resume at stage specified in .continue-here.md If any fail: Present recovery menu (reconcile / clean working directory / review changes)
Workflow Mode
Determine whether to auto-progress (express mode) or present menus (manual mode).
Mode sources (priority order):
- Environment variables:
WORKFLOW_MODE=express|manual - .continue-here.md field (for resumed workflows)
- Default to "manual"
Express mode behavior:
- Auto-progress through stages without menus
- Drops to manual on ANY error (build failures, validation failures, etc.)
- Final menu always appears after Stage 3 (plugin complete)
See references/workflow-mode.md for implementation.
Stage Dispatcher
Entry point: Called by /implement or /continue after plugin-planning completes.
Dispatch flow:
- Verify state integrity → BLOCK if corrupted (exit 2 → run /reconcile)
- Check preconditions → BLOCK if failed
- Automatic brief sync (before Stage 1 only, if mockup exists) → See references/creative-brief-sync.md
- Route to subagent based on stage
- Pass contracts and Required Reading to subagent
- Wait for subagent completion
- Invoke validation-agent with enhanced runtime validation
- Execute checkpoint protocol
See references/dispatcher-pattern.md for full algorithm.
Phase-Aware Dispatch
For Stages 2-3 with complexity ≥3, use phase-aware dispatch to incrementally implement complex plugins.
When to use:
- Stage 2 (DSP) or Stage 3 (GUI)
- Complexity score ≥3 (from plan.md)
- plan.md contains phase markers (### Phase 2.X or ### Phase 3.X)
How it works:
- Detect phases by scanning plan.md for phase markers
- Loop through phases sequentially (Phase 2.1 → 2.2 → 2.3...)
- Invoke subagent once per phase with phase-specific prompt
- Run validation-agent after each phase
- Execute checkpoint protocol after each phase
- Present decision menu showing progress ("Phase 2 of 4 complete")
CRITICAL: Never send
Установить plugin-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Task # REQUIRED - All stages 1-3 MUST invoke subagentsBash # For git commitsRead # For contractsWrite # For documentationEdit # For state updatesВложенные файлы
FAQ
Что делает скилл plugin-workflow?
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.
Как установить скилл plugin-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plugin-workflow запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic