npx skills add rorkai/app-store-connect-cli-skills --skill asc-revenuecat-catalog-sync
ehmo/app-store-connect-cli-skills · Archived
asc-revenuecat-catalog-sync
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.
Installation
npx skills add ehmo/app-store-connect-cli-skills --skill asc-revenuecat-catalog-sync
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Orchestrate TestFlight distribution, groups, testers, and What to Test notes using asc. Use whe…
1 installsGuidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery…
1 installsBuild, archive, export, upload, and manage Xcode version/build numbers with the current asc xco…
1 installsDefine, validate, run, resume, and audit repo-local multi-step automations with current `asc wo…
1 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Reconcile App Store Connect subscriptions and in-app purchases with RevenueCat products, entitl…
5.5K installsDisplay a RevenueCat paywall inside an app using the RevenueCatUI SDK. Use when the user asks t…
10 installsImplement the RevenueCat purchase and restore flow. Use when the user asks to buy a package, pu…
10 installsEnd-to-end RevenueCat integration — sets up the dashboard side via the RevenueCat MCP or the `r…
10 installsRevenueCat metrics, customer data, and documentation search. Use when querying subscription ana…
553 installsSet up a testing environment for RevenueCat purchases without charging real money. Use when the…
10 installsAlso in this package
Other skills from ehmo/app-store-connect-cli-skills · top by installs.
npx skills add ehmo/app-store-connect-cli-skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md6,811 B -
docs
SUMMARY.md271 B
History
- First seen on skills.sh
- First recorded snapshot · 1 installs
SKILL.md
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 (APPID) - RevenueCat projectid - target RevenueCat app type (appstore or macapp_store) and bundle ID for create flows
- 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):
mcpRCget_projectmcpRClist_appsmcpRClist_productsmcpRClist_entitlementsmcpRClist_offeringsmcpRClist_packages
Step C - Build mapping plan
Map ASC product types to RevenueCat product types:
- ASC subscription -> RevenueCat
subscription - ASC IAP
CONSUMABLE-> RevenueCatconsumable - ASC IAP
NONCONSUMABLE-> RevenueCatnonconsumable - ASC IAP
NONRENEWINGSUBSCRIPTION-> RevenueCatnonrenewingsubscription
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:
mcpRCcreate_app - create products:
mcpRCcreate_product
- storeidentifier = ASC productId - appid = RevenueCat app ID - type from mapping above
Step F - Ensure entitlements and attachments
Use MCP:
- list/create entitlements:
mcpRClistentitlements,mcpRCcreateentitlement - attach products:
mcpRCattachproductsto_entitlement - verify attachments:
mcpRCgetproductsfrom_entitlement
Step G - Ensure offerings and packages (optional)
Use MCP:
- list/create/update offerings:
- mcpRClistofferings - mcpRCcreateoffering - mcpRCupdateoffering (iscurrent=true only if requested)
- list/create packages:
- mcpRClistpackages - mcpRCcreatepackage
- attach products to packages:
- mcpRCattachproductstopackage with eligibilitycriteria: "all"
Recommended package keys:
ONEWEEK->$rcweeklyONEMONTH->$rcmonthlyTWOMONTHS->$rctwo_monthTHREEMONTHS->$rcthree_monthSIXMONTHS->$rcsix_monthONEYEAR->$rcannual- lifetime IAP ->
$rc_lifetime - custom ->
$rccustom<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](examples.md)
- Source references: [references.md](references.md)