К основному содержанию
скилл CX Codex

rc-catalog-management — скилл для Claude Code: каталог

Ведёт каталог Android-товаров между Play Console и панелью RevenueCat: импорт продуктов, привязка к entitlement, сборка офферов.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add RevenueCat/ai-toolkit --skill rc-catalog-management -a claude-code
Открыть на GitHub

Что делает rc-catalog-management

Скилл описывает рабочий процесс из четырёх фаз: понять, спланировать, выполнить, проверить. Он держит в голове разделение ролей: Play Console — источник истины по продуктам, базовым планам и ценам, а панель RevenueCat решает, какой SKU увидит какой пользователь и под каким ключом entitlement. Из приложения или бэкенда вы не дёргаете напрямую эндпоинты Google Play Developer monetization.subscriptions и monetization.onetimeproducts — вместо этого работаете через RevenueCat.

Порядок шагов жёсткий. Сначала продукт создаётся в Play Console (Monetize → Products → Subscriptions, базовый план, опционально интро-оффер), потом импортируется в панель RevenueCat и привязывается к entitlement вроде pro, затем добавляется в оффер как пакет с идентификатором $rc_monthly или $rc_annual. Отдельная фаза — плейсменты и правила таргетинга по версии ОС, стране или кастомному атрибуту. Правки офферов и таргетинга подхватываются на следующем запуске приложения, релиз сборки не нужен.

Если после awaitOfferings() пакет приходит null, скилл перечисляет три частые причины: оффер не помечен как Current, продукт не привязан к пакету или Play ещё не разнёс продукт по своим системам. Ещё одна ошибка — создавать оффер до импорта продукта. Для массовых правок из бэкенда предусмотрен REST API RevenueCat по продуктам, entitlement и офферам; к Google при этом всё равно не обращаетесь.

Какие задачи решает

  • создать новый продукт-подписку в Play Console и довести его до оффера
  • привязать продукт к entitlement, чтобы клиент видел активную подписку
  • собрать пакеты $rc_monthly и $rc_annual в оффере без релиза приложения
  • настроить таргетинг по стране или версии ОС через плейсменты
  • разобраться, почему awaitOfferings() возвращает null для пакета

Примеры запросов агенту

  • Добавь новую подписку premium_annual: создай продукт в Play Console, импортируй в RevenueCat и привяжи к entitlement pro
  • Собери оффер default с пакетами $rc_monthly и $rc_annual и отметь его как Current
  • Почему awaitOfferings() возвращает null для месячного пакета? Проверь оффер, привязку продукта и статус в Play Console

Как установить rc-catalog-management

1Через Skills CLI (Vercel)

npx skills add RevenueCat/ai-toolkit --skill rc-catalog-management -a claude-code

2Вручную: положить файлы

~/.claude/skills/rc-catalog-management/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/rc-catalog-management/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора25

rc-security Проверяет безопасность интеграции RevenueCat в Android: режим проверки подписи, ключи API, идентификацию пользователей и проверку прав на сервере. CX Codex +1 649установок rc-backend Скилл для работы с состоянием RevenueCat на сервере: чтение подписчиков, выдача и отзыв entitlements, атрибуты через REST API. CX Codex +1 635установок rc-setup Проведёт по дашборду RevenueCat и подключению Google Play: приложение, сервисный аккаунт, entitlements, offerings и публичный API-ключ. CX Codex +1 638установок rc-configuring-the-sdk Скилл проводит агента через подключение RevenueCat к Android-приложению: Gradle-зависимость, Purchases.configure, стратегия app user id и уровень логов. CX Codex +1 636установок rc-subscription-states Скилл для Android-проектов на RevenueCat: подсказывает агенту, как проверять доступ к платному контенту через CustomerInfo и EntitlementInfo. CX Codex +1 623установок rc-error-handling Разбирает ошибки RevenueCat Android SDK: какой код что значит и что показать пользователю. Пригодится, когда платёжный флоу ломается на проде. CX Codex +1 627установок rc-revenuecat-api-quick-reference Справочник по Android SDK 10.x и REST API RevenueCat прямо в редакторе: сигнатуры вызовов, структура Offerings, поля CustomerInfo. CX Codex +1 624установок rc-price-changes Помогает провести новую цену подписки в Google Play через RevenueCat, не трогая код приложения. CX Codex +1 618установок

Похожие

asc-revenuecat-catalog-sync rorkai Сверяет каталог подписок и встроенных покупок App Store Connect с продуктами RevenueCat. Нужен перед запуском или при устранении расхождений между каталогами. CX Codex +1 6 100установок capacitor-in-app-purchases capawesome-team Скилл ведёт агента по шагам: настройка товаров в App Store Connect и Google Play Console, выбор плагина, покупки, валидация чеков и тесты в песочнице. CX Codex +1 728установок paywall-optimization appeeky Скилл для аудита и A/B-тестов пейвола в подписочных приложениях. Помогает найти слабую ступень воронки и починить её. CX Codex +1 1 900установок subscription-lifecycle appeeky Скилл помогает разбирать подписочный цикл от пробного периода до продления, отмены и возврата ушедших подписчиков. Нужен для анализа конверсии, оттока и неудачных платежей. CX Codex +1 2 500установок fix-codesign-error официальный OpenAI Разбирает сбой подписи или entitlements на macOS и показывает минимальный путь починки. Пригодится, когда сборка не запускается или не проходит проверку. CX Codex GP ChatGPT ★ 7 596звёзд репо asc-ppp-pricing rorkai Настраивает цены подписок и покупок в приложении по территориям. Нужен для локальной ценовой стратегии и проверки текущих цен. CX Codex +1 7 300установок

Рядом в теме «Мобильная разработка»

Всё по теме «Мобильная разработка» →

Вопросы о rc-catalog-management

Как установить rc-catalog-management в Claude?

Выполните npx skills add RevenueCat/ai-toolkit --skill rc-catalog-management -a claude-code. Скилл окажется в ~/.claude/skills/rc-catalog-management/SKILL.md.

Что делает rc-catalog-management?

Проводит по управлению каталогом Android-товаров: создание продукта в Play Console, импорт в панель RevenueCat, привязка entitlement, сборка офферов и пакетов, настройка таргетинга.

Можно ли менять офферы без обновления приложения?

Да. Клиент забирает конфигурацию из панели RevenueCat при вызове awaitOfferings(), поэтому правки офферов, замена пакетов и правила таргетинга применяются на следующем запуске приложения.

Исходный текст

SKILL.md · MIT
---
name: rc-catalog-management
description: Use this skill when managing the Android product catalog through the Play Console and the RevenueCat dashboard. Covers the two sided catalog flow (create in Play Console, import or map in RevenueCat), entitlement and offering maintenance, and why you do not call the Google Play Developer API directly.
license: Apache-2.0; see LICENSE
metadata:
  author: RevenueCat
  source: revenuecat-handbook chapter 17
  keywords:
  - android
  - revenuecat
  - catalog
  - dashboard
  - offerings
  - entitlements
---

# Catalog Management

Manage the Android product catalog across two surfaces: the Google Play Console (source of truth for products) and the RevenueCat dashboard (entitlements, offerings, targeting). You do not call the Google Play Developer `monetization.subscriptions` or `monetization.onetimeproducts` endpoints from your app or backend.

## Phase 1: Understand

Read this phase before you touch anything.

### Why two surfaces

| Surface | Owns | Examples |
|---|---|---|
| Google Play Console | Underlying products, base plans, offers, prices | `premium_monthly`, base plan `p1m`, intro offer |
| RevenueCat dashboard | Entitlements, Offerings, Packages, Targeting | `pro` entitlement, `default` offering, `$rc_monthly` package |

Play Console holds the billable SKU. RevenueCat decides which SKU gets surfaced to which user and under which entitlement key.

### What changes without an app update

When your app calls `awaitOfferings()`, it fetches whatever the RevenueCat dashboard has configured. Offering edits, package swaps, and targeting rules propagate on the next app launch. No binary release is required.

### When to use the REST API

If you need to automate catalog edits from a backend (for example, seeding dozens of offerings across environments), use the RevenueCat REST API for products, entitlements, and offerings. You still do not talk to Google directly. Play Console remains the product source of truth.

## Phase 2: Plan

Before you make a change, decide:

1. **Is this a new product, or a repackaging of an existing one?**
   - New product: start in Play Console.
   - Repackaging (new offering, new targeting, new entitlement mapping): stay in RevenueCat.
2. **Which entitlement does the product unlock?** If you do not have a matching entitlement, create one first.
3. **Which offering and package identifier?** Decide the package identifier (for example `$rc_monthly`, `$rc_annual`) so your paywall code keeps working.
4. **Does targeting need to change?** If different users should see different offerings, plan the placement name and the targeting rule (OS version, country, custom attribute).

## Phase 3: Execute

The end to end flow for adding a new subscription product.

### Step 1: Add the product in the Play Console

1. Open **Play Console** -> your app -> **Monetize** -> **Products** -> **Subscriptions**.
2. Click **Create subscription**.
3. Set the product ID (for example `premium_monthly`), name, and description.
4. Add a base plan (billing period, renewal type, price).
5. Optionally add offers (intro pricing, free trial).
6. Activate the subscription.

Wait a few minutes for Play to propagate the product.

### Step 2: Import into RevenueCat and attach an entitlement

1. Open the **RevenueCat dashboard** -> your project -> **Products**.
2. Click **Import** to sync from the Play Console. The new product appears in the list.
3. Open the product and attach it to an existing entitlement, or create a new one.
   - Entitlement example: `pro`. Every product that unlocks pro features attaches to `pro`.

Your client code checks entitlements by key:

```kotlin
val isPro = customerInfo.entitlements["pro"]?.isActive == true
```

### Step 3: Wire the product into an Offering as a Package

1. In the dashboard, open **Offerings**.
2. Pick the offering you want to edit, or create a new one (for example `default`).
3. Add a **Package**. Choose a package identifier that matches your paywall:
   - `$rc_monthly` for monthly
   - `$rc_annual` for annual
   - Or a custom identifier
4. Attach the Play Console product to the package.
5. Save. Mark the offering as Current if it should be the default.

Your client code stays the same:

```kotlin
val offerings = Purchases.sharedInstance.awaitOfferings()
val monthly = offerings.current?.monthly
```

### Step 4 (optional): Targeting

If different users should see different offerings, use placements.

1. In the dashboard, open **Targeting** -> **Placements**.
2. Create a placement (for example `paywall_upsell`).
3. Add rules (OS version, country, custom attribute) that map users to specific offerings.

Client code:

```kotlin
val offering = offerings.getCurrentOfferingForPlacement("paywall_upsell")
    ?: offerings.current
```

No app update is required when you change targeting rules later.

## Phase 4: Verify

Check the change landed before you close the task.

| Check | How |
|---|---|
| Product exists in Play | Play Console -> Subscriptions shows the product as Active |
| Product imported to RC | Dashboard -> Products lists the product |
| Entitlement mapping | Dashboard -> Entitlements shows the product under the right entitlement |
| Offering wiring | Dashboard -> Offerings shows the product attached to the expected package |
| Runtime fetch | Launch the app, call `awaitOfferings()`, confirm the package resolves |
| Entitlement unlock | Complete a test purchase, confirm `customerInfo.entitlements["pro"].isActive` is true |

If `awaitOfferings()` returns `null` for a package you expect, the most common causes are: the offering is not marked Current, the product is not attached to the package, or Play has not finished propagating the product.

## Common Mistakes

- Calling `monetization.subscriptions` from your backend. Use RevenueCat instead.
- Creating an offering before importing the product. Import first, then wire.
- Shipping hard coded product IDs in your paywall UI. Use package identifiers so you can swap products without an app release.
- Forgetting to mark an offering as Current. Clients that call `offerings.current` will see the old offering until you flip this.

## References

- [Full chapter](https://www.revenuecat.com/guides/revenuecat-android-sdk/catalog-management)

© RevenueCat · MIT · RevenueCat/ai-toolkit

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой