Index of every page on this site: llms.txt
All skills
hardikpthv avatar

/revenuecat-onboarding-basic

@53afcbc
Run it yourself

Use when integrating RevenueCat into an app for in-app purchases or subscriptions for the first time — setting up a RevenueCat project, adding a Play Store/App Store app, connecting Google Play service-account credentials, configuring products, entitlements, offerings and packages, getting the SDK API keys, installing and configuring the SDK (react-native-purchases or native), checking entitlement access, or setting up webhooks.

Use this Skill: https://skilld.dev/gh/hardikpthv/agent-skills/revenuecat-onboarding-basic

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈116 tokens for metadata: the name and description. ≈1.2k when used: this file. ≈2.8k more on demand in 3 files.

Description uses 5.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈462 characters, or 5.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

RevenueCat Onboarding (Basic)

Overview

Wire an app to RevenueCat so it can sell subscriptions and in-app purchases with server-side entitlement tracking. This skill is the map and the SOP: the correct order, RevenueCat's recommended data model, the SDK integration shape, and the official links to confirm current details.

Core principle: RevenueCat changes SDK versions, API methods, the Google credential flow, and doc structure over time. This skill carries last-known details, but you must fetch the live official page and re-verify before relying on a specific version or method signature. Treat references/official-links.md as the source of truth.

This is the Basic tier: you guide the setup through the RevenueCat dashboard + code. For hands-on automation via the RevenueCat MCP (creating the project, entitlements, offerings, packages, paywalls, webhooks), the Google service-account credential flow, server notifications, and a verification pass, use revenuecat-onboarding-pro.

When to use

  • "Set up RevenueCat" / "add subscriptions or in-app purchases via RevenueCat"
  • Creating a RevenueCat project and adding a Play Store / App Store app
  • Connecting Google Play credentials so RevenueCat can validate purchases
  • Configuring products → entitlements → offerings → packages
  • Installing/configuring the SDK and checking entitlement.isActive
  • Setting up webhooks for purchase events

Not for: creating the Play Console catalog itself (use a Google Play skill — RevenueCat links to products that exist in the store) or writing your own Stripe/web billing.

The data model (learn this first)

RevenueCat's whole design rests on four concepts. Get them right and everything else follows:

  • Product — the actual store SKU (a Play/App Store subscription or IAP).
  • Entitlement — a named access level (e.g. pro). Products attach to entitlements; you gate features on the entitlement, never on a product ID.
  • Package — groups equivalent products across platforms (the iOS + Android "monthly") under a standard duration id like $rc_monthly / $rc_annual.
  • Offering — a set of packages presented together. Mark one current; the SDK reads offerings.current.

Best practice: reference offerings.current and check entitlement state in code — never hardcode product IDs. This lets you swap products, run price tests, and reorder paywalls from the dashboard with no app release. More in references/modeling-and-sdk.md.

The onboarding sequence

Follow the ordered guide in references/onboarding-checklist.md. The phases:

  1. Create a RevenueCat project (ships with a Test Store so you can build before connecting stores).
  2. Add an app to the project (Play Store / App Store / etc.).
  3. Connect store credentials — for Google Play, a service-account JSON with the right roles (note: validation can take up to ~36 h (verify)).
  4. Configure products (import from the store or create).
  5. Create entitlements and attach products.
  6. Create offerings + packages; mark one offering current.
  7. Get the public SDK API keys (separate key per platform on hybrid SDKs).
  8. Integrate the SDK — configure(), getOfferings(), purchasePackage(), restorePurchases(), check customerInfo.entitlements.active[...].
  9. Set up webhooks (and server notifications — see Pro) for production reliability.
  10. Test in sandbox before launch.

SDK integration detail and code shape: references/modeling-and-sdk.md.

Quick reference

Thing Last-known detail (re-verify!)
Gate features on the entitlement (customerInfo.entitlements.active['pro'])
Show products via offerings.current (never hardcoded IDs)
Client uses the public SDK key only — separate per platform on hybrid SDKs
Secret v2 API key server/MCP only — never in app code
Play credential propagation up to ~36 hours before validation
Standard package ids $rc_monthly, $rc_annual, $rc_weekly, $rc_lifetime (custom ids allowed — verify)

Common mistakes

  • Hardcoding product IDs instead of using offerings/packages → can't change anything without an app release.
  • Forgetting to attach products to an entitlement → paying users unlock nothing.
  • Shipping the secret API key in the client (use the public SDK key).
  • Debugging "invalid Play credentials" during the normal propagation window — wait it out.
  • Trusting bundled SDK versions/method names instead of re-checking the live install/config docs.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a standard onboarding guide for the RevenueCat subscription platform. It provides integration steps, links to official documentation, and best practices for API key management and data modeling. No malicious patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 53afcbc. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 5 months ago

README badge

README badge for hardikpthv/agent-skills/revenuecat-onboarding-basic