Create New Plugin (iPlug2OOS)
Use this skill when the user wants to create a new plugin project in this out-of-source repository.
Workflow
Gather project details:
- Plugin name (required): No spaces or special characters
- Manufacturer name (required): No spaces
Check for existing projects:
- If other project folders exist besides TemplateProject, ask if user wants to continue with existing work or create new
Run duplicate script:
./duplicate.py TemplateProject [PluginName] [ManufacturerName]
Offer config.h customization:
PLUG_UNIQUE_ID - Verify the auto-generated 4-char ID
PLUG_MFR_ID - Set manufacturer's 4-char ID
- Copyright, URLs - allow skipping for later
Ask about committing:
git add [PluginName]/*
git add .vscode/*
git add .github/*
git add bump_version.py
git commit -m "created [PluginName] based on TemplateProject"
Next steps:
- Open in Xcode:
open [PluginName]/[PluginName].xcworkspace
- Build: Use the
build skill from iPlug2
- Setup SDKs: Use the
setup-deps skill if needed
Example
./duplicate.py TemplateProject MySynth MyBrand
Creates MySynth/ with all project files configured and ready to build.