generators-variable-rewards
CommunityEthical variable rewards for daily engagement.
AuthorAutisticAF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Creates a configurable variable rewards system to manage daily spins, mystery boxes, and bonus rewards, enabling scalable engagement without over-claim risk.
Core Features & Use Cases
- Configurable reward pool: Weighted rarity with seedable RNG for deterministic testing and reproducible experiments.
- Cap enforcement: Daily and weekly caps with time-based resets to prevent over-engagement.
- Persistence & history: Tracks claims using SwiftData and provides queryable reward history by day.
- UI templates: Ready-to-use components for daily spins, mystery boxes, and reward summaries.
Quick Start
Create a RewardPool (optionally with a fixed seed for tests), initialize a RewardManager with your SwiftData context, and invoke claimDailySpin to grant a reward.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: generators-variable-rewards Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#generators-variable-rewards Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.