ship
БесплатноБез исполняемых скриптовНе проверенPackage a validated APC audio plugin into platform installers and release archives during the ship phase.
от Noizefield★ 379 звёзд на GitHubОб этом скилле
SKILL: PACKAGING (Cross-Platform)
Goal: Create professional, cross-platform plugin installers for Windows, macOS, and Linux
Trigger: /ship [Name] or "Ship [Name]"
Prerequisites: Phase 4 (CODE) complete, audio engine working, all tests passed
Output Location: release/[Name]_v[version]/ (honors paths.release_dir in apc.config.json)
Overview
This skill handles the complete packaging and distribution process for APC plugins. It supports:
- Local builds (current platform only)
- GitHub Actions builds (cross-platform CI/CD)
- Hybrid approach (local + remote for specific platforms)
Platform Support Matrix
| Platform | VST3 | AU | Standalone | LV2 | Local Build | GitHub Actions |
|---|---|---|---|---|---|---|
| Windows | ✓ | - | ✓ | - | ✓ (native) | ✓ |
| macOS | ✓ | ✓ | ✓ | - | ✗ | ✓ |
| Linux | ✓ | - | ✓ | ✓ | ✗ | ✓ |
STEP 1: DETECT CURRENT PLATFORM & BUILD STATUS
. ".\scripts\lib\Get-ApcPaths.ps1"
. ".\scripts\state-management.ps1"
$PluginPath = Get-ApcPluginPath -PluginName $PluginName
$ApcPaths = Get-ApcPaths
# Detect current operating system
$CurrentOS = if ($IsWindows -or ($env:OS -eq "Windows_NT")) { "Windows" }
elseif ($IsMacOS) { "macOS" }
elseif ($IsLinux) { "Linux" }
else { "Unknown" }
# Check for existing local build
$BuildDir = $ApcPaths.BuildDir
$HasLocalBuild = Test-Path "$BuildDir/*_artefacts/Release/*.vst3" -or
Test-Path "$BuildDir/*_artefacts/Release/*.component" -or
Test-Path "$BuildDir/*_artefacts/*.vst3"
Write-Host "Current Platform: $CurrentOS" -ForegroundColor Cyan
Write-Host "Local Build Found: $HasLocalBuild" -ForegroundColor Cyan
Write-Host "Plugins: $($ApcPaths.PluginsDir)" -ForegroundColor DarkGray
Write-Host "Release: $($ApcPaths.ReleaseDir)" -ForegroundColor DarkGray
STEP 2: ASK USER FOR PLATFORM SELECTION
CRITICAL: Before proceeding, ask the user which platforms to build for.
Platform Selection Prompt
╔══════════════════════════════════════════════════════════════╗
║ SHIP WORKFLOW - Platform Selection ║
╠══════════════════════════════════════════════════════════════╣
║ Current Platform: Windows ║
║ Local Build Status: Found ║
╠══════════════════════════════════════════════════════════════╣
║ Select platforms to include in release: ║
║ ║
║ [1] Windows (VST3, Standalone) - USE LOCAL BUILD ║
║ [2] Windows (VST3, Standalone) - BUILD WITH GITHUB ACTIONS ║
║ [3] macOS (VST3, AU, Standalone) - GITHUB ACTIONS REQUIRED ║
║ [4] Linux (VST3, LV2, Standalone) - GITHUB ACTIONS REQUIRED ║
║ [5] ALL PLATFORMS - Use local for current, GitHub for rest ║
║ ║
║ Enter numbers (comma-separated) or 'all': ║
╚══════════════════════════════════════════════════════════════╝
Decision Logic
# Determine which platforms need GitHub Actions
$PlatformsNeedingGitHub = @()
$PlatformsUsingLocal = @()
foreach ($platform in $SelectedPlatforms) {
if ($platform -eq $CurrentOS -and $HasLocalBuild -and $UseLocalBuild) {
$PlatformsUsingLocal += $platform
} else {
$PlatformsNeedingGitHub += $platform
}
}
# Inform user of the plan
Write-Host "`nBuild Plan:" -ForegroundColor Green
Write-Host " Local builds: $($PlatformsUsingLocal -join ', ')" -ForegroundColor Yellow
Write-Host " GitHub Actions: $($PlatformsNeedingGitHub -join ', ')" -ForegroundColor Yellow
STEP 3: LOCAL BUILD PROCESS (If Selected)
3.0 Prepare Documentation (AUTOMATIC)
CRITICAL: This step runs BEFORE installer creation and ensures documentation exists.
# Check if Documentation folder exists
$DocPath = Join-Path $PluginPath "Documentation"
if (-not (Test-Path $DocPath)) {
Write-Host "Creating Documentation folder..." -ForegroundColor Yellow
New-Item -ItemType Directory -Path $DocPath -Force | Out-Null
# Generate basic USER_MANUAL.md from plugin metadata
Write-Host "Generating basic documentation..." -ForegroundColor Yellow
$ManualContent = @"
# $PluginName User Manual
**Version $Version**
## Installation
See the installer for installation instructions.
## Parameters
[Auto-generated parameter list would go here]
## Credits
Built with Audio Plugin Coder (APC)
**© $(Get-Date -Format yyyy)** - https://noizefield.com
"@
Set-Content -Path "$DocPath\USER_MANUAL.md" -Value $ManualContent
Write-Host "✓ Basic documentation created" -ForegroundColor Green
Write-Host " You can edit: $DocPath\USER_MANUAL.md" -ForegroundColor Cyan
Установить ship в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ship?
Package a validated APC audio plugin into platform installers and release archives during the ship phase.
Как установить скилл ship?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ship запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…
от 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…
от 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…
от 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…
от Anthropic