Command Palette

Search for a command to run...

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

plan

БесплатноБез исполняемых скриптовНе проверен

Define DSP architecture, assess complexity, and plan implementation for an APC audio plugin after ideation.

Noizefieldот Noizefield★ 379 звёзд на GitHub

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

SKILL: ARCHITECTURE & PLANNING

Goal: Define DSP architecture, complexity assessment, and implementation strategy Trigger: /plan [Name] Input: Reads $PluginPath/.ideas/creative-brief.md and parameter-spec.md Output Location: $PluginPath/.ideas/


🎯 PHASE 2: PLAN (Architecture & Strategy)

Prerequisites:

  • $PluginPath/.ideas/creative-brief.md exists
  • $PluginPath/.ideas/parameter-spec.md exists
  • Phase 1 (DREAM) complete

Output Files:

  • $PluginPath/.ideas/architecture.md - DSP component design
  • $PluginPath/.ideas/plan.md - Implementation strategy and complexity assessment

📋 STEP 1: ARCHITECTURE DEFINITION

1.1 Read Input Contracts

Read these files in parallel:

  • $PluginPath/.ideas/creative-brief.md - Plugin concept and behavior
  • $PluginPath/.ideas/parameter-spec.md - Parameter definitions and ranges

1.2 Define DSP Architecture

Create $PluginPath/.ideas/architecture.md with this structure:

# DSP Architecture Specification

## Core Components
List the main DSP building blocks needed:

**Example for a compressor:**
- Input gain stage
- Sidechain detection (RMS/Peak)
- Gain computer (log/linear)
- Lookahead delay buffer
- Output gain stage

**Example for a delay:**
- Input buffer management
- Delay line (circular buffer)
- Feedback processing
- Mix control
- Output processing

## Processing Chain
Define the signal flow:

Input → [Component 1] → [Component 2] → ... → Output


**Example:**

Input → Input Gain → Sidechain → Detector → Gain Computer → Lookahead → Output Gain → Output


## Parameter Mapping
Map each parameter to DSP components:

| Parameter | Component | Function | Range |
|-----------|-----------|----------|-------|
| Threshold | Detector | Sets detection level | -60dB to 0dB |
| Ratio | Gain Computer | Sets compression ratio | 1:1 to 20:1 |
| Attack | Detector | Sets attack time | 0.1ms to 100ms |

## Complexity Assessment
Rate the plugin complexity (1-5):

**Level 1 (Simple):** Basic gain, simple filter, single parameter
**Level 2 (Moderate):** Multi-parameter, basic dynamics, simple modulation
**Level 3 (Advanced):** Multi-band processing, complex algorithms, state management
**Level 4 (Expert):** Synthesis engines, complex feedback, real-time analysis
**Level 5 (Research):** Machine learning, complex modeling, advanced DSP

**Score: [1-5]**
**Rationale: [Explain the complexity factors]**

📊 STEP 2: IMPLEMENTATION PLANNING

2.1 Create Implementation Plan

Create $PluginPath/.ideas/plan.md with this structure:

# Implementation Plan

## Complexity Score: [1-5]

## Implementation Strategy

### Single-Pass Implementation (Score ≤2)
Execute all DSP components in one implementation session:
- Core processing logic
- Parameter binding
- Basic optimization

**Example for simple gain plugin:**
- Implement gain calculation
- Connect to parameter
- Add smoothing

### Phased Implementation (Score ≥3)
Break implementation into logical phases:

**Phase 2.1.1: Core Processing**
- [ ] Basic signal path
- [ ] Core DSP algorithm
- [ ] Parameter integration

**Phase 2.1.2: Optimization**
- [ ] Real-time safety
- [ ] Memory management
- [ ] Performance tuning

**Phase 2.1.3: Polish**
- [ ] Edge case handling
- [ ] State management
- [ ] Testing integration

## Dependencies
List required JUCE modules and external dependencies:

**Required JUCE Modules:**
- juce_audio_basics
- juce_audio_processors
- juce_dsp

**Optional Modules:**
- juce_gui_basics (for custom UI)
- juce_audio_formats (for file I/O)

## Risk Assessment
Identify potential implementation challenges:

**High Risk:**
- [List complex algorithms or real-time constraints]

**Medium Risk:**
- [List parameter smoothing or state management issues]

**Low Risk:**
- [List straightforward components]

🎨 STEP 3: UI FRAMEWORK SELECTION

3.1 Framework Decision

Based on the architecture complexity and plugin requirements:

Visage Framework (Recommended for):

  • Simple to moderate complexity (Score 1-3)
  • Performance-critical plugins
  • Minimal UI requirements
  • Pure C++ development preference

WebView Framework (Recommended for):

  • Complex UI requirements
  • Rich visualizations
  • Interactive controls
  • Web-based design workflow

If user has not explicitly chosen a UI framework, ask this question before deciding: "Do you want WebView2 (HTML/JS UI) or Visage (native C++) for this plugin?"

Decision: [visage/webview] Rationale: [Explain the choice based on plugin requirements]

3.1b Format Decision: CLAP (opt-in)

CLAP output is opt-in per plugin (default: VST3 + Standalone only). If the user has not stated a preference, ask:

"Also build a CLAP version of this plugin? (Loads in Bitwig, REAPER, FL Studio, Studio One and more — no extra code needed, clap-juce-extensions wraps the same AudioProcessor. Pro Tools does not load CLAP.)"

If the plugin opts in, record it in status.json via `Complete-

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

Установить plan в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл plan?

Define DSP architecture, assess complexity, and plan implementation for an APC audio plugin after ideation.

Как установить скилл plan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл plan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить plan с