subscription-lifecycle

Automate StoreKit 2 subscription lifecycle management with status monitoring and grace periods.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill subscription-lifecycle-jtvaris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-lifecycle
Source: https://github.com/jtvaris/sunday-night-dynasty/tree/main/.agents/skills/generators/subscription-lifecycle
Command: npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill subscription-lifecycle-jtvaris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a cohesive framework to manage and monitor StoreKit 2 subscription lifecycles beyond initial purchase, addressing post-purchase state tracking, grace periods, billing retries, offers, and plan changes.

Core Features & Use Cases

  • Real-time lifecycle monitoring via Transaction.updates and Product.SubscriptionInfo
  • Grace period and billing retry handling with customer-facing messaging
  • Upgrade/downgrade management, offer codes, and win-back flows
  • Optional dashboard UI integration and server-side verification support

Quick Start

Configure the generator with your StoreKit group ID and run it to scaffold the lifecycle monitoring code into your app.

Frequently Asked Questions about subscription-lifecycle

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

FAQPage Schema
How do I monitor StoreKit 2 subscription status changes after purchase?

Monitor StoreKit 2 subscription status changes by listening to Transaction.updates and checking Product.SubscriptionInfo to track real-time lifecycle events and post-purchase state updates automatically.

How does StoreKit 2 handle billing retry and grace periods for lapsed subscriptions?

StoreKit 2 grace period and billing retry handling tracks expired or failing subscriptions, allowing continued access during retry windows while triggering customer-facing messaging to prompt payment updates.

Can I manage subscription upgrades and downgrades with StoreKit 2 in Swift?

Manage subscription upgrades and downgrades using StoreKit 2 in Swift 5.9 or later, handling tier changes, offer codes, and win-back flows to coordinate plan transitions within your app.

Does this StoreKit 2 subscription lifecycle framework support server-side receipt verification?

Yes, it supports optional App Store Server API integration to verify subscription states server-side, alongside local enums and monitors for client-side lifecycle tracking.

What is needed to start tracking StoreKit 2 subscription lifecycles?

Start tracking StoreKit 2 subscription lifecycles by configuring your StoreKit group ID and running the generator to scaffold monitoring code, requiring Swift 5.9 or later and a StoreKit 2 implementation.