CtrlK
BlogDocsLog inGet started
Tessl Logo

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 paywall purchase logic, handle purchase errors, detect user cancelled, or restore previous purchases on iOS, Android, Kotlin Multiplatform, Flutter, or React Native.

75

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

85%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 SKILL.md body is a tight, well-sequenced overview that assumes Claude's competence and provides a strong verification checklist, but its progressive-disclosure design is undermined because every referenced platform detail file (platforms/*.md) is absent from the bundle. The shared-concepts guidance is concrete and actionable; only the missing detail layer keeps it from scoring higher.

Suggestions

Ship the referenced platform files (platforms/ios.md, platforms/android.md, platforms/kmp.md, platforms/flutter.md, platforms/react-native.md) — the body explicitly delegates implementation to them, so their absence breaks the skill's progressive-disclosure structure.

If the platform files cannot be bundled, inline at least one complete purchase+restore function (e.g. for iOS) so the skill is executable end-to-end without external files.

Add an explicit error-recovery feedback loop in the Verify section (e.g. 'if a checkpoint fails, fix and re-run') so the validation checklist doubles as a retry path.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence — it states the flow ('Call getOfferings(), pick a Package, call purchase(package)') and per-platform cancellation/error specifics without explaining what RevenueCat is or how SDKs work; every rationale sentence (e.g. the iOS legal restore-button requirement) earns its place.

5 / 5

Actionability

Concrete inline API references ('getOfferings()', 'purchase(package)', 'customerInfo.entitlements.active["<id>"]', 'e.userCancelled === true') and specific per-platform error codes are actionable, but no complete executable function appears in the body — the full implementation is deferred to the platform files, so minor gaps remain.

4 / 5

Workflow Clarity

A clearly sequenced four-step process (detect platform → shared concepts → implement → verify) culminates in an explicit validation checklist ('Do not claim the flow works until: 1...2...3...4...') covering success, cancellation, double-purchase, and restore paths — a strong checkpoint list for a money-affecting flow.

5 / 5

Progressive Disclosure

The overview is well-structured and references are clearly signaled one-level-deep ('platforms/ios.md', 'platforms/android.md', etc.), but those referenced platform files do not exist in the bundle — the detail layer the structure depends on is missing, so the disclosure is incomplete rather than appropriately split.

3 / 5

Total

17

/

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 exemplary: it pairs a concise capability statement with an explicit 'Use when' clause listing concrete, natural trigger phrases and the full set of supported platforms. It avoids fluff, over-claims, and verbosity while clearly distinguishing the skill from related RevenueCat skills.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'buy a package, purchase a subscription, fetch offerings, build paywall purchase logic, handle purchase errors, detect user cancelled, or restore previous purchases' — giving comprehensive coverage of the skill's capabilities.

5 / 5

Completeness

Explicitly answers both 'what' ('Implement the RevenueCat purchase and restore flow') and 'when' ('Use when the user asks to...') with concrete trigger phrases, matching the anchor-5 example structure.

5 / 5

Trigger Term Quality

Uses natural phrases users would actually say ('buy a package', 'purchase a subscription', 'restore previous purchases', 'detect user cancelled') plus platform synonyms (iOS, Android, Kotlin Multiplatform, Flutter, React Native), with no jargon-only gaps.

5 / 5

Distinctiveness Conflict Risk

Scoped specifically to RevenueCat purchase/restore across named platforms — a clear niche with minimal overlap risk; sibling skills (paywall, entitlements) are distinct concerns.

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
RevenueCat/rc-claude-code-plugin
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.