asc-revenuecat-catalog-sync
rudrankriyam/app-store-connect-cli-skills
Sync App Store Connect subscriptions and in-app purchases with RevenueCat catalogs.
What is asc-revenuecat-catalog-sync?
Reconciles ASC and RevenueCat product catalogs by auditing differences, creating missing items, and mapping identifiers. Use this when bootstrapping RevenueCat from ASC, syncing subscription groups and IAPs, or verifying catalog alignment before release.
- Audit ASC and RevenueCat catalogs side-by-side to identify missing products and mapping conflicts
- Create missing ASC subscription groups, subscriptions, and in-app purchases before syncing to RevenueCat
- Map ASC product types (subscriptions, consumables, non-consumables) to RevenueCat product types
- Create RevenueCat products, entitlements, offerings, and packages with canonical store identifiers
- Attach products to entitlements and packages with configurable eligibility criteria
- Generate reconciliation summaries with creation counts, skipped items, and actionable failure reports
How to install asc-revenuecat-catalog-sync
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-revenuecat-catalog-sync- asc CLI authentication configured (asc auth login or ASC_* environment variables)
- RevenueCat MCP server configured and authenticated (OAuth or API key)
- App Store Connect app ID (APP_ID)
- RevenueCat project ID and target app type (app_store or mac_app_store)
- RevenueCat write-enabled API v2 key for apply mode operations
How to use asc-revenuecat-catalog-sync
- 1.Run audit mode first to read ASC and RevenueCat catalogs and generate a diff plan
- 2.Review the audit output showing missing items, mapping conflicts, and proposed actions
- 3.Confirm before proceeding to apply mode to create ASC resources if needed
- 4.Execute apply mode to create RevenueCat products, entitlements, and offerings in order
- 5.Verify the final reconciliation summary showing creation counts and any failures
Use cases
- Bootstrap a RevenueCat project from an existing App Store Connect catalog
- Create missing ASC items and automatically map them into RevenueCat
- Audit subscription and IAP drift between ASC and RevenueCat before a release
- Set up entitlements and offerings for subscription groups with deterministic identifier matching
- Verify product attachments and package configurations across both platforms
- iOS app developers managing subscriptions and in-app purchases
- Product managers setting up monetization across App Store Connect and RevenueCat
- DevOps engineers automating catalog synchronization workflows
- QA teams validating product configuration before app releases
asc-revenuecat-catalog-sync FAQ
The ASC productId must equal the RevenueCat store_identifier. This is the canonical cross-system key and should remain stable once products are live.
No. This skill uses asc commands to create ASC resources, but RevenueCat MCP configures RevenueCat only. Create missing ASC items first, then re-read ASC before mapping to RevenueCat.
Existing items are skipped by default. The skill never deletes resources. Conflicts (identifier/type/app mismatches) are reported in the audit plan for manual review.
Subscriptions map to one entitlement per subscription group. Non-consumable IAPs map to one entitlement per product. Consumables have no entitlement by default unless explicitly requested.
Review the actionable error messages in the failures section. Common issues include wrong project_id, duplicate store_identifiers on different RC apps, or type mismatches. Fix the underlying issue and re-run audit.
Full instructions (SKILL.md)
Source of truth, from rudrankriyam/app-store-connect-cli-skills.
name: asc-revenuecat-catalog-sync description: 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.
asc RevenueCat catalog sync
Use this skill to keep App Store Connect (ASC) and RevenueCat aligned, including creating missing ASC items and mapping them to RevenueCat resources.
When to use
- You want to bootstrap RevenueCat from an existing ASC catalog.
- You want to create missing ASC subscriptions/IAPs, then map them into RevenueCat.
- You need a drift audit before release.
- You want deterministic product mapping based on identifiers.
Preconditions
ascauthentication is configured (asc auth loginorASC_*env vars).- RevenueCat MCP server is configured and authenticated.
- In Cursor and VS Code, OAuth auth is available for RevenueCat MCP. API key auth is also supported.
- You know:
- ASC app ID (
APP_ID) - RevenueCat
project_id - target RevenueCat app type (
app_storeormac_app_store) and bundle ID for create flows
- ASC app ID (
- Use a write-enabled RevenueCat API v2 key when applying changes.
Safety defaults
- Start in audit mode (read-only).
- Require explicit confirmation before writes.
- Never delete resources in this workflow.
- Continue on per-item failures and report all failures at the end.
Canonical identifiers
- Primary cross-system key: ASC
productId== RevenueCatstore_identifier. - Keep
productIdstable once products are live. - Do not use display names as unique identifiers.
Scope boundary
- RevenueCat MCP configures RevenueCat resources; it does not create App Store Connect products directly.
- Use
asccommands to create missing ASC subscription groups, subscriptions, and IAPs before RevenueCat mapping.
Modes
1) Audit mode (default)
- Read ASC source catalog.
- Read RevenueCat target catalog.
- Build a diff with actions:
- missing in ASC
- missing in RevenueCat
- mapping conflicts (identifier/type/app mismatch)
- Present a plan and wait for confirmation.
2) Apply mode (explicit)
Execute approved actions in this order:
- Ensure ASC groups/subscriptions/IAP exist.
- Ensure RevenueCat app/products exist.
- Ensure entitlements and product attachments.
- Ensure offerings/packages and package attachments.
- Verify and print a final reconciliation summary.
Step-by-step workflow
Step A - Read current ASC catalog
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
Step B - Read current RevenueCat catalog (MCP)
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_packages
Step C - Build mapping plan
Map ASC product types to RevenueCat product types:
- ASC subscription -> RevenueCat
subscription - ASC IAP
CONSUMABLE-> RevenueCatconsumable - ASC IAP
NON_CONSUMABLE-> RevenueCatnon_consumable - ASC IAP
NON_RENEWING_SUBSCRIPTION-> RevenueCatnon_renewing_subscription
Suggested entitlement policy:
- subscriptions: one entitlement per subscription group (or explicit map provided by user)
- non-consumable IAP: one entitlement per product
- consumable IAP: no entitlement by default unless user asks
Step D - Ensure missing ASC items (if requested)
Create missing ASC resources first, then re-read ASC to capture canonical IDs.
# create subscription group
asc subscriptions groups create --app "APP_ID" --reference-name "Premium"
# create subscription
asc subscriptions create \
--group-id "GROUP_ID" \
--reference-name "Monthly" \
--product-id "com.example.premium.monthly" \
--subscription-period ONE_MONTH
# create iap
asc iap create \
--app "APP_ID" \
--type NON_CONSUMABLE \
--ref-name "Lifetime" \
--product-id "com.example.lifetime"
Step E - Ensure RevenueCat app and products
Use MCP:
- create app if missing:
mcp_RC_create_app - create products:
mcp_RC_create_productstore_identifier= ASCproductIdapp_id= RevenueCat app IDtypefrom mapping above
Step F - Ensure entitlements and attachments
Use MCP:
- list/create entitlements:
mcp_RC_list_entitlements,mcp_RC_create_entitlement - attach products:
mcp_RC_attach_products_to_entitlement - verify attachments:
mcp_RC_get_products_from_entitlement
Step G - Ensure offerings and packages (optional)
Use MCP:
- list/create/update offerings:
mcp_RC_list_offeringsmcp_RC_create_offeringmcp_RC_update_offering(is_current=trueonly if requested)
- list/create packages:
mcp_RC_list_packagesmcp_RC_create_package
- attach products to packages:
mcp_RC_attach_products_to_packagewitheligibility_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- lifetime IAP ->
$rc_lifetime - custom ->
$rc_custom_<name>
Expected output format
Return a final summary with:
- ASC created counts (groups/subscriptions/IAP)
- RevenueCat created counts (apps/products/entitlements/offerings/packages)
- attachment counts (entitlement-products, package-products)
- skipped existing items
- failed items with actionable errors
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
Agent behavior
- Always run audit first, even in apply mode.
- Ask for confirmation before create/update operations.
- Match by
store_identifierfirst. - Use full pagination (
--paginatefor ASC,starting_afterfor RevenueCat tools). - Continue processing after per-item failures and report all failures together.
- Never auto-delete ASC or RevenueCat resources in this skill.
Common pitfalls
- Wrong RevenueCat
project_idor app ID. - Creating RC products under the wrong platform app.
- Accidentally assigning consumables to entitlements.
- Skipping the post-create ASC re-read step.
- Missing offering/package verification after product creation.
Additional resources
- Workflow examples: examples.md
- Source references: references.md
Related skills
More from rudrankriyam/app-store-connect-cli-skills and the wider catalog.

asc-shots-pipeline
Automate iOS screenshot capture, framing, and App Store upload with xcodebuild, AXe, and Koubou.

asc-signing-setup
Set up iOS/macOS signing certificates, provisioning profiles, and bundle IDs via App Store Connect CLI.

asc-submission-health
Validate App Store submission readiness, submit versions, and monitor review status with asc commands.

asc-subscription-localization
Bulk-localize subscription and IAP display names across all App Store Connect locales via CLI.

asc-testflight-orchestration
Orchestrate TestFlight distribution, groups, testers, and release notes via App Store Connect CLI.

asc-wall-submit
Submit or update Wall of Apps entries in App-Store-Connect-CLI repository