• 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

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

次のような場合に使用: ユーザーがRevenueCat製品(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

ユースケース
  • RevenueCat製品の状態を確認したいとき
  • 価格や利用可能性を変更したいとき
  • 多言語対応の設定をしたいとき
  • レビュー用スクリーンショットを管理したいとき
本文(日本語訳)

製品ストア状態の管理

ストアは、価格、利用可能性、言語対応、およびオファーの情報源です。読み取りは即座に実行されます。書き込みは製品ストア状態プランを通じて処理されます。すなわち、下書きを作成し、確認可能な変更内容を計算し、その後に適用します。プランが適用されるまで、ストアには何も書き込まれません。

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 カタログであり、ストア状態ではありません。応答の warnings を表示してください。

前提条件

ストア状態の書き込みには、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. 下書きプランを作成します。 製品ごとに1つの desired_states エントリで create-product-store-state-plan を実行してください。
    • 既存の 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 に送信し、common.pricing.equalize_missing_subscription_prices をその base_territory で含めてください。これにより、不足している 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 による自動翻訳です。