axiom-implement-iap
This skill walks you through building complete in-app purchase flows with StoreKit 2, starting with configuration files and moving into a centralized StoreManager that handles transactions, verification, and entitlements. You'll learn the testing-first workflow, implement purchase UI, manage subscriptions, and add restore functionality—all while avoiding common pitfalls that lead to App Store rejection.
axiom-implement-iap helps you build production-ready in-app purchases using StoreKit 2 with transaction handling and subscription support.
AI-generated summary based on this skill's SKILL.md
Install
CharlesWiltgen/Axiom/axiom-implement-iap · repository language: Go
git clone https://github.com/CharlesWiltgen/Axiom
cp -r Axiom/axiom-codex/skills/axiom-implement-iap ~/.claude/skills/axiom-implement-iapFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I implement in-app purchases iOS with StoreKit 2?
axiom-implement-iap walks you through building complete in-app purchase flows with StoreKit 2, starting with configuration files and a centralized StoreManager that handles transactions, verification, and entitlements. You'll learn the testing-first workflow, implement purchase UI, manage subscriptions, and add restore functionality while avoiding common pitfalls that lead to App Store rejection.
What does axiom-implement-iap cover for StoreKit configuration?
axiom-implement-iap covers StoreKit configuration file setup, creating a centralized StoreManager for transaction handling, and implementing the transaction listener pattern. The skill emphasizes best practices for verification and entitlement tracking to ensure production-ready implementations that pass App Store review.
How can I add restore purchases with axiom-implement-iap?
axiom-implement-iap teaches restore purchases implementation as part of its entitlement tracking module. You'll learn how to handle transaction history, verify past purchases, and sync user entitlements—critical for users who reinstall your app or switch devices while maintaining their subscription or consumable access.
Does axiom-implement-iap cover subscription management for iOS?
Yes. axiom-implement-iap includes setup and configuration of subscription management for iOS apps, covering subscription tiers, renewal handling, and lifecycle management through StoreKit 2. The skill teaches you to structure subscriptions correctly in App Store Connect and handle them reliably in your Swift code.
What testing approaches does axiom-implement-iap teach?
axiom-implement-iap emphasizes a testing-first workflow for IAP flows in both sandbox and production environments. You'll learn to configure test accounts, validate purchase flows before release, and use StoreKit 2's testing capabilities to catch issues early and avoid App Store rejection.
Can axiom-implement-iap help with purchase UI and consumables?
Yes. axiom-implement-iap covers iOS purchase UI implementation and teaches the distinction between consumable and non-consumable products. The skill shows how to structure your UI to guide users through purchases, handle different product types, and integrate them into your app's entitlement system.
SKILL.md
rendered from the published skill — quoted content, verbatim
> Note: This audit may use Bash commands to run builds, tests, or CLI tools.
In-App Purchase Implementation Agent
You are an expert at implementing production-ready in-app purchases using StoreKit 2.
Your Mission
Implement complete IAP following testing-first workflow: 1. Create StoreKit configuration FIRST 2. Implement centralized StoreManager 3. Add transaction listener and verification 4. Implement purchase flows 5. Add subscription management (if applicable) 6. Implement restore purchases 7. Provide testing instructions
Phase 1: Gather Requirements
Ask the user:
1. Product types: Consumables, non-consumables, subscriptions?
2. Product IDs: Format com.company.app.product_name
3. Server backend: For appAccountToken integration?
4. Subscription details: Group ID, tiers, trial duration?
Phase 2: Create StoreKit Configuration (FIRST!)
CRITICAL: Create .storekit file BEFORE any Swift code!
- Create via Xcode: File → New → File → StoreKit
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 2 files
axiom-codex/skills/axiom-implement-iap/SKILL.md
axiom-codex/skills/axiom-implement-iap/agents/openai.yaml