본문으로 건너뛰기
cccskills
무료GitHub에 공개

promoted-iap

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md5.2 KB
  • templates.md10.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Promoted In-App Purchases Generator

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

  1. App Store Connect: Mark IAP products as "Promoted" with promotional image
  2. Product Page: Up to 20 promoted IAPs appear on your product page
  3. Search Results: Promoted IAPs can appear in search
  4. User Action: User taps "Buy" on App Store → your app opens to complete purchase
  5. Your App: Must handle the incoming purchase intent

Promoted IAP Display Order

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

  1. What type of IAP to promote?

    • Auto-renewable subscription
    • Non-consumable (one-time unlock)
    • Consumable (credits/tokens)
  2. 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)
  3. 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

  1. PromotedPurchaseHandler.swift — Handle purchases initiated from App Store
  2. PromotedProductConfiguration.swift — Product definitions and promotional images specs
  3. 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

  1. Go to App Store Connect > Your App > In-App Purchases
  2. Select the IAP product
  3. Under "App Store Promotion":
    • Upload promotional image (1024x1024, no alpha, no rounded corners)
    • Set display order
    • Enable promotion
  4. 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

  1. StoreKit Configuration: Add promoted products to your .storekit file
  2. Test purchase flow: Simulate App Store-initiated purchase
  3. Test user states: New user, existing free user, existing subscriber
  4. 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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Run a structured accessibility audit on an iOS/macOS app — automated XCUITest audits, Accessibility Inspector, manual VoiceOver/Dynamic Type passes, and App Store Accessibility Nutrition Label evaluation. Use before release, when preparing Nutrition Label declarations, or for EU Accessibility Act compliance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rshankras/claude-code-apple-skills8172026년 7월 24일 업데이트

Generate accessibility infrastructure for VoiceOver, Dynamic Type, and accessibility features. Use when improving app accessibility, adding accessibility labels and hints, or auditing compliance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rshankras/claude-code-apple-skills8172026년 7월 24일 업데이트

Generates an Apple-compliant account deletion flow with multi-step confirmation UI, optional data export, configurable grace period, Keychain cleanup, and server-side deletion request. Use when user needs account deletion, right-to-delete, or Apple App Review compliance for account removal.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rshankras/claude-code-apple-skills8172026년 7월 24일 업데이트

Privacy-preserving ad measurement with AdAttributionKit (SKAdNetwork's successor) — install and re-engagement attribution, conversion-value strategy under crowd anonymity, and end-to-end postback testing. Use when running paid acquisition beyond Apple Ads, measuring re-engagement campaigns, designing conversion values, or migrating from SKAdNetwork.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rshankras/claude-code-apple-skills8172026년 7월 24일 업데이트

alarmkit

무료

AlarmKit integration for scheduling alarms and timers with custom UI, Live Activities, and snooze support. Use when implementing alarm or timer features in iOS 26+ apps.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rshankras/claude-code-apple-skills8172026년 7월 24일 업데이트

Interpret app metrics and make data-driven decisions. Covers DAU/MAU, retention, LTV, ARPU, App Store Connect analytics, AARRR funnel analysis, cohort analysis, and diagnostic decision trees. Use when user wants to understand their metrics, diagnose problems, or build a data-driven growth plan.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rshankras/claude-code-apple-skills8172026년 7월 24일 업데이트

rshankras의 스킬 모두 보기

이 스킬의 문제 신고