File contents asc signing setup
Iron Law
NEVER CREATE A NEW CERTIFICATE OR PROFILE WITHOUT CHECKING IF ONE ALREADY EXISTS — RUN LIST COMMANDS FIRST
Use this skill when you need to create or renew signing assets for iOS/macOS apps.
Preconditions
Auth is configured (asc auth login or ASC_* env vars).
You know the bundle identifier and target platform.
You have a CSR file for certificate creation.
Workflow
Create or find the bundle ID:
asc bundle-ids list --paginate
asc bundle-ids create --identifier "com.example.app" --name "Example" --platform IOS
Configure bundle ID capabilities:
asc bundle-ids capabilities list --bundle "BUNDLE_ID"
asc bundle-ids capabilities add --bundle "BUNDLE_ID" --capability ICLOUD
Add capability settings when required:
--settings '[{"key":"ICLOUD_VERSION","options":[{"key":"XCODE_13","enabled":true}]}]'
Create a signing certificate:
asc certificates list --certificate-type IOS_DISTRIBUTION
asc certificates create --certificate-type IOS_DISTRIBUTION --csr "./cert.csr"
Create a provisioning profile:
asc profiles create --name "AppStore Profile" --profile-type IOS_APP_STORE --bundle "BUNDLE_ID" --certificate "CERT_ID"
Include devices for development/ad-hoc:
asc profiles create --name "Dev Profile" --profile-type IOS_APP_DEVELOPMENT --bundle "BUNDLE_ID" --certificate "CERT_ID" --device "DEVICE_ID"
Download the profile:
asc profiles download --id "PROFILE_ID" --output "./profiles/AppStore.mobileprovision"
Rotation and cleanup
Revoke old certificates:
asc certificates revoke --id "CERT_ID" --confirm
Delete old profiles:
asc profiles delete --id "PROFILE_ID" --confirm
Notes
Always check --help for the exact enum values (certificate types, profile types).
Use --paginate for large accounts.
--certificate accepts comma-separated IDs when multiple certificates are required.
Device management uses asc devices commands (UDID required).
Documentation Sources
Source
How to Access
Purpose
asc CLI help
asc bundle-ids --help, asc certificates --help, asc profiles --help
Current flags for each signing entity
XcodeBuildMCP
show_build_settings tool
Inspect current signing config in Xcode project
1 --- 2 name: asc-signing-setup 3 description: asc signing setup 4 --- 5 6 # asc signing setup 7 8 ## Iron Law 9 10 **NEVER CREATE A NEW CERTIFICATE OR PROFILE WITHOUT CHECKING IF ONE ALREADY EXISTS — RUN LIST COMMANDS FIRST** 11 12 Use this skill when you need to create or renew signing assets for iOS/macOS apps. 13 14 ## Preconditions 15 - Auth is configured (`asc auth login` or `ASC_*` env vars). 16 - You know the bundle identifier and target platform. 17 - You have a CSR file for certificate creation. 18 19 ## Workflow 20 1. Create or find the bundle ID: 21 - `asc bundle-ids list --paginate` 22 - `asc bundle-ids create --identifier "com.example.app" --name "Example" --platform IOS` 23 2. Configure bundle ID capabilities: 24 - `asc bundle-ids capabilities list --bundle "BUNDLE_ID"` 25 - `asc bundle-ids capabilities add --bundle "BUNDLE_ID" --capability ICLOUD` 26 - Add capability settings when required: 27 - `--settings '[{"key":"ICLOUD_VERSION","options":[{"key":"XCODE_13","enabled":true}]}]'` 28 3. Create a signing certificate: 29 - `asc certificates list --certificate-type IOS_DISTRIBUTION` 30 - `asc certificates create --certificate-type IOS_DISTRIBUTION --csr "./cert.csr"` 31 4. Create a provisioning profile: 32 - `asc profiles create --name "AppStore Profile" --profile-type IOS_APP_STORE --bundle "BUNDLE_ID" --certificate "CERT_ID"` 33 - Include devices for development/ad-hoc: 34 - `asc profiles create --name "Dev Profile" --profile-type IOS_APP_DEVELOPMENT --bundle "BUNDLE_ID" --certificate "CERT_ID" --device "DEVICE_ID"` 35 5. Download the profile: 36 - `asc profiles download --id "PROFILE_ID" --output "./profiles/AppStore.mobileprovision"` 37 38 ## Rotation and cleanup 39 - Revoke old certificates: 40 - `asc certificates revoke --id "CERT_ID" --confirm` 41 - Delete old profiles: 42 - `asc profiles delete --id "PROFILE_ID" --confirm` 43 44 ## Notes 45 - Always check `--help` for the exact enum values (certificate types, profile types). 46 - Use `--paginate` for large accounts. 47 - `--certificate` accepts comma-separated IDs when multiple certificates are required. 48 - Device management uses `asc devices` commands (UDID required). 49 50 ## Documentation Sources 51 52 | Source | How to Access | Purpose | 53 |--------|--------------|---------| 54 | asc CLI help | `asc bundle-ids --help`, `asc certificates --help`, `asc profiles --help` | Current flags for each signing entity | 55 | XcodeBuildMCP | `show_build_settings` tool | Inspect current signing config in Xcode project |
kumaran-is/claude-code-onboarding/tree/main/.claude/skills/asc-signing-setup commit c41f18fc47
Frequently asked questions How do I install the Asc Signing Setup skill? Run npx skillmds@latest add kumaran-is/asc-signing-setup in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Asc Signing Setup skill do? asc signing setup It is listed under Coding & Dev Tools on SkillMD.
Is Asc Signing Setup safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Asc Signing Setup? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Asc Signing Setup free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Asc Signing Setup? kumaran-is (@kumaran-is) published this skill. Their other Agent Skills are listed on their SkillMD profile.