subscription-offers
Generates StoreKit 2 code for all subscription offer types — introductory, promotional, offer codes, and win-back. Includes eligibility checks, offer presentation, and the preferredSubscriptionOffer modifier. Use when adding subscription offers, free trials, or promotional pricing.
npx skills add rshankras/claude-code-apple-skills --skill subscription-offers --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Subscription Offers Generator Generate complete StoreKit 2 implementation for all four subscription offer types with eligibility verification, offer presentation, and transaction handling. ## When This Skill Activates Use this skill when the user: - Asks to "add subscription offers" or "set up free trial" - Mentions "introductory offer", "promotional offer", or "offer codes" - Wants "StoreKit 2 offers" implementation - Asks about "subscription pricing" or "discounted subscription" - Mentions "preferredSubscriptionOffer" or "eligibility check" ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check for existing StoreKit implementations (`import StoreKit`) - [ ] Check deployment target (iOS 16.4+ for `SubscriptionStoreView` offers, iOS 15+ for manual) - [ ] Look for existing product/subscription group IDs - [ ] Identify if `paywall-generator` was already used ### 2. Conflict Detection ``` Glob: **/*Offer*.swift, **/*Eligibility*.swift Grep: "introductoryOffer" or "promotionalOffers" or "winBackOffers" ``` If existing offer code found, ask: - Extend with additional offer types? - Replace existing implementation? ## Offer Types Reference ### 1. Introductory Offers - **W
- When This Skill Activates
- Pre-Generation Checks
- 1. Project Context Detection
- 2. Conflict Detection
- Offer Types Reference
- 1. Introductory Offers
- 2. Promotional Offers
- 3. Offer Codes
- 4. Win-Back Offers
- Offer Strategy (Apple's Data)
- The Six Churn Playbooks (WWDC19 — still the strategy canon)
- Configuration Questions
- Generation Process
- Step 1: Read Templates
What does the subscription-offers skill do?
Generates StoreKit 2 code for all subscription offer types — introductory, promotional, offer codes, and win-back. Includes eligibility checks, offer presentation, and the preferredSubscriptionOffer modifier. Use when adding subscription offers, free trials, or promotional pricing.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill subscription-offers --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
