entitlement-grant
Installation
SKILL.md
Entitlement grant
This skill owns verified purchase-event → durable entitlement state. Store UI and pricing belong elsewhere; restore-purchase owns user-initiated/current-entitlement reconstruction.
Product classes
| Class | Durable state |
|---|---|
| non-consumable/durable-unlock | boolean/ownership keyed by product plus store identity |
| consumable | balance mutation keyed by a unique transaction/purchase token/event id |
| subscription/time-pass | entitlement interval/status keyed by the store's stable subscription identity/token |
| battle-track/season | ownership scoped to season/content identity |
Idempotent transaction state machine
Use the immutable store transaction ID, purchase token, or equivalent verified event ID as the deduplication key; do not use UI callbacks or order display strings as the primary key.
A safe abstract flow is: