首页/ AI 技能 / @skilllib/skill-2014279407462985729
Skill站外收录 @skilllib/skill-2014279407462985729

duplicate-example

支持基于 iPlug2 官方示例快速生成全新的音频插件工程,用户只需指定插件名称、厂商名及目标模板类型,系统即可自动复制并重命名项目文件,完成基础配置,适用于从效果器、合成器到各类 UI 方案的插件开发起始阶段。

0.0 (0) 138 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# Clone an iPlug2 Example Use this skill when the user wants to create a new plugin project from an iPlug2 example. ## Workflow 1. **Ask for project details:** - **Plugin name** (required): No spaces or special characters - **Manufacturer name** (required): Default to "AcmeInc" if not provided - **Base template**: Which example to clone from 2. **Available templates:** | Template | Description | |----------|-------------| | IPlugEffect | Basic audio effect (volume control) - **recommended for effects** | | IPlugInstrument | MPE-capable polyphonic synth - **recommended for instruments** | | IPlugControls | Widget demonstration | | IPlugWebUI | HTML/CSS/JS UI via WebView | | IPlugSwiftUI | SwiftUI for macOS/iOS | | IPlugSvelteUI | Svelte-based UI | 3. **Run the duplicate script:** ```bash cd Examples ./duplicate.py [SourceExample] [NewPluginName] [ManufacturerName] ``` 4. **Customize config.h** (offer to user): - `PLUG_UNIQUE_ID` - Auto-generated 4-char ID (verify it's unique) - `PLUG_MFR_ID` - 4-char manufacturer ID - Copyright, email, URLs - prompt but allow skipping 5. **Warn about sensitive settings:** - Don't change `BUNDLE_NAME` without updating plist files - Keep config.h free of `#include` statements ## Example ```bash cd Examples ./duplicate.py IPlugEffect MyGainPlugin MyCompany ``` Creates `Examples/MyGainPlugin/` with all project files renamed and configured.

评论 0

还没有评论,来抢沙发。