subscription-offers

Generate StoreKit 2 code for all Apple subscription offer types.

27|5|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/bocan/bocan-music --skill subscription-offers-bocan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-offers
Source: https://github.com/bocan/bocan-music/tree/main/.claude/skills/generators/subscription-offers
Command: npx skills add https://github.com/bocan/bocan-music --skill subscription-offers-bocan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually implementing StoreKit 2 subscription offers requires writing repetitive boilerplate code for eligibility checks, offer presentation, and transaction handling, which is time-consuming and error-prone for iOS and macOS developers building subscription-based apps.

Core Features & Use Cases

  • Multi-Offer Type Support: Generates code for all four Apple subscription offer types: introductory offers (free trials, discounted first periods), promotional offers for targeted user discounts, redeemable offer codes, and win-back offers for lapsed subscribers.
  • End-to-End Logic: Includes built-in eligibility verification for each offer type, proper transaction handling, and support for server-side promotional offer signature generation.
  • Optional UI Components: Produces ready-to-use SwiftUI views for contextual offer banners and offer code redemption flows.
  • Use Case: A developer building a subscription-based macOS app can use this skill to generate all required StoreKit 2 code for a 7-day free trial, 50% off win-back discount for lapsed users, and a redeemable offer code campaign in minutes instead of writing hundreds of lines of code from scratch.

Quick Start

Use the subscription-offers skill to generate complete StoreKit 2 implementation code for all subscription offer types including eligibility checks, offer presentation, and transaction handling for your iOS or macOS subscription app.

Frequently Asked Questions about subscription-offers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement StoreKit 2 promotional offers and introductory free trials in my iOS app?

StoreKit 2 subscription offers include four types: introductory offers like free trials, promotional offers for targeted discounts, redeemable offer codes, and win-back offers for lapsed subscribers. Each requires specific eligibility checks and presentation logic.

How do I verify eligibility for win-back offers and promotional discounts using StoreKit 2?

StoreKit 2 eligibility verification for win-back offers and promotional discounts is handled by generating boilerplate code that checks user qualifications before presenting targeted subscription discounts or redeemable offer codes.

Can I generate SwiftUI views for offer code redemption flows and contextual offer banners?

Yes, you can generate optional ready-to-use SwiftUI views for contextual offer banners and offer code redemption flows to integrate seamlessly with your iOS and macOS subscription app interfaces.

Do I need server-side signature generation for StoreKit 2 promotional offers?

Manually implementing StoreKit 2 subscription offers involves writing repetitive boilerplate code for eligibility checks, offer presentation, and transaction handling, which is time-consuming and error-prone for iOS and macOS developers.