What problem does it solve?
This Skill eliminates the manual effort of implementing robust subscription state handling in iOS and macOS apps, ensuring developers can reliably manage grace periods, billing retries, and tier transitions without building complex StoreKit 2 logic from scratch.
Core Features & Use Cases
- Lifecycle State Management: Automatically handles active, grace period, billing retry, expired, and revoked states with proper access gating.
- Retention & Re-engagement: Built-in support for win-back offers, offer codes, and promotional offers to reduce churn.
- Upgrade/Downgrade Paths: Manages tier transitions with proper proration and pending change detection.
- Use Case: Imagine you're building a fitness app with Basic, Pro, and Enterprise tiers. Use this Skill to generate the code that keeps users logged in during payment failures, shows them a warning banner, and automatically presents a win-back offer when their subscription lapses.
Quick Start
Use the subscription-lifecycle skill to generate a complete subscription monitoring system with grace period handling and win-back offers for your app's subscription group.