RevenueCatプロジェクトを一から完全に構築します。アプリ、製品、エンタイトルメント(利用権)、オファリング(販売パッケージ)、パッケージを正しい順序で作成します。 次のような場合に使用: ユーザーが新しいRevenueCatプロジェクトを作成したい、アプリ内購入を設定したい、サブスクリプション(継続課金)やマネタイゼーション(収益化)を構築したい、あるいはiOS、Android、Webの各プラットフォーム向けのアプリ内購入インフラを立ち上げたいとき。
Set up a complete RevenueCat project from scratch — creates apps, products, entitlements, offerings, and packages in the correct order. Use when the user wants to create a new RevenueCat project, configure in-app purchases, set up subscriptions or monetization, or bootstrap IAP infrastructure for iOS, Android, or Web.
RevenueCat プロジェクトをゼロから構築するための完全なセットアップガイドです。
重要: 以下のすべての操作に RevenueCat の MCP サーバーまたは rc CLI(ユーザーが利用可能なもの)を使用してください。どちらも同じ操作に対応しています。CLI の発見方法と使用規約については revenuecat-cli スキルを参照してください。常にまずプロジェクト一覧を取得してください(list-projects または rc projects list)。複数のプロジェクトが返された場合は、どのプロジェクトを使用するか、または新規作成するかをユーザーに確認してください。
開発者のニーズを理解するため、以下の質問を順番に行ってください:
com.company.appname)、パッケージ名(Android)、表示名以下の順序で実行してください(依存関係があります)。各ステップで MCP ツールを記載します。対応する rc コマンドは rc projects create、rc apps create、rc products create、rc entitlements create、rc entitlements attach、rc offerings create、rc packages create、rc packages attach、rc apps keys です。
プロジェクトの確認・作成
list-projects で利用可能なプロジェクト一覧を表示create-project MCP ツールを使用各プラットフォーム用のアプリを作成
create-app ツール(type: app_store | play_store)を使用。未セットアップの場合は、自動生成される test_store アプリを使用し、後で App Store Connect / Google Play Console との連携設定ができることをユーザーに説明create-app を type: rc_billing で実行各サブスクリプション・購入オプション用の商品を作成: create-product ツール
各機能・アクセスレベル用の権限範囲を作成: create-entitlement ツール
商品を権限範囲に紐付け: attach-products-to-entitlement ツール
デフォルト提供内容(オファリング)を作成: create-offering ツール(lookup_key: "default")
提供内容内のパッケージを作成: create-package ツール(サブスクリプション向けに $rc_monthly、$rc_annual などを使用)
商品をパッケージに紐付け: attach-products-to-package ツール
API キーを取得: list-app-public-api-keys ツール
完全なセットアップサマリーを提供してください:
プロジェクト設定が完了しました!
================================
プロジェクト: {project_name} ({project_id})
作成されたアプリ:
iOS: {app_name} - API キー: appl_xxxxx
Android: {app_name} - API キー: goog_xxxxx
商品:
- monthly_premium(サブスクリプション、1ヶ月)
- annual_premium(サブスクリプション、1年)
権限範囲:
- premium → monthly_premium、annual_premium
提供内容: default(現在)
└── $rc_monthly → monthly_premium
└── $rc_annual → annual_premium
次のステップ:
1. RevenueCat ダッシュボードでストア認証情報を設定
2. App Store Connect / Play Console で商品を作成
3. アプリに SDK を追加(/rc:create-app を参照)
4. 「default」提供内容を使用して、購入画面 UI を実装
ステップが失敗した場合:
Guide through setting up a complete RevenueCat project from scratch.
Important: Use the RevenueCat MCP server or the rc CLI (whichever the user has available) for all operations below; both cover the same actions for these steps. See the revenuecat-cli skill for CLI discovery and conventions. Always list projects first (list-projects or rc projects list) to retrieve all accessible projects. If multiple projects are returned, ask the user which project to use or if they want to create a new one.
Ask targeted questions to understand the developer's needs:
com.company.appname), package name (Android), and display nameExecute in this order — dependencies matter. Each step names the MCP tool; the equivalent rc commands are rc projects create, rc apps create, rc products create, rc entitlements create, rc entitlements attach, rc offerings create, rc packages create, rc packages attach, and rc apps keys.
Verify/Create Project
list-projects - list accessible projects
If multiple: ask user which to use, or offer to create a new one
To create a new project, use the create-project MCP tool
Store project_id for all subsequent calls
Create Apps (for each platform):
create-app tool (type: app_store | play_store). If not, use the automatically generated test_store app and tell the user that they can set up the integration with App Store Connect / Google Play Console later.create-app with type rc_billingCreate Products (for each subscription/purchase): create-product tool
Create Entitlements (for each feature/access level): create-entitlement tool
Attach Products to Entitlements: attach-products-to-entitlement tool
Create Default Offering: create-offering tool (lookup_key: "default")
Create Packages in Offering: create-package tool (for subscriptions, use $rc_monthly, $rc_annual, etc.)
Attach Products to Packages: attach-products-to-package tool
Get API Keys: list-app-public-api-keys tool
Provide a complete setup summary:
Project Setup Complete!
=======================
Project: {project_name} ({project_id})
Apps Created:
iOS: {app_name} - API Key: appl_xxxxx
Android: {app_name} - API Key: goog_xxxxx
Products:
- monthly_premium (subscription, P1M)
- annual_premium (subscription, P1Y)
Entitlements:
- premium → monthly_premium, annual_premium
Offering: default (current)
└── $rc_monthly → monthly_premium
└── $rc_annual → annual_premium
Next Steps:
1. Configure store credentials in RevenueCat dashboard
2. Create products in App Store Connect / Play Console
3. Add SDK to your app (see /rc:create-app)
4. Implement paywall UI using the "default" offering
If any step fails:
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。