subscription-offers

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

114|8|Updated Mar 4, 2025
One-click install
npx skills add https://github.com/gustavscirulis/snapgrid --skill subscription-offers-gustavscirulis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-offers
Source: https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/subscription-offers
Command: npx skills add https://github.com/gustavscirulis/snapgrid --skill subscription-offers-gustavscirulis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation of complex StoreKit 2 code for implementing various subscription offer types, simplifying the integration of free trials, promotional pricing, and offer codes.

Core Features & Use Cases

  • Comprehensive Offer Generation: Creates Swift code for introductory offers, promotional offers, offer codes, and win-back offers.
  • Eligibility Checks: Includes logic to verify user eligibility for different offer types.
  • UI Integration: Provides templates for offer banners and code redemption views.
  • Use Case: When adding new subscription tiers or discounts to your app, this Skill generates all necessary Swift files and provides clear integration steps for StoreKit 2.

Quick Start

Use the subscription-offers skill to generate StoreKit 2 code for introductory and promotional subscription offers.

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?

To implement promotional offers in StoreKit 2, you need to generate Swift code for eligibility checks, transaction handling, and server-side signature generation. This requires an iOS 15+ deployment target to function correctly.

What is the best way to add introductory subscription offers to an iOS app?

Adding introductory subscription offers requires generating StoreKit 2 Swift code that verifies user eligibility and handles transactions for free trials and promotional pricing. This approach simplifies integrating various offer types into your iOS app.

Does StoreKit 2 support offer code redemption views?

Yes, StoreKit 2 supports offer code redemption through generated Swift code templates. These templates provide the necessary UI components for offer banners and code redemption views to handle subscription transactions.

How do I check user eligibility for win-back offers in iOS development?

Checking user eligibility for win-back offers involves generating StoreKit 2 Swift code with built-in eligibility verification logic. This code handles transaction processing for various subscription offer types within your iOS application.

Do I need a server to generate signatures for StoreKit 2 promotional offers?

Yes, implementing promotional offers requires server-side signature generation. The StoreKit 2 code generation includes integration steps for connecting your iOS app to your server to validate these promotional subscription transactions.

Can I use StoreKit 2 subscription offers with an iOS 14 deployment target?

No, implementing StoreKit 2 subscription offers requires an iOS 15+ deployment target. The generated Swift code for introductory, promotional, and win-back offers relies on the StoreKit 2 framework unavailable in older iOS versions.