CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

revenuecat-purchase-flow

Implement the RevenueCat purchase and restore flow. Use when the user asks to buy a package, purchase a subscription, fetch offerings, build the purchase logic behind a custom (hand-coded) paywall, handle purchase errors, detect user cancelled, or restore previous purchases on iOS, Android, Kotlin Multiplatform, Flutter, or React Native.

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is an exemplary orchestration skill: deterministic platform detection, dense platform-specific shared concepts with exact error codes, delegation of implementation code to clearly signaled one-level-deep platform files, and a concrete end-to-end verification checklist. It also handles skill boundaries well by routing paywall and entitlement concerns to sibling skills.

DimensionReasoningScore

Conciseness

In ~48 lines it covers five platforms with zero explanation of concepts Claude already knows — every line carries RevenueCat-specific guidance (error codes, deprecation notes, iOS restore-button legal requirement). The only near-duplication is the §3 file list echoing §1's mapping, which is structural navigation rather than over-explanation, so it does not drop to anchor 4.

5 / 5

Actionability

Guidance is fully concrete at the orchestration level: exact API calls ('getOfferings()', 'purchase(package)', 'customerInfo.entitlements.active["<id>"]', 'restorePurchases()'), exact per-platform cancellation error identifiers, and deterministic file-level platform detection rules; copy-paste code is deliberately delegated to the platform files, which the scoring notes permit for actionable instruction-level guidance.

5 / 5

Workflow Clarity

A clear numbered sequence (detect platform → shared concepts → implement via platform file → verify) with deterministic tie-breaking ('pick the outermost project', 'ask the user') and an explicit 4-item verification checklist covering sandbox purchase, cancellation, duplicate purchase, and fresh-install restore — matching the anchor-5 pattern of explicit validation steps and error-recovery checkpoints. No destructive or batch operations apply.

5 / 5

Progressive Disclosure

The body is a lean overview with well-signaled, one-level-deep references (platforms/ios.md, android.md, kmp.md, flutter.md, react-native.md), each reachable via an explicit detection rule; no nested references and no bulk content inlined that belongs in a bundle file. No bundle directories were provided for review, so this is scored on the body's structure, which matches the anchor-5 example.

5 / 5

Total

20

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a model example: it states a concrete capability, gives an explicit 'Use when' clause with natural trigger phrases and synonyms, and cleanly scopes a distinct niche with five platform qualifiers. Third-person imperative voice is used with no fluff or over-claims.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'buy a package, purchase a subscription, fetch offerings, build the purchase logic behind a custom (hand-coded) paywall, handle purchase errors, detect user cancelled, or restore previous purchases' — giving comprehensive coverage of the purchase-flow domain rather than the 'minor gaps' of anchor 4.

5 / 5

Completeness

It explicitly answers both 'what' ('Implement the RevenueCat purchase and restore flow') and 'when' ('Use when the user asks to...') with concrete trigger phrases, exactly matching the anchor-5 pattern; the explicit Use-when clause satisfies the completeness cap rule.

5 / 5

Trigger Term Quality

Natural trigger phrases include 'buy a package', 'purchase a subscription', 'fetch offerings', 'handle purchase errors', 'detect user cancelled', and 'restore previous purchases', with buy/purchase synonym coverage plus five platform names (iOS, Android, Kotlin Multiplatform, Flutter, React Native) that users would naturally mention.

5 / 5

Distinctiveness Conflict Risk

A clear RevenueCat purchase/restore niche with distinct triggers, further scoped away from sibling skills by limiting the paywall trigger to 'the purchase logic behind a custom (hand-coded) paywall', so conflict risk with paywall or entitlements skills is minimal.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

RevenueCat/ai-toolkit

Path

revenuecat/skills/revenuecat-purchase-flow/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.