revenuecat/ai-toolkit

revenuecat-sdk-compatibility

Check whether an SDK version supports a RevenueCat feature, whether an SDK upgrade is required, why an SDK-gated feature is not working, or how much of a project's recent subscriber base is on incompatible SDK versions.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/revenuecat/ai-toolkit --skill revenuecat-sdk-compatibility

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

RevenueCat SDK compatibility

Use the RevenueCat MCP server for all tool calls here.

Check feature compatibility

Call list-sdk-feature-gates before making any SDK compatibility claim. Find the gate that matches the user's feature and use its minimum version for each relevant RevenueCat SDK.

  • If the relevant feature gate cannot be identified, say so and explain which gates looked close

instead of guessing. Consult the docs linked in the tool output to disambiguate.

  • When more than one gate could apply, prefer the most specific gate. For example:
  • Existing-customer experiment enrollment: experiment-existing-customer-enrollment
  • Experiment exposure status or reporting: experiment-exposure-tracking
  • New-customer experiment enrollment: experiment-new-customer-enrollment
  • If multiple gates jointly matter, evaluate and name each one.

Analyze SDK adoption

Call list-sdk-versions to assess upgrade impact or rollout risk from SDK versions observed in the project. Each row describes subscribers seen in the last 30 days and includes:

  • sdk_type: RevenueCat SDK family.
  • sdk_version: underlying native SDK version for native rows, or the native SDK bundled under a

wrapper in platform_flavor rows.

  • sortable_sdk_version: normalized value for ordering sdk_version.
  • platform: native platform, such as ios or android, when grouped by platform or platform

flavor.

  • platform_flavor and platform_flavor_version: wrapper SDK family and version, such as

react-native 10.0.1, when grouped by platform flavor.

  • subscribers_last_30days and pct_of_subscribers: recent project usage counts and shares.

Choose the grouping that matches the question:

  • Use sdk_type for a high-level inventory by RevenueCat SDK family.
  • Use platform to compare native iOS and Android adoption.
  • Use platform_flavor for React Native, Flutter, Capacitor, Unity, Kotlin Multiplatform, and other

wrappers where both the wrapper version and bundled native SDK versions matter.

To compute upgrade impact, filter to the relevant SDK family, compare observed versions with the feature gate's min_version, and sum subscribers_last_30days and pct_of_subscribers for rows below the requirement. State that these figures represent subscribers observed in the last 30 days, not the all-time install base.

Use jq for quick filtering or a code execution tool for version comparisons, grouping, and subscriber-share calculations when the output is too large to analyze reliably by inspection.

来自同一仓库

更多 Skills

全部 Skills
revenuecat
社区

create-revenuecat-project

Set up a complete RevenueCat project from scratch — creates apps, products, entitlements, offerings, and packages in the correct order. Use when the user wants to create a new RevenueCat project, configure in-app purchases, set up subscriptions or monetization, or bootstrap IAP infrastructure for iOS, Android, or Web.

1小时安装量
2
GitHub Stars
79
最近更新
11月17日
revenuecat
社区

rc-cancellations-pauses-winback

Use this skill when surfacing cancellation, pause, and winback state on Android with RevenueCat. Covers reading unsubscribeDetectedAt, billingIssueDetectedAt, pause state and resume date via SubscriptionInfo.autoResumeDate, showManageSubscriptions for the deep link, and the SUBSCRIPTIONPAUSED webhook.

1小时安装量
2
GitHub Stars
79
最近更新
11月17日
revenuecat
社区

rc-configuring-the-sdk

Use this skill when adding and configuring the RevenueCat Android SDK (purchases-android, artifact com.revenuecat.purchases:purchases) in an app. Covers the Gradle dependency, Purchases.configure with PurchasesConfiguration, initial app user id strategy, and log level.

1小时安装量
2
GitHub Stars
79
最近更新
11月17日
revenuecat
社区

rc-plan-changes

Use this skill when implementing subscription upgrades, downgrades, and plan switches via RevenueCat on Android. Covers StoreReplacementMode, picking a replacement mode, and letting the SDK manage linkedPurchaseToken chaining.

1小时安装量
2
GitHub Stars
79
最近更新
11月17日