passkit
Installation
SKILL.md
PassKit
Apple Wallet passes and Apple Pay on Apple platforms. The deep API reference — merchant setup, the full payment authorization flow, pass creation/library management, SwiftUI buttons, use cases, security — lives in references/guide.md. This file is the decision and discipline layer: read it first, open the guide for specifics.
Dials
Set these explicitly at the start; they change what "correct" means.
DOMAIN—wallet-passes(issue/add/managePKPassin Wallet) ·apple-pay(charge for physical goods/services viaPKPaymentRequest) ·both. Apple Pay and Wallet passes are unrelated subsystems that happen to share the PassKit import; pick what you're actually building.PASS_UPDATES—static(one-shot.pkpass, never changes) ·push-updatable(pass haswebServiceURL+authenticationToken, your server pushes updates via APNs and the Wallet web service protocol). Only relevant whenDOMAINincludeswallet-passes.PAY_UI—PayWithApplePayButton-SwiftUI(iOS 16+, default for SwiftUI; handles presentation viaonPaymentAuthorizationChange) ·PKPaymentButton-UIKit(PKPaymentAuthorizationController+ delegate, for UIKit or full control). Only relevant whenDOMAINincludesapple-pay.
When to use
Building or reviewing any Wallet-pass issuing/adding/updating code, or any Apple Pay payment sheet, request, or token-handling code. If the user wants to sell digital content (subscriptions, unlocks, consumables), that is StoreKit, not Apple Pay — use the storekit skill. Apple Pay is only for real-world goods and services.