Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

integrate-revenuecat

БесплатноБез исполняемых скриптовНе проверен

End-to-end RevenueCat integration — sets up the dashboard side via the RevenueCat MCP or the `rc` CLI (project, app, public API key) and installs/configures…

RevenueCatот RevenueCat★ 80 звёзд на GitHub

Об этом скилле

integrate-revenuecat: end-to-end RevenueCat integration

Use this skill when the user wants to add RevenueCat to a project for the first time, or to reconfigure the SDK with a public API key. The skill covers two halves:

  1. Dashboard side — set up the project, register the app, and obtain the public API key, through the RevenueCat MCP server or the rc CLI.
  2. App side — install the Purchases SDK, call Purchases.configure(…) at app entry, and verify the SDK's configure log line.

Once the SDK is configured, settle how the paywall is built (Section 5c) before writing any paywall code.

Walk them in order. Most integrations need both halves, even when the user asks "just install the SDK" — the SDK needs an API key from the dashboard.

If a project + app already exist and the user only wants to wire the SDK into code, jump to Section 3 below. If the user wants to bootstrap a brand new RevenueCat project (apps + products + entitlements + offerings), use the create-revenuecat-project skill instead, then come back here for the SDK install.

Arguments

Available as $ARGUMENTS when invoked as a slash command:

  • platform (optional): One of ios, android, kmp, flutter, react-native. If omitted, run the detection algorithm in Section 3a.
  • app_identifier (optional): Bundle ID (iOS) or package name (Android). If omitted, read it from the project files (Info.plist, AndroidManifest.xml, app.json, pubspec.yaml).
  • project_name (optional): Name of the RevenueCat project to use. If omitted, list projects (via MCP or rc projects list) and ask the user.

1. Understand the status quo

Before touching the dashboard, gather the facts:

  • Platform target: iOS / Apple App Store, Android / Google Play, or both. Inspect the working directory before asking — the detection algorithm in Section 3 makes this obvious for most projects.
  • Technology: native iOS (Swift), native Android (Kotlin / Java), React Native, Flutter, Kotlin Multiplatform. SDK list: https://www.revenuecat.com/docs/getting-started/installation.md.
  • App identifier: bundle ID (iOS), package name (Android). Pull from Info.plist / AndroidManifest.xml / app.json / pubspec.yaml rather than asking.

2. Dashboard side

Use whichever surface the user has available: the RevenueCat MCP server or the rc CLI (see the revenuecat-cli skill for CLI discovery and conventions). Both cover the same operations for these steps, and each step below notes the MCP tool and the rc command.

2a. Get or create the project

  • List accessible projects: list-projects (MCP) or rc projects list. If multiple, ask the user which one matches this app, or offer to create a new one (create-project / rc projects create).
  • If there is no project, hand off to the create-revenuecat-project skill, then resume here.
  • Store the project_id for the rest of the steps.

2b. Get or create the app

  • Check which apps are already configured in the project (list-apps / rc apps list). A test_store app is always present; app_store and play_store apps are present only if the user has finished store-side setup.
  • Ask the user whether their app is already set up in App Store Connect (iOS) or Google Play Console (Android). Reassure them that store-side setup can come later — the test_store app is enough to start integrating.
  • If the user confirms store-side setup is done, call create-app (or rc apps create):
    • iOS: type: "app_store", bundle_id from Section 1.
    • Android: type: "play_store", package_name from Section 1.
    • name derived from the identifier or asked from the user.

2c. Get the public API key

  • List public keys for the relevant app ID: list-public-api-keys (MCP) or rc apps keys <app-id>:
    • app_store / play_store if the store-side app exists.
    • Otherwise the test_store app.
  • The returned key is public and safe to embed in client app code. iOS keys are prefixed appl_…, Android keys goog_…, Amazon amzn_….

Never use the secret API key in client code. Secret keys are server-side only.

3. App side — install and configure the SDK

3a. Detect the platform

Inspect the working directory and pick the first match, from top to bottom:

  1. React Native: package.json has a react-native-purchases entry, or react-native as a dependency → read platforms/react-native.md. If expo is also a dependency, note it as an Expo project.
  2. Flutter: pubspec.yaml exists at the project root → read platforms/flutter.md.
  3. Kotlin Multiplatform: build.gradle.kts contains a kotlin { … } multiplatform source sets block, or depends on com.revenuecat.purchases:purchases-kmp* → read platforms/kmp.md.
  4. Android (native): build.gradle(.kts) applies com.android.application (and is not KMP) → read platforms/android.md.
  5. iOS (native): Package.swift, *.xcodeproj, *.xcworkspace, or Podfile at the p
Полный SKILL.md на GitHub

Установить integrate-revenuecat в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

platforms/android.mdplatforms/flutter.mdplatforms/ios.mdplatforms/kmp.mdplatforms/react-native.md

FAQ

Что делает скилл integrate-revenuecat?

End-to-end RevenueCat integration — sets up the dashboard side via the RevenueCat MCP or the `rc` CLI (project, app, public API key) and installs/configures the Purchases SDK in the app. Use when the user asks to add RevenueCat, hook up RevenueCat, add subscriptions or in-app purchases to an app, integrate Purchases, install the RevenueCat SDK, set up a RevenueCat API key, configure Purchases on launch, or set up a brand new RevenueCat integration on iOS, Android, Kotlin Multiplatform, Flutter, or React Native.

Как установить скилл integrate-revenuecat?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл integrate-revenuecat запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить integrate-revenuecat с