asc-plugins
Original:🇺🇸 English
Translated
Manage ASC plugins that extend the CLI with custom event handlers using the `asc` CLI tool. Use this skill when: (1) Listing installed plugins: "asc plugins list" (2) Installing a plugin: "asc plugins install PATH" (3) Removing a plugin: "asc plugins uninstall --name NAME" (4) Enabling or disabling plugins: "asc plugins enable/disable --name NAME" (5) Testing a plugin manually: "asc plugins run --name NAME --event EVENT" (6) User asks to "create a plugin", "add Slack notifications", "wire up a Telegram bot on build upload", or "extend the CLI with a custom handler" (7) Explaining the plugin protocol (manifest.json + run executable + JSON stdin/stdout)
11installs
Sourcetddworks/asc-cli-skills
Added on
NPX Install
npx skill4agent add tddworks/asc-cli-skills asc-pluginsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →asc plugins
Install executable plugins in to handle ASC lifecycle events — send Slack messages, post to Telegram, trigger webhooks, or run any custom automation when builds upload or versions submit.
~/.asc/plugins/<name>/Commands
list — show all installed plugins
bash
asc plugins list [--pretty]install — install from a local directory
bash
asc plugins install <path> # directory must contain manifest.json + run executableuninstall
bash
asc plugins uninstall --name <name>enable / disable
bash
asc plugins enable --name <name>
asc plugins disable --name <name> # leaves plugin installed, just suppressedrun — manually test a plugin
bash
asc plugins run --name <name> --event <event> \
[--app-id <id>] [--version-id <id>] [--build-id <id>]Events: · · ·
build.uploadedversion.submittedversion.approvedversion.rejectedPlugin Protocol
A plugin is any directory with:
| File | Purpose |
|---|---|
| Name, version, description, subscribed events |
| Executable (any language, |
stdin → plugin:
json
{
"event": "build.uploaded",
"payload": {
"event": "build.uploaded",
"appId": "123456789",
"buildId": "upload-42",
"timestamp": "2026-03-01T12:00:00Z",
"metadata": {}
}
}plugin → stdout:
json
{"success": true, "message": "Slack notification sent"}Exit code 0 = success. Non-zero = logged to stderr, other plugins continue unaffected.
manifest.json
json
{
"name": "slack-notify",
"version": "1.0.0",
"description": "Send Slack notifications for App Store events",
"author": "Your Name",
"events": ["build.uploaded", "version.submitted"]
}Typical Workflow — Create & Install a Slack Plugin
bash
# 1. Create plugin directory
mkdir ~/slack-notify
cat > ~/slack-notify/manifest.json <<'EOF'
{
"name": "slack-notify",
"version": "1.0.0",
"description": "Slack notifications",
"events": ["build.uploaded", "version.submitted"]
}
EOF
cat > ~/slack-notify/run <<'EOF'
#!/bin/bash
INPUT=$(cat)
EVENT=$(echo "$INPUT" | python3 -c "import sys,json; print(json.load(sys.stdin)['event'])")
curl -s -X POST "$SLACK_WEBHOOK_URL" \
-H 'Content-type: application/json' \
--data "{\"text\":\":rocket: ASC event: $EVENT\"}" > /dev/null
echo '{"success": true, "message": "Sent to Slack"}'
EOF
chmod +x ~/slack-notify/run
# 2. Install
asc plugins install ~/slack-notify
# 3. Test (dry-run before uploading a real build)
asc plugins run --name slack-notify --event build.uploaded \
--app-id 123456789 --build-id test-build --pretty
# 4. Upload — plugin fires automatically
asc builds upload --app-id 123456789 --file MyApp.ipa --version 1.0.0 --build-number 42
# 5. Manage
asc plugins list
asc plugins disable --name slack-notify
asc plugins enable --name slack-notify
asc plugins uninstall --name slack-notifyAuto-fired Events
| Command | Event emitted |
|---|---|
| |
| |
Individual plugin failures are logged to stderr and never block other plugins or the primary command output.
JSON Output
json
{
"data": [
{
"affordances": {
"disable": "asc plugins disable --name slack-notify",
"listPlugins": "asc plugins list",
"run.build.uploaded": "asc plugins run --name slack-notify --event build.uploaded",
"run.version.submitted": "asc plugins run --name slack-notify --event version.submitted",
"uninstall": "asc plugins uninstall --name slack-notify"
},
"author": "Your Name",
"description": "Send Slack notifications for App Store events",
"executablePath": "~/.asc/plugins/slack-notify/run",
"id": "slack-notify",
"isEnabled": true,
"name": "slack-notify",
"subscribedEvents": ["build.uploaded", "version.submitted"],
"version": "1.0.0"
}
]
}Disabled plugins show affordance instead of .
"enable""disable"Plugin Storage
~/.asc/plugins/
└── slack-notify/
├── manifest.json
├── run ← executable (chmod +x)
└── .disabled ← optional: present = disabledSee Also
- Full feature doc:
docs/features/plugins.md - CAEOAS: follow from any
affordances.listPluginsresponseasc plugins list