Agent skill · Code Review & Quality

storekit

Implement, review, or improve in-app purchases and subscriptions using StoreKit 2. Use when building paywalls with SubscriptionStoreView or ProductView, processing transactions with Product and Transaction APIs, verifying entitlements, handling purchase flows (consumable, non-consumable, auto-renewable), implementing offer codes or promotional/win-back/introductory offers, managing subscription status and renewal state, setting up StoreKit testing with configuration files, or integrating Family Sharing, Ask to Buy, refund handling, and billing retry logic.

Derek Pearson935★ · +23/wk · 1 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add dpearson2699/swift-ios-skills --skill storekit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 17 KB
Bundled scripts: none
Path: skills/storekit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 963 · +28 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 - [Product Types](#product-types) - [Loading Products](#loading-products) - [Purchase Flow](#purchase-flow) - [Transaction.updates Listener](#transactionupdates-listener) - [Entitlement Checking](#entitlement-checking) - [SubscriptionStoreView (iOS 17+)](#subscriptionstoreview-ios-17) - [StoreView (iOS 17+)](#storeview-ios-17) - [Subscription Status Checking](#subscription-status-checking) - [Restore Purchases](#restore-purchases) - [App Transaction (App Purchase Verification)](#app-transaction-app-purchase-verification) - [Purchase Options](#purchase-options) - [SwiftUI Purchase Callbacks](#swiftui-purchase-callbacks)

What's inside
Steps it walks through
  1. Contents
  2. Product Types
  3. Loading Products
  4. Purchase Flow
  5. Transaction.updates Listener
  6. Entitlement Checking
  7. SwiftUI .currentEntitlementTask Modifier
  8. SubscriptionStoreView (iOS 17+)
  9. Custom Marketing Content
  10. Hierarchical Layout
  11. StoreView (iOS 17+)
  12. ProductView for Individual Products
  13. Subscription Status Checking
  14. Renewal States
Ships with 3 files
  • evals/evals.json
  • references/app-review-guidelines.md
  • references/storekit-advanced.md
More from swift-ios-skills
All skills →
About this skill
What does the storekit skill do?

Implement, review, or improve in-app purchases and subscriptions using StoreKit 2. Use when building paywalls with SubscriptionStoreView or ProductView, processing transactions with Product and Transaction APIs, verifying entitlements, handling purchase flows (consumable, non-consumable, auto-renewable), implementing offer codes or promotional/win-back/introductory offers, managing subscription status and renewal state, setting up StoreKit testing with configuration files, or integrating Family Sharing, Ask to Buy, refund handling, and billing retry logic.

How do I install it?

Run `npx skills add dpearson2699/swift-ios-skills --skill storekit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going