Purpose: Guide robust, testable in-app purchase implementation
Works with
StoreKit Version: StoreKit 2
iOS Version: iOS 15+ (iOS 18.4+ for latest features)
Xcode: Xcode 13+ (Xcode 16+ recommended)
Context: WWDC 2025-241, 2025-249, 2023-10013, 2021-10114
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionaxiom-in-app-purchasesExecute the skills CLI command in your project's root directory to begin installation:
Fetches axiom-in-app-purchases from charleswiltgen/axiom and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate axiom-in-app-purchases. Access via /axiom-in-app-purchases in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
767
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
767
stars
Purpose: Guide robust, testable in-app purchase implementation StoreKit Version: StoreKit 2 iOS Version: iOS 15+ (iOS 18.4+ for latest features) Xcode: Xcode 13+ (Xcode 16+ recommended) Context: WWDC 2025-241, 2025-249, 2023-10013, 2021-10114
✅ Use this skill when:
❌ Do NOT use this skill for:
If you wrote purchase code before creating .storekit configuration, you have three options:
Delete all IAP code and follow the testing-first workflow below. This reinforces correct habits and ensures you experience the full benefit of .storekit-first development.
Why this is best:
Create the .storekit file now with your existing product IDs. Test everything works locally. Document in your PR that you tested in sandbox first.
Trade-offs:
If choosing this path: Create .storekit immediately, verify locally, and commit a note explaining the approach.
Commit without .storekit configuration, test only in sandbox.
Why this is problematic:
Bottom line: Choose Option A if possible, Option B if pragmatic, never Option C.
Best Practice: Create and test StoreKit configuration BEFORE writing production purchase code.
The recommended workflow is to create .storekit configuration before writing any purchase code. This isn't arbitrary - it provides concrete benefits:
Immediate product ID validation:
Faster iteration:
Team benefits:
Common objections addressed:
❓ "I already tested in sandbox" - Sandbox testing is valuable but comes later. Local testing with .storekit is faster and enables true TDD.
❓ "My code works" - Working code is great! Adding .storekit makes it easier for teammates to verify and maintain.
❓ "I've done this before" - Experience is valuable. The .storekit-first workflow makes experienced developers even more productive.
❓ "Time pressure" - Creating .storekit takes 10-15 minutes. The time saved in iteration pays back immediately.
StoreKit Config → Local Testing → Production Code → Unit Tests → Sandbox Testing
↓ ↓ ↓ ↓ ↓
.storekit Test purchases StoreManager Mock store Integration test
Why this order helps:
Benefits of following this workflow:
Before marking IAP implementation complete, ALL items must be verified:
.storekit configuration file with all productsTransaction.updatesVerificationResult.finish() after entitlement grantedpurchase(confirmIn:options:) with UI context (iOS 18.2+)PurchaseResult cases (success, userCancelled, pending)Product.SubscriptionInfo.StatusTransaction.currentEntitlements(for:)Transaction.currentEntitlements or Transaction.allDO THIS BEFORE WRITING ANY PURCHASE CODE.
Products.storekit (or your app name)Click "+" and add each product type:
Product ID: com.yourapp.coins_100
Reference Name: 100 Coins
Price: $0.99
Product ID: com.yourapp.premium
Reference Name: Premium Upgrade
Price: $4.99
Product ID: com.yourapp.pro_monthly
Reference Name: Pro Monthly
Price: $9.99/month
Subscription Group ID: pro_tier
Products.storekitAll purchase logic must go through a single StoreManager. No scattered Product.purchase() calls throughout app.
import StoreKit
@MainActor
final class StoreManager: ObservableObject {
// Published state for UI
@Published private(set) var products: [Product] = []
@Published private(set) var purchasedProductIDs: Set<String> = []
// Product IDs from StoreKit configuration
private let productIDs = [
"com.yourapp.coins_100",
"com.yourapp.premium",
"com.yourapp.pro_monthly"
]
private var transactionListener: Task<Void, Never>?
init() {
// Start transaction listener immediately
transactionListener = listenForTransactions()
Task {
await loadProducts()
await updatePurchasedProducts()
}
}
deinit {
transactionListener?.cancel()
}
}
Why @MainActor: Published properties must update on main thread for UI binding.
extension StoreManager {
func loadProducts() async {
do {
// Load products from App Store
let loadedProducts = try await Product.products(for: productIDs)
// Update published property on main thread
self.products = loadedProducts
} catch {
print("Failed to load products: \(error)")
// Show error to user
}
}
}
Call from: App.init() or first view's .task modifier
extension StoreManager {
func listenForTransactions() -> Task<Void, Never> {
Task.detached { [weak self] in
// Listen for ALL transaction updates
for await verificationResult in Transaction.updates {
await self?.handleTransaction(verificationResult)
}
}
}
@MainActor
✓Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
✓Save 3-5 hours/week on communication overhead
Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Steps
- 1Install product management skill
- 2Start with user story generation for known feature
- 3Progress to competitive analysis: research 2-3 competitors
- 4Use for roadmap prioritization: apply RICE/ICE scoring
- 5Draft stakeholder communications and refine based on feedback
- 6Build template library for recurring PM tasks
- 7Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Related Skills
mobile-app-ui-design
56ceorkm/mobile-app-ui-design
Frontendtag: appgrill-me
704mattpocock/skills
Productivitysame categorypremortem
218parcadei/continuous-claude-v3
Productivitysame categorydeslop
164cursor/plugins
Productivitysame categorytravel-planner
145ailabs-393/ai-labs-claude-skills
Productivitysame categorynutritional-specialist
141ailabs-393/ai-labs-claude-skills
Productivitysame categoryReviews
4.5★★★★★64 reviews- AAditi Mehta★★★★★Dec 28, 2024
axiom-in-app-purchases fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- GGanesh Mohane★★★★★Dec 24, 2024
Useful defaults in axiom-in-app-purchases — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- MMia Haddad★★★★★Dec 12, 2024
axiom-in-app-purchases is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- HHiroshi Harris★★★★★Dec 12, 2024
Keeps context tight: axiom-in-app-purchases is the kind of skill you can hand to a new teammate without a long onboarding doc.
- HHiroshi Jackson★★★★★Dec 4, 2024
Useful defaults in axiom-in-app-purchases — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- VValentina Haddad★★★★★Nov 23, 2024
axiom-in-app-purchases is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- KKwame Brown★★★★★Nov 23, 2024
Solid pick for teams standardizing on skills: axiom-in-app-purchases is focused, and the summary matches what you get after install.
- KKwame Taylor★★★★★Nov 23, 2024
axiom-in-app-purchases has been reliable in day-to-day use. Documentation quality is above average for community skills.
- SSoo Abbas★★★★★Nov 19, 2024
Registry listing for axiom-in-app-purchases matched our evaluation — installs cleanly and behaves as described in the markdown.
- SSakshi Patil★★★★★Nov 15, 2024
axiom-in-app-purchases is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 64
1 / 7Discussion
Comments — not star reviews- No comments yet — start the thread.