Loading...
Loading...
Manage Xcode Cloud CI/CD using the `asc` CLI tool. Use this skill whenever the user mentions anything related to Xcode Cloud or CI builds, including: - "trigger a build", "start a CI build", "kick off a pipeline", "run CI" - "check build status", "did my build pass", "my build failed", "CI is broken" - "list workflows", "list products", "show me my builds" - "xcode cloud", "CI build", "build run", "pipeline", "check if my PR triggered a build" - Any `asc xcode-cloud` command usage
npx skill4agent add tddworks/asc-cli-skills asc-xcode-cloudascasc auth login --key-id <id> --issuer-id <id> --private-key-path ~/.asc/AuthKey.p8"affordances"{
"id": "prod-abc123",
"name": "My App",
"affordances": {
"listWorkflows": "asc xcode-cloud workflows list --product-id prod-abc123"
}
}startBuildstartBuildisEnabled: false{
"id": "wf-xyz",
"name": "CI Build",
"isEnabled": true,
"affordances": {
"startBuild": "asc xcode-cloud builds start --workflow-id wf-xyz",
"listBuildRuns": "asc xcode-cloud builds list --workflow-id wf-xyz"
}
}# 1. Find the Xcode Cloud product for your app
asc xcode-cloud products list --app-id 6443417124 --pretty
# 2. Copy the listWorkflows affordance from the response and run it
asc xcode-cloud workflows list --product-id prod-abc123 --pretty
# 3. Copy the startBuild affordance from the workflow you want and run it
asc xcode-cloud builds start --workflow-id wf-xyz --prettyPRODUCT_ID=$(asc xcode-cloud products list --app-id APP_ID | jq -r '.data[0].id')
WORKFLOW_ID=$(asc xcode-cloud workflows list --product-id "$PRODUCT_ID" \
| jq -r '.data[] | select(.name == "CI Build") | .id')
asc xcode-cloud builds start --workflow-id "$WORKFLOW_ID"asc xcode-cloud builds get --build-run-id run-99 --prettyexecutionProgressCOMPLETEcompletionStatusasc xcode-cloud builds list --workflow-id wf-xyz --output tableasc xcode-cloud builds start --workflow-id wf-xyz --cleanexecutionProgress| Value | Meaning |
|---|---|
| Queued, not started yet |
| Actively building |
| Done — check |
completionStatusCOMPLETE| Value | Meaning | |
|---|---|---|
| All actions passed | false |
| One or more actions failed | true |
| Infrastructure/system error | true |
| Manually cancelled | false |
| Build was skipped | false |