subscription-lifecycle

Manage StoreKit 2 subscription lifecycles with status monitoring and entitlement mapping.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/mazicimert/RunDom --skill subscription-lifecycle-mazicimert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-lifecycle
Source: https://github.com/mazicimert/RunDom/tree/main/.claude/skills/generators/subscription-lifecycle
Command: npx skills add https://github.com/mazicimert/RunDom --skill subscription-lifecycle-mazicimert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates StoreKit 2 subscription lifecycle management — grace periods, billing retry, offer codes, win-back offers, upgrade/downgrade paths, and subscription status monitoring. Use when user needs post-purchase subscription state handling beyond the initial paywall.

Core Features & Use Cases

  • Real-time lifecycle monitoring and state awareness for StoreKit 2 subscriptions.
  • Grace period handling, billing retry detection, and offer/win-back support.
  • Upgrade/downgrade/crossgrade management with entitlements mapping for access control.

Quick Start

Initialize the lifecycle generator with your StoreKit group ID and call start to begin real-time subscription monitoring.

Frequently Asked Questions about subscription-lifecycle

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

FAQPage Schema
How do I handle StoreKit 2 subscription lifecycles after the initial purchase?

StoreKit 2 subscription lifecycle management handles post-purchase states by providing real-time monitoring, grace period tracking, billing retry detection, and entitlement mapping for access control. You initialize the generator with your StoreKit group ID to begin tracking.

How do I manage StoreKit 2 grace periods and billing retries?

Grace periods and billing retries are managed through real-time lifecycle monitoring that detects subscription state changes. The system maps these states to entitlements, allowing your app to maintain or restrict access control during payment failures.

Can I process StoreKit 2 offer codes and win-back offers within my existing paywall?

Offer codes and win-back offers are supported through a comprehensive API surface that integrates with existing paywalls. The system provides guidance for combining these offers with server-side verification to ensure valid entitlements.

How do I map StoreKit 2 subscription upgrades and downgrades across multiple tiers?

Upgrade, downgrade, and crossgrade paths are managed using entitlement mapping that links subscription tiers to access control levels. This allows your app to dynamically adjust feature availability when users change their subscription tier.

Does this StoreKit 2 subscription lifecycle approach require server-side verification?

Server-side verification is supported as an optional integration path alongside the core lifecycle monitoring. The system provides guidance for combining real-time client monitoring with your server verification workflow to maintain entitlement accuracy.