From apple-dev-skills
Plan and safely automate officially supported Apple Developer provisioning and CloudKit workflows through the App Store Connect REST API, Xcode-aware local discovery, cktool, and CKTool JS. Use when inspecting or changing bundle IDs, capabilities, certificates, devices, provisioning profiles, CloudKit schemas, or sandbox test data while keeping portal-only configuration, credentials, dry runs, and confirmation gates explicit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apple-dev-skills:apple-developer-provisioning-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide Apple Developer provisioning and CloudKit work without treating the Developer Portal as an undocumented API. The supported automation path is the App Store Connect REST provisioning API for bundle IDs, capabilities, certificates, devices, and profiles; `xcrun cktool` or CKTool JS for existing CloudKit containers; and local Xcode or `xcrun mcpbridge` discovery when a project-aware view imp...
Guide Apple Developer provisioning and CloudKit work without treating the Developer Portal as an undocumented API. The supported automation path is the App Store Connect REST provisioning API for bundle IDs, capabilities, certificates, devices, and profiles; xcrun cktool or CKTool JS for existing CloudKit containers; and local Xcode or xcrun mcpbridge discovery when a project-aware view improves safety.
The workflow never commits a .p8 key, CloudKit token, JWT, profile payload, or local signing material. It plans first, reads state before changing it, uses short-lived JWTs only in the invoking process, and requires an explicit confirmation immediately before every create, update, revoke, delete, reset, or schema/data apply operation.
xcrun cktool or the TypeScript-ready CKTool JS packages.xcode-build-run-workflow for target edits, entitlements, signing settings, build, device, or profile-install follow-through.xcode-coding-intelligence-workflow for a running Xcode session or external access through xcrun mcpbridge.explore-apple-swift-docs when current Apple documentation is the primary need..p8 private key only in local secret storage such as Keychain or an approved local secret manager; never place them in the repo, project settings, CI logs, shell history, or agent transcript;xcrun cktool save-token --type management so macOS Keychain owns it.xcrun mcpbridge when Xcode is open;cktool or CKTool JS;cktool or CKTool JS;xcrun cktool for interactive local, one-off, Keychain-backed work;@apple/cktool.database with @apple/cktool.target.nodejs, inject the management token from local secret storage at runtime, and never commit it;request: desired provisioning or CloudKit outcome.team_context: Apple Developer team ID, program type, and account role, when available.project_context: Xcode project/workspace, target, bundle ID, entitlements, and signing mode.operation_mode: inspect, plan, apply, portal-only, or unknown; default is plan.cloudkit_context: existing container ID, environment, schema/data intent, and whether cktool or a TypeScript integration harness is preferred.status
success: supported read-only discovery or a confirmed, verified mutation completed.plan: the supported requests and portal tasks are ready, but no mutation has occurred.portal-only: the requested configuration needs Apple Developer Portal interaction.blocked: account role, team key, CloudKit token, project evidence, docs, or confirmation is missing.path_type
app-store-connect-provisioning, xcode-discovery, cloudkit-cktool, cloudkit-js, portal-only, or handoff.output
.p8 private keys, App Store Connect JWTs, CloudKit management tokens, user tokens, profile contents, certificate private keys, or Keychain exports.xcode-build-run-workflow.blocked when an Enterprise Program account needs its separate API, or the chosen App Store Connect team lacks an eligible team API key, required role, CloudKit management token, a confirmed target/container/environment, or fresh mutation confirmation.diagnose-apple-entitlements when the desired capability, tracked source, account/profile authorization, final signed entitlement, or runtime result disagree; return here only for the account-side correction it identifies.xcode-build-run-workflow for entitlement, signing, target, build, profile-install, simulator, or device validation work.xcode-coding-intelligence-workflow for Xcode-hosted inspection or external access through xcrun mcpbridge; it owns the running-Xcode and permissions boundary.explore-apple-swift-docs for current App Store Connect, Xcode, CloudKit, or entitlement documentation lookup.references/snippets/apple-xcode-project-core.md when a repository needs durable Xcode-project guidance for entitlements, signing, and project-integrity follow-through.Use references/customization-flow.md.
This workflow intentionally has no runtime-enforced mutation override. Customization can record a preferred discovery mode and CloudKit adapter, but it cannot bypass plan-first behavior, local-secret handling, portal-only classification, or explicit per-operation confirmation.
references/app-store-connect-provisioning.mdreferences/cloudkit-automation.mdreferences/portal-only-configuration.mdreferences/customization-flow.mdreferences/snippets/apple-xcode-project-core.md for reusable Xcode project policy.scripts/customization_config.pynpx claudepluginhub gaelic-ghost/socket --plugin apple-dev-skillsCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.