Agent skill

subscription-lifecycle

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.

rshankrasgithub.com/rshankrasGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill subscription-lifecycle --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 15 KB
Bundled scripts: none
Allowed tools: ReadWriteEditGlobGrepBashAskUserQuestion
Path: skills/generators/subscription-lifecycle/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Subscription Lifecycle Generator Generate production StoreKit 2 subscription lifecycle management with real-time status monitoring, grace period handling, billing retry detection, offer code redemption, win-back offers, and upgrade/downgrade path support. **Different from paywall-generator:** The paywall generator handles the purchase UI and initial transaction. This skill handles everything that happens *after* purchase — monitoring subscription state changes, handling payment failures, retaining churning users, and managing tier transitions. **Why retention math dominates acquisition (per Apple's Tech Talk):** - Commission compounds: 70% net in year one → 85% once a subscriber passes 1 year. Retained subscribers are literally worth more per renewal. - The base compounds harder: from 10,000 subscribers, 12 months later 85% monthly retention leaves 1,673; 90% leaves 3,487; 95% leaves 5,688. A 5-point retention gain more than doubles the surviving base. ## When This Skill Activates Use this skill when the user: - Asks about "subscription management" or "subscription lifecycle" - Mentions "grace period handling" or "grace period UI" - Wants "billing retry" detection or payment fail

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Pre-Generation Checks
  3. 1. Project Context Detection
  4. 2. Existing StoreKit Detection
  5. 3. Entitlement Check
  6. Configuration Questions
  7. Generation Process
  8. Step 1: Read Templates and Patterns
  9. Step 2: Create Core Files
  10. Step 3: Create Lifecycle Handlers
  11. Step 4: Create UI Files
  12. Step 5: Determine File Location
  13. Output Format
  14. Files Created
Ships with 2 files
  • patterns.md
  • templates.md
More from claude-code-apple-skills
All skills →
About this skill
What does the subscription-lifecycle skill do?

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.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill subscription-lifecycle --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going