Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

plugin-workflow

БесплатноЗапускает вложенные скриптыНе проверен

Orchestrates JUCE plugin implementation through stages 1-3 (Foundation, DSP, GUI) using subagent delegation with automatic validation after each stage. Use…

glittercowboyот glittercowboy★ 225 звёзд на GitHub22 установки в других каталогах

Об этом скилле

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:

  1. Load contracts in parallel (architecture.md, plan.md, parameter-spec.md, creative-brief.md)
  2. Read Required Reading (juce8-critical-patterns.md) once at workflow start
  3. Construct minimal prompt with plugin name + stage + Required Reading
  4. Invoke subagent via Task tool
  5. After subagent returns, invoke validation-agent (ALL stages 1-3)
  6. 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]:

  1. Verify state integrity (see references/state-management.md#verifyStateIntegrity)
  2. Parse .continue-here.md for current stage and workflow mode
  3. Verify contracts unchanged since last checkpoint (checksums match)
  4. Verify git working directory clean
  5. 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):

  1. Environment variables: WORKFLOW_MODE=express|manual
  2. .continue-here.md field (for resumed workflows)
  3. 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:

  1. Verify state integrity → BLOCK if corrupted (exit 2 → run /reconcile)
  2. Check preconditions → BLOCK if failed
  3. Automatic brief sync (before Stage 1 only, if mockup exists) → See references/creative-brief-sync.md
  4. Route to subagent based on stage
  5. Pass contracts and Required Reading to subagent
  6. Wait for subagent completion
  7. Invoke validation-agent with enhanced runtime validation
  8. 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:

  1. Detect phases by scanning plan.md for phase markers
  2. Loop through phases sequentially (Phase 2.1 → 2.2 → 2.3...)
  3. Invoke subagent once per phase with phase-specific prompt
  4. Run validation-agent after each phase
  5. Execute checkpoint protocol after each phase
  6. Present decision menu showing progress ("Phase 2 of 4 complete")

CRITICAL: Never send

Полный SKILL.md на GitHub

Установить plugin-workflow в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Task # REQUIRED - All stages 1-3 MUST invoke subagents
Bash # For git commits
Read # For contracts
Write # For documentation
Edit # For state updates

Вложенные файлы

assets/architecture.mdassets/continue-here-template.mdassets/decision-menus.jsonassets/notes-template.mdassets/plan.mdreferences/README.mdreferences/checkpoint-protocol.mdreferences/creative-brief-sync.mdreferences/dispatcher-pattern.mdreferences/error-handling.mdreferences/integration-contracts.mdreferences/milestone-terminology.mdreferences/phase-aware-dispatch.mdreferences/precondition-checks.mdreferences/precondition-checks.shreferences/stage-1-foundation-shell.mdreferences/stage-2-dsp.mdreferences/stage-3-gui.mdreferences/stage-5-validation.md.deprecatedreferences/state-management.mdreferences/validation-integration.mdreferences/workflow-mode.md

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить plugin-workflow с