• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLOfficialdevelopment

revenuecat-store-state

プラグイン
rc
ソース
GitHub で見る ↗
説明

次のような場合に使用: ユーザーが RevenueCat の product-store-state プラン経由で、App Store Connect、Google Play Console、RC Billing、Test Store などの各ストアにおける商品の状態を確認したり変更したりしたい場合(商品の価格、利用可能性、多言語対応、レビュー用スクリーンショットなど)

原文を表示

Use when the user wants to inspect or change the state of products in App Store Connect, Google Play Console, RC Billing, or Test Store (prices, availability, localizations, review screenshots) via RevenueCat product-store-state plans

ユースケース
  • 複数ストアの商品状態を確認する
  • 商品の価格や利用可能性を変更する
  • 商品の多言語対応を管理する
  • レビュー用スクリーンショットを設定する
本文(日本語訳)

商品ストア状態の管理

ストアは、価格、在庫状況、言語対応、オファーの情報源です。読み込みは即座に行われます。書き込みは商品ストア状態プラン(変更内容の計画)を通じて行われます。まずドラフトを作成し、確認可能な差分を計算してから適用します。プランを適用するまで、何もストアに反映されません。

MCP と rc CLI(revenuecat-cli スキルを参照)は同じプラン/適用モデルを使用しています。利用可能な方を優先してください。正確なパラメータについては MCP ツールスキーマ(または rc commands --schemas --json)を参照してください。

プロジェクトごとにアクティブ(終了していない)なプランは最大 1 つです。新しいプランを作成する前にプランを一覧表示してください。プランが既に進行中の理由で作成に失敗した場合は、それを取得して保留中の内容を説明し、ユーザーと一緒に続行するか破棄するかを決めてください。

読み込み

常に get-product-store-state(CLI: rc products show <product-id> --store-state)を使用してください。get-product、list-products、またはオファリングデータからストア価格、在庫状況、トライアルを推測してはいけません。これらは RevenueCat カタログであり、ストア状態ではありません。応答に含まれる警告を表示してください。

前提条件

ストア状態の書き込みには、RevenueCat プロジェクトに接続されたストア認証情報(App Store Connect API キー、または「ストアプレゼンス管理」権限を持つ Google Play サービスアカウント)と、プロジェクトへの書き込みアクセス権がある RevenueCat ログインが必要です。認証情報またはパーミッションエラーで書き込みが失敗した場合は、リトライせず、何が不足しているか、どうすれば解決できるか(ダッシュボードアプリ設定でのストア認証情報設定)を報告してください。

適用前に確認

書き込みは本番環境のストアに適用され、ライブ顧客が見たり支払ったりする内容が変わる可能性があります。プラン内容の差分をユーザーに表示し、明示的な承認を得るまで、絶対に適用を呼び出さないでください。

プラン作成成功後:

  1. summary と各 plan_items[*].diff を平易な言葉で要約します(各フィールドについて変更前 → 変更後)。
  2. すべての警告(severity、field、message)を報告します。plan_items[*].warnings に severity: blocker(致命的な問題)がある場合は絶対に適用しないでください。望ましい状態を修正し、プランを更新して、アイテムレベルのブロッカーがなくなるまで再度プラン作成してください。
  3. 必要に応じてダッシュボード確認 URL を共有してください: https://app.revenuecat.com/projects/{project_id}/product-catalog/product-editor/review-changes?plan_id={plan_id}
  4. 明示的なゴーサインを待ってください。各商品の変更を個別に確認するか、明確に箇条書きにされたバッチとして確認してください。無関係な変更を 1 つの確認に含めてはいけません。
  5. その後のみ適用を呼び出し、actions に apply が含まれている場合のみです。

読み込みは確認の必要はありません。Apple への製品提出は別の確認が必要な書き込み(submit-products-to-store)です。

推奨される書き込みフロー(MCP)

  1. まず検査してください。 望ましい変更を決める前に、既存の商品に対して get-product-store-state を実行してください。
  2. ドラフトプランを作成してください。 create-product-store-state-plan を使用して、商品ごとに 1 つの desired_states エントリを指定します。
    • 既存の RevenueCat 商品を product_id でターゲットするか、create_revenuecat_product(app_id、store_identifier、type、display_name、title — ユーザーが 1 つの名前だけ指定した場合は両方に使用)を渡します。
    • store を app_store、play_store、rc_billing、test_store に設定し、対応する store_state を入力してください。
    • 価格、在庫状況、言語対応、(ユーザーが指定した場合)確認用スクリーンショットを望ましい状態に入れてください。create-product-prices、upload-product-store-state-screenshot、equalize-subscription-prices は呼び出さないでください。
    • App Store サブスクリプション:保持する価格を territory_prices に送信し、base_territory 付きで common.pricing.equalize_missing_subscription_prices(不足している Apple の地域を適用時に自動埋入する機能)を含めてください。App Store の 1 回限りの商品にはこのフィールドを送信しないでください。
    • App Store 確認用スクリーンショット:ユーザーが画像を提供しない限り、スクリーンショットを省略して、適用時に空白のプレースホルダーをアップロードしてください。
    • RC Billing / Test Store:価格は common.pricing.currency_prices(作成のみ、既存通貨の更新は拒否されます)です。
  3. プラン作成してください。 plan-product-store-state-plan を実行し、ステータスが planned、planned_and_finished、plan_errored になるまで get-product-store-state-plan をポーリング(定期確認)してください。
  4. ユーザーと一緒に確認してください。 「適用前に確認」セクションに従ってください。プラン作成が失敗した場合は、error_message / アイテムごとのエラーと確認 URL を報告し、適用しないでください。
  5. 適用してください。 apply-product-store-state-plan を実行してください。その後、applied または apply_errored になるまで get-product-store-state-plan をポーリングしてください。商品ごとの apply_status と apply_error_message があればそれを報告してください。プラン作成後にストアが変更されたために適用に失敗した場合は、ユーザーに伝えて、新しい状態から新しいプランを開始してください。
  6. 準備ができたら確認用に提出してください。 App Store のみ:適用に成功した後、変更は App Store Connect に入りますが、まだ Apple に提出されていません。適用したばかりの商品に対して submit-products-to-store(確認が必要な書き込み)を提案してください。Play Store、RC Billing、Test Store ではスキップしてください。

ドラフトまたはプラン済みプランを破棄するには、discard-product-store-state-plan を使用してください。ドラフトを変更するには、update-product-store-state-plan を実行してから再度プラン作成してください。

CLI の同等コマンド

インストール、認証、スキーマ検出については revenuecat-cli スキルを参照してください。対応表:

  • 読み込み:rc products show <product-id> --store-state
  • 作成 + 差分計算:rc products store plan <app-id> --file <csv|json>
  • 保存済みプランの再表示:rc products store show <plan-id>
  • 適用 / 破棄:rc products store apply <plan-id> / rc products store discard <plan-id>

CLI の適用は完了を待ちます(別途ポーリング不要)。ただし、apply の前にプランの差分を表示し、確認を待ってください。正確なフラグは rc commands --schemas --json で確認してください。

これらの MCP ツールは書き込みに使用しないでください

MCP カタログに引き続き表示される場合があります。これらは 1 つの商品を事前確認可能なプランなしで書き込みます。上記のプランツールを優先してください。

  • set-product-store-state
  • get-product-store-state-operation
  • create-product-prices
  • upload-product-store-state-screenshot
  • equalize-subscription-prices
原文(English)を表示

Managing product store state

The store is the source of truth for prices, availability, localizations, and offers. Reads are immediate. Writes go through a product store state plan: create a draft, compute a reviewable diff, then apply. Nothing reaches the store until the plan is applied.

MCP and the rc CLI (see the revenuecat-cli skill) use the same plan/apply model. Prefer whichever surface is available. Refer to the MCP tool schemas (or rc commands --schemas --json) for exact parameters.

There is at most one active (non-terminal) plan per project. List plans before creating a new one; if create fails because a plan is already in progress, fetch it, describe what is pending, and decide with the user whether to continue it or discard it.

Reads

Always use get-product-store-state (CLI: rc products show <product-id> --store-state). Never infer store prices, availability, or trials from get-product, list-products, or offering data — those are RevenueCat catalog, not store state. Surface the response's warnings.

Prerequisites

Store-state writes require store credentials connected to the RevenueCat project (an App Store Connect API key, or a Google Play service account with the Manage store presence permission) and a RevenueCat login with write access to the project. If a write fails with a credentials or permission error, report what is missing and how to fix it (dashboard app settings for store credentials) instead of retrying.

Confirm before applying

Apply writes to production stores and can change what live customers see and pay. Never call apply until you have shown the planned diffs and the user has explicitly confirmed.

After planning succeeds:

  1. Summarize summary and each plan_items[*].diff in plain language (before → after per field).
  2. Report every warning (severity, field, message). Never apply if any plan_items[*].warnings has severity: blocker. Fix the desired state, update the plan, and re-plan until there are no item-level blockers.
  3. Optionally share the dashboard review URL: https://app.revenuecat.com/projects/{project_id}/product-catalog/product-editor/review-changes?plan_id={plan_id}
  4. Wait for an explicit go-ahead. Confirm each product's change individually or as one clearly itemized batch — never fold unrelated changes into a single confirmation.
  5. Only then call apply, and only if actions includes apply.

Reads do not need confirmation. Submitting products to Apple for review is a separate confirmed write (submit-products-to-store).

Recommended write flow (MCP)

  1. Inspect first. get-product-store-state on existing products before deciding the desired changes.
  2. Create a draft plan. create-product-store-state-plan with one desired_states entry per product.
    • Target an existing RevenueCat product with product_id, or pass create_revenuecat_product (app_id, store_identifier, type, display_name, and title — when the user gave only one name, use it for both).
    • Set store to app_store, play_store, rc_billing, or test_store and populate the matching store_state.
    • Put prices, availability, localizations, and (if the user provided one) the review screenshot in the desired state. Do not call create-product-prices, upload-product-store-state-screenshot, or equalize-subscription-prices.
    • App Store subscriptions: send the prices to keep in territory_prices and include common.pricing.equalize_missing_subscription_prices with that base_territory so missing Apple territories are filled at apply. Do not send that field for App Store one-time products.
    • App Store review screenshots: omit screenshot so apply can upload a blank placeholder unless the user supplied an image.
    • RC Billing / Test Store: pricing is common.pricing.currency_prices (create-only; updating an existing currency is rejected).
  3. Plan. plan-product-store-state-plan, then poll get-product-store-state-plan until status is planned, planned_and_finished, or plan_errored.
  4. Review with the user. Follow Confirm before applying. If planning failed, report error_message / per-item errors and the review URL; do not apply.
  5. Apply. apply-product-store-state-plan. Then poll get-product-store-state-plan until applied or apply_errored. Report per-product apply_status and any apply_error_message. If apply fails because the store changed after planning, tell the user and start a new plan from the fresh state.
  6. Submit for review when ready. App Store only: after apply succeeded, the change is in App Store Connect but not yet submitted to Apple. Offer submit-products-to-store for the products just applied (confirmed write). Skip for Play Store, RC Billing, and Test Store.

To abandon a draft or planned plan, discard-product-store-state-plan. To change a draft, update-product-store-state-plan then plan again.

CLI equivalents

See the revenuecat-cli skill for install, auth, and schema discovery. Mapping:

  • Read: rc products show <product-id> --store-state
  • Create + compute diff: rc products store plan <app-id> --file <csv|json>
  • Re-display a saved plan: rc products store show <plan-id>
  • Apply / discard: rc products store apply <plan-id> / rc products store discard <plan-id>

CLI apply waits for completion (no separate poll). Still show the plan diff and wait for confirmation before apply. Confirm exact flags with rc commands --schemas --json.

Do not use these MCP tools for writes

These may still appear in the MCP catalog. They write one product with no previewable plan. Prefer the plan tools above.

  • set-product-store-state
  • get-product-store-state-operation
  • create-product-prices
  • upload-product-store-state-screenshot
  • equalize-subscription-prices

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。