app-store
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive…
Generates a variable reward system with randomized rewards, daily bonuses, mystery box mechanics, and ethical engagement caps. Use when user wants daily spins, mystery boxes, random rewards, or gamification reward systems.
Claude Code
$ npx -y skills add rshankras/claude-code-apple-skills --skill variable-rewards --agent claude-code
Codex
$ npx skills add rshankras/claude-code-apple-skills --skill variable-rewards -a codex -y
Cursor
$ npx skills add rshankras/claude-code-apple-skills --skill variable-rewards -a cursor -y
Gemini CLI
$ npx skills add rshankras/claude-code-apple-skills --skill variable-rewards -a gemini-cli -y
GitHub Copilot
$ npx skills add rshankras/claude-code-apple-skills --skill variable-rewards -a github-copilot -y
OpenCode
$ npx skills add rshankras/claude-code-apple-skills --skill variable-rewards -a opencode -y
Windsurf
$ npx skills add rshankras/claude-code-apple-skills --skill variable-rewards -a windsurf -y
name: variable-rewards description: Generates a variable reward system with randomized rewards, daily bonuses, mystery box mechanics, and ethical engagement caps. Use when user wants daily spins, mystery boxes, random rewards, or gamification reward systems. allowed-tools: [Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion] last_verified: 2026-07-16 review_by: 2027-06-22 os_version: iOS 27 / macOS 27
Generate a variable reward system — randomized rewards (daily spins, mystery boxes, bonus points) that leverage variable-ratio reinforcement to increase engagement. Implements ethical engagement patterns with daily/weekly caps, transparent probability disclosure, and no pay-to-play mechanics.
Use this skill when the user:
Search for existing reward or points systems:
Glob: **/*Reward*.swift, **/*Points*.swift, **/*DailySpin*.swift, **/*MysteryBox*.swift Grep: "reward" or "dailySpin" or "mysteryBox" or "rewardPool" or "lootBox"
If existing reward system found:
Determine if generating for iOS or macOS or both (cross-platform). The templates use SwiftUI and are cross-platform by default.
Ask user via AskUserQuestion:
1. **Reward types?** (multi-select)
2. **Reward mechanism?**
3. **Include daily/weekly caps and cooldowns?**
4. **Visual presentation?**
Read `templates.md` for production Swift code.
Generate these files: 1. `Reward.swift` — Model for reward type, value, rarity, display metadata 2. `RewardPool.swift` — Weighted probability distribution with seeded random for testability 3. `RewardManager.swift` — @Observable class managing claims, daily resets, caps, history via SwiftData
4. `DailySpinView.swift` — Animated spin wheel with disabled state when already claimed 5. `MysteryBoxView.swift` — Card-flip / chest-open animation with matchedGeometryEffect 6. `RewardHistoryView.swift` — List of past rewards grouped by day 7. `RewardNotificationView.swift` — Toast/banner overlay for reward availability
Check project structure:
After generation, provide:
VariableRewards/ ├── Reward.swift # Reward model with type, rarity, value ├── RewardPool.swift # Weighted random selection engine ├── RewardManager.swift # Core manager: claims, caps, history ├── DailySpinView.swift # Animated spin wheel ├── MysteryBoxView.swift # Card-flip / chest-open reveal ├── RewardHistoryView.swift # Past rewards grouped by day └── RewardNotificationView.swift # Toast overlay for available rewards
**Set up the model container (SwiftData):**
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
.modelContainer(for: [RewardClaim.self])
}
}**Add the daily spin to your home screen:**
struct HomeView: View {
@Environment(\.modelContext) private var modelContext
@State private var rewardManager: RewardManager?
var body: some View {
VStack {
if let manager = rewardManager {
DailySpinView(manager: manager)
}
}
.onAppear {
rewardManager = RewardManager(modelContext: modelContext)
}
}
}**Trigger a mystery box reveal:**
struct MilestoneView: View {
@Environment(\.modelContext) private var modelContext
@State private var rewardManager: RewardManager?
@State private var showMysteryBox = false
var body: some View {
VStack {
Button("Open Mystery Box") {
showMysteryBox = true
}
.disabled(rewardManager?.canClaimToday == false)
}
.sheet(isPresented: $showMysteryBox) {
if let manager = rewardManager {
MysteryBoxView(manager: manager)
}
}
.onAppear {
rewardManager = RewardManager(modelContext: modelContext)
}
}
}**Show a reward notification toast:**
A collection of Claude Code skills for iOS, macOS, watchOS, visionOS, and Apple platform development. These skills help you plan and build apps, maintain code quality, ensure HIG compliance, and guide you from idea to App Store.
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive…
Privacy-preserving ad measurement with AdAttributionKit (SKAdNetwork's successor) — install and re-engagement attribution,…
Generate compelling App Store descriptions that convert browsers into users. Use when writing initial descriptions, improving…
Apple Search Ads campaign strategy for indie developers — paid acquisition, keyword bidding, budget planning, and ROAS…
Take a one-time in-app purchase from MISSING_METADATA to READY_TO_SUBMIT in App Store Connect — set its price schedule and…
Optimize app title, subtitle, and keywords for maximum App Store discoverability. Use when launching a new app, improving search…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.