Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates Promoted In-App Purchase setup with StoreKit 2 product configuration, paywall integration, and App Store product page display. Use when setting up promoted purchases that appear on the App Store product page.
.claude/skills/rshankras-promoted-iap/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-11 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 80% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 36% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -30% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 48% | 0% |
Set up promoted In-App Purchases so your premium offerings appear directly on your App Store product page, in search results, and in editorial features.
Use this skill when the user:
paymentQueue(_:shouldAddStorePayment:for:)paywall-generator was already usedGlob: **/*Promoted*.swift, **/*StorePayment*.swift
Grep: "shouldAddStorePayment" or "PurchaseIntent" or "promotedPurchase"Ask user via AskUserQuestion:
Read templates.md for promoted IAP implementation code.
- If Sources/Store/ exists → Sources/Store/Promoted/
- If Store/ exists → Store/Promoted/
- Otherwise → Store/Promoted/Store/Promoted/
├── PromotedPurchaseHandler.swift # App Store purchase handling
├── PromotedProductConfiguration.swift # Product setup & image specs
└── PromotedPurchaseFlowView.swift # In-app purchase completion UIHandle App Store-Initiated Purchases (StoreKit 2):
swift@main struct MyApp: App { var body: some Scene { WindowGroup { ContentView() .task { // Listen for purchases initiated from App Store for await purchaseIntent in PurchaseIntent.intents { await PromotedPurchaseHandler.shared.handle(purchaseIntent) } } } } }
Complete the Purchase:
swift// PromotedPurchaseHandler determines the right flow: // 1. Direct purchase (existing user, known product) // 2. Paywall (show options first) // 3. Onboarding (new user from App Store)
generators/paywall-generator — Full paywall for purchase completiongenerators/subscription-offers — Offer types for promoted subscriptionsapp-store/marketing-strategy — Strategic product promotion planningOther measured skills in the registry, with their headline benchmark lift.