Generates StoreKit 2 code for all subscription offer types — introductory, promotional, offer codes, and win-back. Includes eligibility checks, offer presentation, and the preferredSubscriptionOffer modifier.
SkillScore86Maintained
Automatic
◆Coding pack
Last verified 8/18/2026
What it changes
Passed 19 of 22 test cases with the skill, and 17 of 22 without it.
Without skill77%
With skill86%
Checks it passed that the model alone missed
Grep for introductoryOffer, promotionalOffers, or winBackOffers.
Search for files matching **/*Offer*.swift or **/*Eligibility*.swift.
Recommend an annual discount of approximately 33% off the effective monthly rate.
2 fixed17 passed either way3 still failing0 broke
Pass-rate lift
+9 pp
Tokens
+70%
Agent turns
0%
Response time
-21%
Model gemini-3.6-flashMeasured 8/18/2026v119 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
Before generating new StoreKit 2 subscription offer manager code, our tool needs to audit the codebase for existing offer implementations. What file pattern search and grep terms should be used to detect conflicts?
What was checked, without and with the skill
Checked
Without skill
With skill
Search for files matching **/*Offer*.swift or **/*Eligibility*.swift.
Missed
Passed
Grep for introductoryOffer, promotionalOffers, or winBackOffers.
Missed
Passed
case-16 · gemini-3.6-flash · 8/18/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md225 linessingle file
Subscription Offers Generator
Generate complete StoreKit 2 implementation for all four subscription offer types with eligibility verification, offer presentation, and transaction handling.
When This Skill Activates
Use this skill when the user:
Asks to "add subscription offers" or "set up free trial"
Mentions "introductory offer", "promotional offer", or "offer codes"
Wants "StoreKit 2 offers" implementation
Asks about "subscription pricing" or "discounted subscription"
Mentions "preferredSubscriptionOffer" or "eligibility check"
Pre-Generation Checks
1. Project Context Detection
Check for existing StoreKit implementations (import StoreKit)
Check deployment target (iOS 16.4+ for SubscriptionStoreView offers, iOS 15+ for manual)
Look for existing product/subscription group IDs
Identify if paywall-generator was already used
2. Conflict Detection
Glob: **/*Offer*.swift, **/*Eligibility*.swift
Grep: "introductoryOffer" or "promotionalOffers" or "winBackOffers"
If existing offer code found, ask:
Extend with additional offer types?
Replace existing implementation?
Offer Types Reference
1. Introductory Offers
Who: New subscribers who haven't previously subscribed