- name
SKILL.md
Le fichier du skill reste dans le dépôt de l'éditeur.
Collez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add rorkai/app-store-connect-cli-skills --skill asc-revenuecat-catalog-sync -a cursor -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add rorkai/app-store-connect-cli-skills --skill asc-revenuecat-catalog-sync -a claude-code -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add rorkai/app-store-connect-cli-skills --skill asc-revenuecat-catalog-sync -a codex -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add rorkai/app-store-connect-cli-skills --skill asc-revenuecat-catalog-sync -a grok -yEnvoyez le message copié dans un chat Grok Bot. Le Bot récupère ce SKILL.md sur GitHub et l'ajoute aux skills que partagent tous vos Bots.
Install this skill: https://github.com/rorkai/app-store-connect-cli-skills/tree/HEAD/skills/asc-revenuecat-catalog-syncDe l'éditeur
Use this skill to keep App Store Connect (ASC) and RevenueCat aligned, including creating missing ASC items and mapping them to RevenueCat resources.
asc authentication is configured (asc auth login or ASC_* env vars).APP_ID)project_idapp_store or mac_app_store) and bundle ID for create flowsproductId == RevenueCat store_identifier.productId stable once products are live.asc commands to create missing ASC subscription groups, subscriptions, and IAPs before RevenueCat mapping.Execute approved actions in this order:
asc subscriptions groups list --app "APP_ID" --paginate --output json
asc iap list --app "APP_ID" --paginate --output json
# for each subscription group:
asc subscriptions list --group-id "GROUP_ID" --paginate --output json
Use these MCP tools (with project_id and pagination where applicable):
mcp_RC_get_projectmcp_RC_list_appsmcp_RC_list_productsmcp_RC_list_entitlementsmcp_RC_list_offeringsmcp_RC_list_packagesMap ASC product types to RevenueCat product types:
subscriptionCONSUMABLE -> RevenueCat consumableNON_CONSUMABLE -> RevenueCat non_consumableNON_RENEWING_SUBSCRIPTION -> RevenueCat non_renewing_subscriptionSuggested entitlement policy:
Resolve every parent and version before writing. Match groups by exact reference
name and products by productId; never treat a display name as identity. Reuse
the canonical ID when the resource already exists, and run a create command
only when the fully paginated read proves it is missing. A RevenueCat product
mapping is not proof that the corresponding ASC subscription is review-ready.
# Resolve GROUP_ID by exact referenceName.
asc subscriptions groups list --app "APP_ID" --paginate --output json
# If and only if the fully paginated list has zero exact matches:
asc subscriptions groups create --app "APP_ID" --reference-name "Premium" --output json
# For one match, reuse its ID. For more than one, stop and require an explicit GROUP_ID.
# Resolve SUB_ID by exact productId within GROUP_ID. Run setup only for a missing
# parent or an explicitly approved reconciliation of that same product ID.
asc subscriptions list --group-id "GROUP_ID" --paginate --output json
# If and only if the fully paginated list has zero exact matches, run setup:
asc subscriptions setup \
--app "APP_ID" \
--group-id "GROUP_ID" \
--reference-name "Monthly" \
--product-id "com.example.premium.monthly" \
--subscription-period ONE_MONTH \
--review-screenshot "./review.png" \
--price "3.99" \
--price-territory "USA" \
--territories "USA" \
--no-verify \
--output json
# For one match, reuse its ID. For more than one, stop and require an explicit SUB_ID.
# Re-run setup for an existing SUB_ID only for an explicitly approved reconciliation.
# Resolve the unique mutable group version for this review lifecycle.
asc subscriptions groups versions list --group-id "GROUP_ID" --state PREPARE_FOR_SUBMISSION --paginate --output json
# If and only if the list has zero matches:
asc subscriptions groups versions create --group-id "GROUP_ID" --output json
# For one match, reuse .data[0].id. For more than one, stop and require an explicit GROUP_VERSION_ID.
# Resolve the en-US localization on GROUP_VERSION_ID. Create it only when
# missing; update the resolved localization ID when its values differ.
asc subscriptions groups versions localizations list --version-id "GROUP_VERSION_ID" --paginate --output json
asc subscriptions groups versions localizations create --version-id "GROUP_VERSION_ID" --locale "en-US" --name "Premium" --output json
asc subscriptions groups versions localizations update --id "GROUP_LOC_ID" --name "Premium"
# Resolve the unique mutable subscription version for this review lifecycle.
asc subscriptions versions list --subscription-id "SUB_ID" --state PREPARE_FOR_SUBMISSION --paginate --output json
# If and only if the list has zero matches:
asc subscriptions versions create --subscription-id "SUB_ID" --output json
# For one match, reuse .data[0].id. For more than one, stop and require an explicit SUBSCRIPTION_VERSION_ID.
asc subscriptions versions localizations list --version-id "SUBSCRIPTION_VERSION_ID" --paginate --output json
asc subscriptions versions localizations create --version-id "SUBSCRIPTION_VERSION_ID" --locale "en-US" --name "Premium Monthly" --description "Unlock all premium features." --output json
asc subscriptions versions localizations update --id "SUBSCRIPTION_LOC_ID" --name "Premium Monthly" --description "Unlock all premium features."
# Read back the exact versions selected above, then run the final strict validator.
asc subscriptions groups versions localizations list --version-id "GROUP_VERSION_ID" --paginate --output table
asc subscriptions versions localizations list --version-id "SUBSCRIPTION_VERSION_ID" --paginate --output table
asc validate subscriptions --app "APP_ID" --strict --output table
# Resolve IAP_ID by exact productId.
asc iap list --app "APP_ID" --paginate --output json
# If and only if the fully paginated list has zero exact matches:
asc iap create \
--app "APP_ID" \
--type NON_CONSUMABLE \
--ref-name "Lifetime" \
--product-id "com.example.lifetime" \
--output json
# For one match, reuse its ID. For more than one, stop and require an explicit IAP_ID.
# Resolve the unique mutable IAP version for this review lifecycle.
asc iap versions list --iap-id "IAP_ID" --state PREPARE_FOR_SUBMISSION --paginate --output json
# If and only if the list has zero matches:
asc iap versions create --iap-id "IAP_ID" --output json
# For one match, reuse .data[0].id. For more than one, stop and require an explicit IAP_VERSION_ID.
asc iap versions localizations list --version-id "IAP_VERSION_ID" --paginate --output json
asc iap versions localizations create --version-id "IAP_VERSION_ID" --locale "en-US" --name "Lifetime" --description "Unlock all premium features." --output json
asc iap versions localizations update --localization-id "IAP_LOC_ID" --name "Lifetime" --description "Unlock all premium features."
asc iap versions localizations list --version-id "IAP_VERSION_ID" --paginate --output table
Each adjacent create/update pair above is conditional, not a sequence to run
blindly: create when the list has no match, update when the resolved match has
different values, and do nothing when it already matches. Capture .data.id
from a create response or .data[].id from the preceding list as the canonical
ID used by later commands. Do not create a version to resolve ambiguity: parent
deletion did not reliably cascade IAP or subscription versions in live testing.
subscriptions setup finishes the parent, App Review screenshot delivery,
complete App Store price matrix, and sale availability. The version-scoped
commands finish the group and subscription localizations that RevenueCat
cannot. Keep sale availability scoped to the requested territories; pricing
still needs Apple's complete equalized territory matrix. --no-verify is
intentional in this split workflow because final verification must wait until
the version metadata exists; the explicit readbacks and validator are the final
gate.
If an existing API-created subscription remains MISSING_METADATA even though
the selected base price is unchanged, re-run the same setup inputs with
--repair. Repair atomically rebuilds and re-saves the complete equalized price
matrix; it is not a duplicate single-price POST.
Before creating or attaching the RevenueCat product for any resolved ASC subscription or IAP, run its strict gate after the final ASC reconciliation, even when the product and its selected version were reused without any ASC write. For subscriptions:
mkdir -p "./audit"
asc validate subscriptions --app "APP_ID" --strict --output json --pretty \
> "./audit/subscriptions-validation.json"
For IAPs:
mkdir -p "./audit"
asc validate iap --app "APP_ID" --strict --output json --pretty \
> "./audit/iap-validation.json"
Both commands are strict mapping gates, not post-write smoke tests. Do not map
any resolved or reused subscription while validation reports warnings, errors,
MISSING_METADATA, a review screenshot that is not COMPLETE, or incomplete
or unverified pricing coverage. Do not map any resolved or reused IAP while its
validator reports warnings or errors. Require a zero exit status from the
applicable gate before RevenueCat product creation or attachment; direct
redirection preserves each validator's exit status. Retain
./audit/subscriptions-validation.json and ./audit/iap-validation.json as
final audit evidence.
Use MCP:
mcp_RC_create_appmcp_RC_create_product
store_identifier = ASC productIdapp_id = RevenueCat app IDtype from mapping aboveUse MCP:
mcp_RC_list_entitlements, mcp_RC_create_entitlementmcp_RC_attach_products_to_entitlementmcp_RC_get_products_from_entitlementUse MCP:
mcp_RC_list_offeringsmcp_RC_create_offeringmcp_RC_update_offering (is_current=true only if requested)mcp_RC_list_packagesmcp_RC_create_packagemcp_RC_attach_products_to_package with eligibility_criteria: "all"Recommended package keys:
ONE_WEEK -> $rc_weeklyONE_MONTH -> $rc_monthlyTWO_MONTHS -> $rc_two_monthTHREE_MONTHS -> $rc_three_monthSIX_MONTHS -> $rc_six_monthONE_YEAR -> $rc_annual$rc_lifetime$rc_custom_<name>Return a final summary with:
Example:
ASC: created groups=1 subscriptions=2 iap=1, skipped=14, failed=0
RC: created apps=0 products=3 entitlements=2 offerings=1 packages=2, skipped=27, failed=1
Attachments: entitlement_products=3 package_products=2
Failures:
- com.example.premium.annual: duplicate store_identifier exists on another RC app
store_identifier first.--paginate for ASC, starting_after for RevenueCat tools).asc validate subscriptions --app "APP_ID" --strict --output json --pretty, save its JSON, and block RevenueCat creation or attachment unless the gate exits zero with no missing metadata or incomplete pricing.asc validate iap --app "APP_ID" --strict --output json --pretty, save its JSON, and block RevenueCat creation or attachment unless the gate exits zero.project_id or app ID.Reconcile App Store Connect subscriptions and in-app purchases with RevenueCat products, entitlements, offerings, and packages using asc and RevenueCat MCP. Use when setting up or syncing subscription
---name: asc-revenuecat-catalog-syncdescription: Reconcile App Store Connect subscriptions and in-app purchases with RevenueCat products, entitlements…---# skills/asc-revenuecat-catalog-sync/SKILL.mdVue d'ensemble
Reconcile App Store Connect subscriptions and in-app purchases with RevenueCat products, entitlements, offerings, and packages using asc and RevenueCat MCP. Use when setting up or syncing subscription catalogs across ASC and RevenueCat.
FAQ
Téléchargez skills/asc-revenuecat-catalog-sync/SKILL.md auprès de l'éditeur, ou copiez le chemin et ouvrez le dépôt. PlugMCP répertorie le skill et n'héberge pas le fichier.
L'éditeur le maintient sur https://github.com/rorkai/app-store-connect-cli-skills.
Claude, Cursor, Codex et Grok Build peuvent lire un SKILL.md que vous ajoutez depuis le dépôt de l'éditeur. Grok Bot l'installe lorsque vous envoyez dans un chat le lien du dossier GitHub du skill.