CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

revenuecat-webhooks

Receive RevenueCat webhooks on a backend and keep the server's record of subscriptions, entitlements, and consumable purchases correct. Use when the user asks to add, write, or fix a RevenueCat webhook endpoint or handler, sync subscription or entitlement status to their own database, grant or revoke premium access server side, credit coins or other consumables from purchases, verify the webhook Authorization header or HMAC signature, register a webhook URL in RevenueCat, or handle events such as INITIAL_PURCHASE, RENEWAL, CANCELLATION, EXPIRATION, BILLING_ISSUE, PRODUCT_CHANGE, or TRANSFER. Covers every store RevenueCat supports and any backend language (Node.js, Python, Go, Ruby, PHP, Java, Kotlin, serverless functions). For checking access inside the app, use revenuecat-entitlements-gate instead.

Quality

94%

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.

A dense, highly actionable body with exact API calls, status-code semantics, idempotency and ordering rules, and an explicit verification checklist — clearly written by and for practitioners. The main defect is structural: section 7 points to a reference-typescript.md that is missing from the bundle, so the progressive-disclosure design does not function.

Suggestions

Include the missing reference-typescript.md under references/ (section 7 promises a complete, tested Node.js implementation, but no bundle file exists), or drop section 7 and inline a minimal handler skeleton instead.

Move the section 4 event table and section 5 store-difference catalog into a references/ file, keeping a one-line summary per event inline, to shrink the main SKILL.md's token footprint.

Signal at the top of the body which sections matter at activation time (contract and event actions) versus during implementation (store differences, ledger design) so detail can be loaded on demand.

DimensionReasoningScore

Conciseness

Assumes Claude's competence throughout (no basic webhook/HTTP explanations; "The common first attempt grants on INITIAL_PURCHASE..." frames pitfalls without padding) and nearly every sentence carries non-obvious RevenueCat-specific fact. Not 5: at ~140 dense lines, the full event-semantics table, store-difference catalog, and ledger design exceed what the main SKILL.md needs at activation and could be trimmed or externalized; not 3 because there is almost no over-explanation of known concepts.

4 / 5

Actionability

Fully executable guidance: exact endpoint "GET https://api.revenuecat.com/v2/projects/{project_id}/customers/{customer_id}" with "Authorization: Bearer <secret API key>", HMAC construction over "<t>.<raw body>", exact status semantics (answer exactly 200; 401 on auth failure), rate limits (60/min entitlements, 480/min customers), retry schedule (2.5, 5, 10, 20, 40 minutes), and framework-specific raw-body access (express.raw(), request.get_data(), io.ReadAll(r.Body)). Not 4: no vague directions; the common cases are covered concretely.

5 / 5

Workflow Clarity

Clear numbered sequence (gather facts → register webhook → handler contract 3a–3e → per-event actions → store differences → gaps → verify) with an explicit 8-item verification checklist ("Do not report the webhook as done until each of these holds") and feedback loops for error recovery (per-status-code handling, capped backoff, inbox retry queue, FOR UPDATE SKIP LOCKED claiming). Not 4: validation steps are explicit and comprehensive, including failure-injection checks.

5 / 5

Progressive Disclosure

Eight clearly headed sections and one clearly signaled one-level reference ("`reference-typescript.md` holds a complete Node.js implementation"), but that file is absent from the bundle — no references/ directory exists — so the promised implementation cannot actually be loaded, and substantial detail (the event table, store-difference catalog) is inlined. Not 4: a dangling reference is a navigation failure; not 2: the in-document structure is strong and well-organized, not minimal.

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.

An exemplary description: third-person, explicit what and when, comprehensive natural trigger terms including verbatim event names, and an explicit disambiguation against a sibling skill. Length is justified because every clause adds distinct trigger coverage.

DimensionReasoningScore

Specificity

Lists many concrete actions — "Receive RevenueCat webhooks on a backend and keep the server's record of subscriptions, entitlements, and consumable purchases correct", "grant or revoke premium access server side", "credit coins or other consumables", "verify the webhook Authorization header or HMAC signature", "register a webhook URL in RevenueCat" — covering auth, sync, crediting, registration, and event handling with no meaningful gaps. Not 4: coverage is comprehensive rather than having minor gaps.

5 / 5

Completeness

Explicitly answers both: what ("Receive RevenueCat webhooks on a backend and keep the server's record... correct") and when ("Use when the user asks to add, write, or fix..." with a long concrete trigger list). It even adds routing guidance ("For checking access inside the app, use revenuecat-entitlements-gate instead"). Not 4: the when-clause is explicit and specific with concrete trigger phrases.

5 / 5

Trigger Term Quality

Uses natural phrasings users would actually say: "add, write, or fix a RevenueCat webhook endpoint or handler", "sync subscription or entitlement status to their own database", "credit coins", plus concrete event names (INITIAL_PURCHASE, RENEWAL, CANCELLATION, EXPIRATION, BILLING_ISSUE, PRODUCT_CHANGE, TRANSFER) that users paste verbatim when debugging. Not 4: synonyms and variations of the core asks are well covered.

5 / 5

Distinctiveness Conflict Risk

Clear niche — server-side RevenueCat webhook handling — with distinct triggers (RevenueCat, webhook endpoint, event names), and it explicitly redirects the adjacent use case (in-app access checks) to a sibling skill, minimizing wrong-skill triggering. Not 4: overlap risk is minimal thanks to the explicit boundary.

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-webhooks/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.