What problem does it solve? Building in-app purchases and subscriptions on Apple platforms involves many failure-prone details: missed transaction updates, unverified transactions, wrong entitlement state after reinstalls, and App Review rejections. This Skill provides a complete, correct StoreKit 2 implementation guide covering the full purchase lifecycle. ## Core Features & Use Cases - Purchase Flow & Verification: Load products, handle all four PurchaseResult cases, verify signed JWS transactions via VerificationResult, and finish transactions correctly. - Entitlements & Subscriptions: Recompute ownership from Transaction.currentEntitlements, handle subscription status, grace periods, billing retry, and intro/promotional/win-back offers. - Server Validation & Testing: Validate transactions server-side with the App Store Server API and Server Notifications V2, and test with .storekit config files, StoreKitTest, and sandbox. - Use Case: You are adding a yearly Pro subscription to your iOS app. Use this Skill to build the paywall with SubscriptionStoreView, start the transaction listener at launch, gate features on currentEntitlements, and test renewals with SKTestSession before release. ## Quick Start Use the apple-storekit skill to implement a StoreKit 2 subscription paywall with purchase verification, entitlement gating, and a restore purchases button.