subscription-offers

Generate StoreKit 2 Swift code for subscription offers with eligibility checks and UI components.

603|51|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill subscription-offers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-offers
Source: https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/generators/subscription-offers
Command: npx skills add https://github.com/rshankras/claude-code-apple-skills --skill subscription-offers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of implementing various subscription offer types in StoreKit 2, saving developers significant time and reducing errors.

Core Features & Use Cases

  • Comprehensive Offer Generation: Creates code for introductory, promotional, offer codes, and win-back offers.
  • Eligibility Checks: Includes logic to verify user eligibility for different offer types.
  • UI Components: Generates banners and views for presenting offers and redeeming codes.
  • Use Case: When adding a new subscription to your app, use this Skill to generate all the necessary StoreKit 2 code to present free trials, special discounts, and handle offer code redemptions seamlessly.

Quick Start

Generate StoreKit 2 code for subscription offers, including introductory, promotional, and offer codes.

Frequently Asked Questions about subscription-offers

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

FAQPage Schema
How do I implement promotional offers in StoreKit 2?

Implement promotional offers in StoreKit 2 by generating Swift code that handles eligibility checks, UI presentation banners, and server-side signature generation for dynamic subscription discounts.

What is the best way to add a free trial to an iOS in-app purchase?

Add a free trial to an iOS in-app purchase by configuring introductory offers in StoreKit 2, which requires generating specific Swift code to verify user eligibility and present the trial UI.

How do I handle offer code redemption in Swift for iOS subscriptions?

Handle offer code redemption in Swift by generating StoreKit 2 code that includes UI components for presenting redemption views and processing offer codes seamlessly within your app's subscription workflow.

Does StoreKit 2 support win-back offers for lapsed subscribers?

Yes, StoreKit 2 supports win-back offers for lapsed subscribers by generating Swift code that includes eligibility checks and presentation logic to target former users with special discounts.

Why do I need server-side signature generation for promotional offers?

Server-side signature generation for promotional offers is required to validate dynamic discounts securely, ensuring compliant in-app purchase offer management and preventing unauthorized access to subscription deals.

Can I check user eligibility for introductory offers before showing them in iOS?

Yes, you can check user eligibility for introductory offers in iOS by using StoreKit 2 logic that verifies whether a user qualifies for free trials or special discounts before presenting the offer UI.