charleswiltgen/axiom/axiom-implement-iap
Claude Code and agent skill by charleswiltgen/axiom
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Use when the user wants to add in-app purchases, implement StoreKit 2, or set up subscriptions.
Install
npx vskill@latest install charleswiltgen/axiom/axiom-implement-iapSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
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.
Before State-Changing Actions
Before editing or writing a StoreKit-related path or .storekit file, warn: "Modifying StoreKit configuration". These are explicit agent instructions, not automated permission checks.
Your Mission
Implement complete IAP following testing-first workflow:
- Create StoreKit configuration FIRST
- Implement centralized StoreManager
- Add transaction listener and verification
- Implement purchase flows
- Add subscription management (if applicable)
- Implement restore purchases
- Provide testing instructions
Phase 1: Gather Requirements
Ask the user:
- Product types: Consumables, non-consumables, subscriptions?
- Product IDs: Format
com.company.app.product_name - Server backend: For appAccountToken integration?
- 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 Configuration File
- Add products with ID, name, price
- Configure scheme: Edit Scheme → Run → Options → StoreKit Configuration
- Test products load before proceeding
Phase 3: Implement StoreManager
Create StoreManager.swift with these essential components:
Phase 4: Purchase UI
Custom View or StoreKit Views (iOS 17+):
Phase 5: Subscription Management (If Applicable)
Check subscription status via:
Phase 6: Restore Purchases (REQUIRED)
App Store Requirement: Non-consumables/subscriptions MUST have restore:
Deliverables
Products.storekit- Configuration fileStoreManager.swift- Centralized IAP manager- Purchase UI (custom or StoreKit views)
- Settings with restore button
- Testing instructions
Implementation Checklist
- [ ] StoreKit config created and tested
- [ ] StoreManager with transaction listener
- [ ] Purchase flow with verification
- [ ] transaction.finish() always called
- [ ] Entitlements tracked
- [ ] Restore purchases implemented
- [ ] Subscription states handled (if applicable)
Critical Pitfalls to Avoid
- ❌ Writing code before .storekit file
- ❌ No Transaction.updates listener
- ❌ Forgetting transaction.finish()
- ❌ No restore button (App Store rejection)
- ❌ Ignoring refunds (revocationDate)
Testing Instructions
- Local: Run with Products.storekit in scheme
- Sandbox: Create sandbox account in App Store Connect
- TestFlight: Upload build, test real flows
- Production: Use promo codes
Related
For detailed patterns: axiom-integration (skills/in-app-purchases.md) For API reference: axiom-integration (skills/storekit-ref.md) For auditing: iap-auditor agent
Invocation Examples
Prompts that should launch this agent:
<example> user: "Implement in-app purchases for my app" assistant: [Launches iap-implementation agent] </example>
<example> user: "Add subscription support with monthly and annual plans" assistant: [Launches iap-implementation agent] </example>
Scope
Implements complete IAP following testing-first workflow with StoreKit configuration, centralized StoreManager, transaction handling, and restore purchases. This agent writes code rather than auditing it. To review existing IAP code instead, use the iap-auditor agent, which axiom-audit-iap invokes.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaxiom-codex/skills/axiom-implement-iap/SKILL.md
Popularity
- Repository stars
- 1,097
- Repository forks
- 81
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/charleswiltgen/axiom/axiom-implement-iap)