Implementation guide for StoreKit 2 purchases, subscriptions, paywalls, entitlements, and StoreKit testing in Swift.

CCM score
73 of 100
skills.sh installs
4.4K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers product loading, purchase flows for consumable, non-consumable, and auto-renewable products, and entitlement checks
  • Includes Transaction.updates listener setup at app launch, plus SubscriptionStoreView and StoreView paywall patterns (iOS 17+)
  • Enforces verification of every VerificationResult before granting access, and finishing transactions only after delivery
  • Designed for Swift apps adopting StoreKit 2 APIs, with guidance on offers, Family Sharing, refunds, and billing retry

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill storekit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

StoreKit 2 In-App Purchases and Subscriptions

Implement in-app purchases, subscriptions, paywalls, and StoreKit testing using StoreKit 2. Use the modern Swift-based Product, Transaction, PurchaseAction, StoreView, and SubscriptionStoreView APIs. Avoid original In-App Purchase APIs (SKProduct, SKPaymentQueue) unless legacy OS support requires them.

StoreKit views initiate purchases automatically. For custom controls, use PurchaseAction in SwiftUI, purchase(confirmIn:options:) in UIKit/AppKit, and product.purchase(options:) on watchOS.

Contents

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Mobile Apps, Finance & Trading
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Storekit

More Mobile Apps