impl
FreeNo executable scriptsNot checkedImplement an APC audio plugin's DSP and parameter processing during the implementation phase.
by Noizefield★ 379 GitHub starsAbout this skill
SKILL: DSP IMPLEMENTATION
Goal: Implement audio processing where parameters control DSP
Focus: PluginProcessor.h, PluginProcessor.cpp
Output Location: $PluginPath/Source/
📊 PHASE 4: CODE (DSP Implementation)
Trigger: /impl [Name] (after DESIGN phase complete)
Input: Reads $PluginPath/status.json and .ideas/parameter-spec.md
Prerequisites: Architecture plan complete, UI framework selected
State Validation:
# Import state management module
. "$PSScriptRoot\..\scripts\state-management.ps1"
$PluginPath = Get-ApcPluginPath -PluginName $PluginName
# Validate prerequisites
if (-not (Test-PluginState -PluginPath $PluginPath -RequiredPhase "design_complete" -RequiredFiles @(".ideas/architecture.md", ".ideas/plan.md"))) {
Write-Error "Prerequisites not met. Complete design phase first."
exit 1
}
# Check framework selection
$state = Get-PluginState -PluginPath $PluginPath
if ($state.ui_framework -eq "pending") {
Write-Error "UI framework not selected. Cannot proceed with implementation."
exit 1
}
Write-Host "Framework: $($state.ui_framework)" -ForegroundColor Cyan
🎨 PHASE 4.0: DESIGN-TO-FRAMEWORK CONVERSION (CRITICAL - BEFORE DSP CODE)
Framework Routing:
- If
ui_framework == webview: use templates fromtemplates/webview/ - If
ui_framework == visage: use templates fromtemplates/visage/and do not generate HTML
IMPORTANT: This phase converts the approved design specifications into framework-specific code. User must approve the conversion before DSP implementation begins.
4.0.1 Read Approved Design
- Read
Design/v[N]-ui-spec.md(latest approved version) - Read
Design/v[N]-style-guide.md(latest approved version) - Read
.ideas/parameter-spec.mdfor parameter definitions
4.0.2 Framework-Specific Conversion
For WebView Framework: Convert the approved design specs into production JUCE WebView code.
Create the required directory structure:
$PluginPath/Source/ui/
└───public/
│ index.html # Production UI based on approved design - ALL CSS/JS inline (webview-008)
│ test-local.html # Browser-test copy of index.html
Implementation Steps:
- Create directory:
$PluginPath/Source/ui/public/ - Inline the JUCE frontend library: Take
_tools/JUCE/modules/juce_gui_extra/native/typescript/webview-interop/dist/index.js, remove itsimport/exportstatements, expose it aswindow.Juce, and paste it into a single<script>block inindex.html(ES6 modules fail silently in WebView - webview-008) - Convert design to HTML: Transform approved design specs into
index.htmlwith embedded CSS - Inline UI JavaScript: Append parameter state setup and UI controls to the SAME
<script>block - NO external.jsfiles - Create browser-test copy: Duplicate
index.htmlastest-local.html
Conversion Process:
- Extract layout, colors, and styling from
v[N]-style-guide.md - Extract control specifications from
v[N]-ui-spec.md - Generate HTML structure matching the approved design
- Implement interactive controls using JUCE parameter states
- Apply approved color palette and visual style
Example Output (based on approved design):
ui/public/index.html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>[Name] Plugin</title>
<!-- webview-008: ALL JavaScript must be INLINE - external scripts fail silently -->
<style>
/* Styles based on approved v[N]-style-guide.md */
body {
background: [approved-background-color];
color: [approved-text-color];
font-family: [approved-font-family];
margin: 0;
padding: 20px;
}
/* Additional styles from approved design */
</style>
</head>
<body>
<!-- Layout based on approved v[N]-ui-spec.md -->
<div id="plugin-ui">
<!-- Controls generated from parameter-spec.md -->
</div>
</body>
</html>
Inline JavaScript (inside ui/public/index.html):
// NO imports allowed (webview-008):
const Juce = window.Juce;
// Initialize parameter states from parameter-spec.md
const parameterStates = {};
document.addEventListener("DOMContentLoaded", () => {
// Create UI controls based on approved design
initializeUI();
console.log("WebView UI initialized from approved design");
});
function initializeUI() {
// Generate controls based on v[N]-ui-spec.md specifications
// Bind to JUCE parameter states
}
USER APPROVAL REQUIRED - CRITICAL STOP POINT:
✅ Design converted to WebView code
Files created:
- $PluginPath/Source/ui/public/index.html (ALL JavaScript inline)
⚠️ **MANDATORY STOP** - You MUST test the WebView setup before proceeding to DSP implementation!
What would you like to do?
1. Test WebView - Open $PluginPath/Source/ui/public/index.html in browser and verify appearance
2. Approve - Pr
Install impl in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the impl skill do?
Implement an APC audio plugin's DSP and parameter processing during the implementation phase.
How do I install the impl skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the impl skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
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…
by 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…
by 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…
by 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…
by Anthropic