mcpbeat Sign in

Promoted Iap Skill for Claude

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.

4k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
585
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill promoted-iap

The instruction itself

19 sections, as written by the author

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.

When This Skill Activates

Use this skill when the user:

  • Asks to "promote IAP" or "show purchase on product page"
  • Mentions "promoted in-app purchase" or "App Store product page IAP"
  • Wants subscription/IAP visible in App Store search results
  • Asks about paymentQueue(_:shouldAddStorePayment:for:)
  • Wants to handle purchases initiated from the App Store

Pre-Generation Checks

1. Project Context Detection

  • [ ] Check for existing StoreKit implementation
  • [ ] Check deployment target (iOS 15+ for StoreKit 2)
  • [ ] Look for existing IAP product definitions
  • [ ] Check if paywall-generator was already used

2. Conflict Detection

Glob: **/*Promoted*.swift, **/*StorePayment*.swift
Grep: "shouldAddStorePayment" or "PurchaseIntent" or "promotedPurchase"

How Promoted IAP Works

  • App Store Connect: Mark IAP products as "Promoted" with promotional image
  • Product Page: Up to 20 promoted IAPs appear on your product page
  • Search Results: Promoted IAPs can appear in search
  • User Action: User taps "Buy" on App Store → your app opens to complete purchase
  • Your App: Must handle the incoming purchase intent
  • You control the order in App Store Connect
  • Choose your most compelling IAP as the first promoted product
  • Apple may also feature your IAPs in editorial content

Configuration Questions

Ask user via AskUserQuestion:

  • What type of IAP to promote?
  • Auto-renewable subscription
  • Non-consumable (one-time unlock)
  • Consumable (credits/tokens)
  • How to handle App Store-initiated purchases?
  • Show immediately (direct purchase)
  • Show paywall first (let user see options before buying)
  • Show onboarding then purchase (new users from App Store)
  • Number of promoted products?
  • Single product
  • Multiple products (2-5)
  • Full catalog (6+)

Generation Process

Step 1: Read Templates

Read templates.md for promoted IAP implementation code.

Step 2: Create Core Files

  • PromotedPurchaseHandler.swift — Handle purchases initiated from App Store
  • PromotedProductConfiguration.swift — Product definitions and promotional images specs
  • PromotedPurchaseFlowView.swift — UI for completing promoted purchases in-app

Step 3: Determine File Location

- If Sources/Store/ exists → Sources/Store/Promoted/
- If Store/ exists → Store/Promoted/
- Otherwise → Store/Promoted/

Output Format

Files Created

Store/Promoted/
├── PromotedPurchaseHandler.swift        # App Store purchase handling
├── PromotedProductConfiguration.swift   # Product setup & image specs
└── PromotedPurchaseFlowView.swift       # In-app purchase completion UI

Integration Steps

Handle App Store-Initiated Purchases (StoreKit 2):

@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:

// PromotedPurchaseHandler determines the right flow:
// 1. Direct purchase (existing user, known product)
// 2. Paywall (show options first)
// 3. Onboarding (new user from App Store)

App Store Connect Setup

  • Go to App Store Connect > Your App > In-App Purchases
  • Select the IAP product
  • Under "App Store Promotion":
  • Upload promotional image (1024x1024, no alpha, no rounded corners)
  • Set display order
  • Enable promotion
  • Repeat for each product you want to promote

Promotional Image Requirements

  • Size: 1024 x 1024 pixels
  • Format: PNG or JPEG, no transparency
  • Content: Feature the product value, not just the app icon
  • Text: Minimal — the product name appears separately
  • Style: Match your app's visual identity

Testing Instructions

  • StoreKit Configuration: Add promoted products to your .storekit file
  • Test purchase flow: Simulate App Store-initiated purchase
  • Test user states: New user, existing free user, existing subscriber
  • Verify UI: Purchase completion view looks correct for each product type

References

  • templates.md — Production Swift templates
  • Related: generators/paywall-generator — Full paywall for purchase completion
  • Related: generators/subscription-offers — Offer types for promoted subscriptions
  • Related: app-store/marketing-strategy — Strategic product promotion planning

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take rshankras/promoted-iap from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.