Guides implementation of Apple DeviceCheck and App Attest for per-device state and app-instance integrity. Useful when adding fraud-risk signals, server challenges, or attestation workflows.
Ships in apple-dev-skills. 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.
Read when SKILL.md points to them.
Guide DeviceCheck and App Attest implementation decisions without confusing app-side Apple framework calls with server-side trust decisions.
The practical decision is whether the app needs DeviceCheck two-bit device state, App Attest app-instance integrity, both signals, or a different auth/session/sync workflow. The skill keeps Apple docs, Xcode signing state, server challenges, replay protection, rollout constraints, and backend handoffs visible before implementation starts.
DCDevice, generateToken(completionHandler:), Apple DeviceCheck query/update/validate endpoints, or the two per-device bits Apple stores for an app.DCAppAttestService, generateKey(completionHandler:), attestKey(_:clientDataHash:completionHandler:), generateAssertion(_:clientDataHash:completionHandler:), or DCError.com.apple.developer.devicecheck.appattest-environment entitlement, sandbox versus production behavior, TestFlight or App Store rollout, Enterprise distribution, Developer ID, or macOS signing validation.swift-openapi-client-workflow when the primary task is generated API client setup for the app-to-server transport.xcode-build-run-workflow when the next step is target setup, entitlements, signing, App ID capability wiring, build, run, simulator, device, or guarded Xcode project mutation.xcode-testing-workflow when the next step is repeatable XCTest, XCUITest, simulator/device matrix checks, or test-plan setup.ASWebAuthenticationSession, token refresh, logout, multi-account state, or app sync.DCDeviceDCAppAttestServicerequest: optional free-text DeviceCheck or App Attest task.signal_goal: optional emphasis such as device-state, app-integrity, combined-risk, entitlement-setup, server-validation, or unknown.platform_context: optional emphasis such as ios, macos, watchos, tvos, visionos, app-clip, extension, or mixed-apple.distribution_context: optional emphasis such as development, sandbox, testflight, app-store, enterprise, developer-id, or unknown.server_context: optional backend shape such as swift-server, openapi, rpc, node, python, existing-api, or unknown.status
success: the request belongs to this workflow and a DeviceCheck or App Attest recommendation is readyhandoff: the request belongs to another workflow after DeviceCheck/App Attest-aware classificationblocked: the request lacks enough app, server, entitlement, environment, or docs evidence for a trustworthy recommendationpath_type
devicecheck: the recommendation uses DCDevice and Apple DeviceCheck server APIsapp-attest: the recommendation uses DCAppAttestService and App Attest server verificationcombined: the recommendation intentionally combines DeviceCheck and App Attest risk signalshandoff: the recommendation belongs to Xcode, generated client, backend, broader auth, sync, or docs workflowoutput
serverUnavailable; retry later with the same key and same clientDataHash when Apple documents that behavior.xcode-build-run-workflow.blocked when the task requires Apple Developer account access, server secrets, production rollout approval, or live device evidence that is not available.explore-apple-swift-docs when the real need is direct Apple documentation lookup for DeviceCheck, App Attest, CryptoKit, entitlements, code signing, or platform availability.xcode-build-run-workflow when the next step is App ID capability setup, entitlements, provisioning, signing, build, run, simulator, device, or target membership follow-through.xcode-testing-workflow when the next step is repeatable XCTest/XCUITest, sandbox/production test matrices, simulator/device checks, or .xctestplan setup.swift-openapi-client-workflow when the app-to-server request or generated client contract is the primary implementation work.ASWebAuthenticationSession, token refresh, logout, multi-account state, offline edits, or sync conflict handling.references/snippets/apple-xcode-project-core.md when the user needs reusable Xcode-project policy for a repo that will own DeviceCheck capabilities, entitlements, signing, and target membership.Keep the first release focused on DeviceCheck/App Attest classification, docs grounding, and handoffs. If future iterations add deterministic checks for entitlements, server validation fixtures, or rollout policy, document the knobs before runtime behavior depends on them.
references/devicecheck-device-state.mdreferences/app-attest-client-flow.mdreferences/app-attest-server-validation.mdreferences/entitlements-app-id-and-validation.mdexplore-apple-swift-docs when the user needs current Apple docs before a DeviceCheck or App Attest implementation choice.xcode-build-run-workflow when the user needs target, signing, entitlement, provisioning, build, run, or install follow-through.xcode-testing-workflow when the user needs repeatable simulator, device, assertion, environment, or server-contract test design.swift-openapi-client-workflow when generated app-to-server client work is the main change.references/snippets/apple-xcode-project-core.md when the user needs reusable Xcode project guidance for DeviceCheck and App Attest capability work.agents/openai.yaml (opens in a new tab)references/app-attest-client-flow.md (opens in a new tab)references/app-attest-server-validation.md (opens in a new tab)references/devicecheck-device-state.md (opens in a new tab)references/entitlements-app-id-and-validation.md (opens in a new tab)references/snippets/apple-xcode-project-core.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/apple-dev-skills:devicecheck-app-attest-workflowfrom apple-dev-skills
npx claudepluginhub gaelic-ghost/socket --plugin apple-dev-skills65 skills in this plugin
/app-extension-architecture-workflowRoute Apple app-extension work across extension points, targets, isolation, entitlements, shared containers, lifecycle, privacy, testing, signing, distribution, and handoffs. Use when the extension point is not settled./app-intents-workflowDesign, implement, validate, and troubleshoot App Intents, App Entities, App Shortcuts, and system-surface integrations. Use when exposing a focused app action or content to Siri, Spotlight, Shortcuts, widgets, controls, Live Activities, or hardware interactions./appkit-app-architecture-workflowOther plugins' skills for the same job