axiom-storekit-ref

Reference Apple's StoreKit 2 APIs for products, transactions, and subscriptions.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-storekit-ref-tuliopc23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-storekit-ref
Source: https://github.com/tuliopc23/flying-dutchman-app/tree/main/.claude/skills/axiom-storekit-ref
Command: npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-storekit-ref-tuliopc23

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive reference for implementing and understanding Apple's StoreKit 2 framework, enabling developers to manage in-app purchases, subscriptions, and transactions effectively.

Core Features & Use Cases

  • API Reference: Detailed documentation for Product, Transaction, AppTransaction, RenewalInfo, and SubscriptionStatus.
  • StoreKit Views: Guidance on using SwiftUI views like ProductView, StoreView, and SubscriptionStoreView.
  • WWDC Examples: Includes code examples and insights from WWDC 2025.
  • Use Case: A developer needs to implement a new subscription tier in their app and wants to understand the latest StoreKit 2 features and best practices for handling renewals and user entitlements.

Quick Start

Use the axiom-storekit-ref skill to find information on how to load products using Product.products(for:).

Frequently Asked Questions about axiom-storekit-ref

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

FAQPage Schema
How do I load in-app purchase products using StoreKit 2?

To load in-app purchase products in StoreKit 2, use the `Product.products(for:)` API to fetch product references. This async function queries the App Store and returns an array of `Product` objects containing details for your configured subscriptions.

What is the best way to handle subscription renewals and entitlements in iOS?

The best way to handle subscription renewals and entitlements in iOS is by using StoreKit 2's `RenewalInfo` and `SubscriptionStatus` APIs. These provide secure, detailed transaction data to verify active subscription states directly within your app.

How do I integrate StoreKit views into my SwiftUI app?

You integrate StoreKit views into your SwiftUI app by implementing built-in components like `ProductView`, `StoreView`, and `SubscriptionStoreView`. These views automatically render in-app purchase interfaces and handle user interactions for subscriptions.

Can I use StoreKit 2 to verify app transactions?

Yes, you can use StoreKit 2 to verify app transactions using the `AppTransaction` and `Transaction` APIs. These modern Swift APIs provide cryptographically signed transaction data to validate purchases and grant user entitlements securely.

Does this StoreKit 2 reference include examples from WWDC 2025?

Yes, this StoreKit 2 reference includes code examples and insights from WWDC 2025. It details the latest API usage for `Product`, `Transaction`, and `SubscriptionStatus`, along with iOS 18.4 enhancements for offer code redemption.

Why are my StoreKit 2 subscription status updates not working?

StoreKit 2 subscription status updates may not work if you are not properly listening to the `Transaction` updates or mishandling `SubscriptionStatus` properties. Review the API reference to ensure your transaction handling logic correctly verifies renewal info.