storekit

Implement StoreKit 2 in-app purchases, subscriptions, and entitlements for iOS 26+.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill storekit-onymchat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: storekit
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/storekit
Command: npx skills add https://github.com/onymchat/onym-ios --skill storekit-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

StoreKit 2 provides a modern, secure framework for implementing, validating, and managing in-app purchases, subscriptions, and entitlements, addressing the complexity of older APIs and fragmented testing workflows.

Core Features & Use Cases

  • In-app purchases and subscriptions via Product and Transaction APIs, including entitlements verification and restore flows.
  • Paywall and store UI integration with SubscriptionStoreView and StoreView, including offer codes, introductory offers, promotions, and family sharing scenarios.
  • End-to-end testing, configuration management, and compliance guidance for StoreKit 2 and App Store requirements.

Quick Start

Load products, purchase, verify transactions, and deliver entitlements to unlock features.

Frequently Asked Questions about storekit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement in-app purchases and subscriptions with StoreKit 2?

StoreKit 2 in-app purchases are implemented using Product and Transaction APIs to load products, process purchases, verify transactions, and deliver entitlements. This provides secure subscription management and paywall integration across iOS 26+.

What is the best way to build paywalls using SubscriptionStoreView?

SubscriptionStoreView builds paywalls by integrating StoreKit 2 product display, offer codes, introductory offers, and family sharing scenarios. It handles UI rendering while connecting to underlying Product and Transaction APIs for purchase flows.

How do I verify entitlements and restore previous purchases in StoreKit 2?

Entitlements verification and restore flows in StoreKit 2 use the Transaction API to validate purchase history and unlock features. The AppStore API syncs transaction data to ensure accurate entitlement delivery across devices.

Can I test StoreKit 2 subscriptions and promotional offers locally?

StoreKit 2 testing uses StoreKit configuration files to locally simulate subscriptions, promotional offers, win-back offers, and transaction processing. This allows end-to-end testing of paywall and purchase flows without App Store connectivity.

Does this StoreKit 2 approach support legacy in-app purchase APIs?

This StoreKit 2 approach ensures no legacy StoreKit usage, relying entirely on modern APIs like Product, Transaction, and AppStore. It delivers clear, tested patterns for iOS 26+ integration, testing, and App Store compliance.