/rudrankriyam:asc-workflowfrom rudrankriyam
Define, validate, and run repo-local multi-step automations with `asc workflow` and `.asc/workflow.json`. Use when migrating from lane tools, wiring CI pipelines, or orchestrating repeatable `asc` + shell release flows with hooks, conditionals, and sub-workflows.
Ships in rudrankriyam. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when you need lane-style automation inside the CLI using:
asc workflow runasc workflow validateasc workflow listThis feature is best for deterministic automation that lives in your repo, is reviewable in PRs, and can run the same way locally and in CI.
--help to confirm flags and subcommands:
asc workflow --helpasc workflow run --helpasc workflow validate --helpasc workflow list --help.asc/workflow.jsonasc workflow validateasc workflow listasc workflow list --all (includes private helpers)asc workflow run --dry-run betaasc workflow run beta BUILD_ID:123456789 GROUP_ID:abcdef.asc/workflow.jsonasc workflow run --file ./path/to/workflow.json <name>// and /* ... */)stdout: structured JSON result (status, steps, durations)stderr: step command output, hook output, dry-run previewsasc workflow validate always prints JSON and returns non-zero when invalidThis enables machine-safe checks:
asc workflow validate | jq -e '.valid == true'
asc workflow run beta BUILD_ID:123 GROUP_ID:xyz | jq -e '.status == "ok"'
Top-level keys:
env: global defaultsbefore_all: command run once before stepsafter_all: command run once after successful stepserror: command run when any failure occursworkflows: named workflow mapWorkflow keys:
descriptionprivate (not directly runnable)envstepsStep forms:
"echo hello" -> run steprun: shell commandworkflow: call sub-workflowname: label for reportingif: conditional var namewith: env overrides for workflow-call steps onlyKEY:VALUE / KEY=VALUE)asc workflow run <name> [KEY:VALUE ...] supports both separators:
VERSION:2.1.0VERSION=2.1.0$VAR)..asc/workflow.json; pass them via CI secrets/env.asc workflow run also accepts core flags after the workflow name:
--dry-run--pretty--fileExamples:
asc workflow run beta --dry-runasc workflow run beta --file .asc/workflow.json BUILD_ID:123before_all runs once before step executionafter_all runs only when steps succeederror runs on failure (step failure, before/after hook failure)Main workflow run:
definition.env < workflow.env < CLI paramsSub-workflow call step ("workflow": "...", "with": {...}):
env defaultswith overrides all"workflow": "<name>" to call helper workflows."private": true for helper-only workflows.asc workflow list unless --all is usedif)"if": "VAR_NAME" on a step.VAR_NAME is truthy.1, true, yes, y, on (case-insensitive).if lookup:
os.Getenv(VAR_NAME)asc workflow run --dry-run <name> does not execute commands.stderr.bash -o pipefail -c when bash is available.sh -c when bash is unavailable.--confirm for destructive asc operations inside steps.{
"env": {
"APP_ID": "123456789",
"VERSION": "1.0.0"
},
"before_all": "asc auth status",
"after_all": "echo workflow_done",
"error": "echo workflow_failed",
"workflows": {
"beta": {
"description": "Distribute a build to a TestFlight group and notify",
"env": {
"GROUP_ID": ""
},
"steps": [
{
"name": "list_builds",
"run": "asc builds list --app $APP_ID --sort -uploadedDate --limit 5"
},
{
"name": "list_groups",
"run": "asc testflight beta-groups list --app $APP_ID --limit 20"
},
{
"name": "add_build_to_group",
"if": "BUILD_ID",
"run": "asc builds add-groups --build $BUILD_ID --group $GROUP_ID"
},
{
"name": "notify",
"if": "SLACK_WEBHOOK",
"run": "echo sent_release_notice"
}
]
},
"release": {
"description": "Submit a version for App Store review",
"steps": [
{
"workflow": "sync-metadata",
"with": {
"METADATA_DIR": "./metadata"
}
},
{
"name": "submit",
"run": "asc submit create --app $APP_ID --version $VERSION --build $BUILD_ID --confirm"
}
]
},
"sync-metadata": {
"private": true,
"description": "Private helper workflow (callable only via workflow steps)",
"steps": [
{
"name": "migrate_validate",
"run": "echo METADATA_DIR_is_$METADATA_DIR"
}
]
}
}
}
# Validate and fail CI on invalid file
asc workflow validate | jq -e '.valid == true'
# Show discoverable workflows
asc workflow list --pretty
# Include private helpers
asc workflow list --all --pretty
# Preview a real run
asc workflow run --dry-run beta BUILD_ID:123 GROUP_ID:grp_abc
# Run with params and assert success
asc workflow run beta BUILD_ID:123 GROUP_ID:grp_abc | jq -e '.status == "ok"'
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
27 skills in this plugin
/asc-app-create-uiCreate a new App Store Connect app record via browser automation. Use when there is no public API for app creation and you need an agent to drive the New App form./asc-build-lifecycleTrack build processing, find latest builds, and clean up old builds with asc. Use when managing build retention or waiting on processing./asc-cli-usageGuidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery). Use when asked to run or design asc commands or interact with App Store Connect via the CLI./asc-crash-triageTriage TestFlight crashes, beta feedback, and performance diagnostics using asc. Use when the user asks about TF crashes, TestFlight crash reports, beta tester feedback, app hangs, disk writes, launch diagnostics, or wants a crash summary for a build or app./asc-id-resolverResolve App Store Connect IDs (apps, builds, versions, groups, testers) from human-friendly names using asc. Use when commands require IDs./asc-localize-metadataAutomatically translate and sync App Store metadata (description, keywords, what's new, subtitle) to multiple languages using LLM translation and asc CLI. Use when asked to localize an app's App Store listing, translate app descriptions, or add new languages to App Store Connect.npx claudepluginhub ulpi-io/plugin-marketplace --plugin rudrankriyam