Token导航 LogoToken导航

Agent Skill · 开发

revenuecat(revenuecat 文档)

revenuecat 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

revenuecat 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 5,604。

总安装 6,047周安装 247GitHub Stars 31下载 1,936核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:revenuecat(revenuecat 文档)
来源仓库:https://github.com/rawveg/skillsforge-marketplace
仓库路径:skills/revenuecat
安装命令:
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill revenuecat
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill revenuecat

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

revenuecat 用于处理与 RevenueCat 订阅管理平台相关的文档、API 或集成指南。适用于移动应用变现、订阅计费或用户生命周期管理的开发场景。通过 GitHub 安装,使用 npx skills add 命令从指定仓库添加技能。使用前应确认权限范围和维护状态,警惕是否触发支付接口或用户数据访问。

revenuecat 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/revenuecat

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rawveg/skillsforge-marketplace --skill revenue…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

revenuecat 怎么安装?

在终端执行 npx skills add https://github.com/rawveg/skillsforge-marketplace --skill revenuecat。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

revenuecat 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

revenuecat 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

revenuecat 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

revenuecat 用的人多吗?

公开数据是累计安装 6,047 次,近一周安装 247 次,下载 1,936 次,GitHub 31 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

revenuecat 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
revenuecat

revenuecat 文档 · 本页

6,04731需要联网MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

RevenueCat Skill

Expert assistance for implementing in-app subscriptions and purchases using RevenueCat across iOS, Android, Flutter, React Native, and web platforms.

When to Use This Skill

This skill should be triggered when:

  • SDK Setup: Initializing RevenueCat SDK in iOS, Android, Flutter, or React Native apps
  • Subscription Implementation: Adding subscription or in-app purchase functionality
  • Entitlement Checks: Verifying user access to premium features or content
  • Purchase Flow: Implementing buy buttons, handling transactions, or processing purchases
  • Restore Purchases: Adding restore functionality for users switching devices
  • Offerings/Products: Fetching and displaying subscription options or product catalogs
  • Paywall Design: Building or configuring paywalls and purchase screens
  • Customer Info: Retrieving subscription status or customer data
  • Debugging Purchases: Troubleshooting subscription issues or transaction failures
  • REST API Integration: Server-side subscription validation or webhook handling

Quick Reference

SDK Configuration

Swift (iOS)

import RevenueCat

Purchases.logLevel = .debug
Purchases.configure(withAPIKey: "your_public_api_key", appUserID: "user_123")

Kotlin (Android)

Purchases.logLevel = LogLevel.DEBUG
Purchases.configure(PurchasesConfiguration.Builder(this, "your_public_api_key").build())

Flutter

await Purchases.setLogLevel(LogLevel.debug);
PurchasesConfiguration configuration = PurchasesConfiguration("your_public_api_key");
await Purchases.configure(configuration);

React Native

Purchases.setLogLevel(Purchases.LOG_LEVEL.DEBUG);
Purchases.configure({ apiKey: "your_public_api_key" });

Checking Entitlements

Swift

let customerInfo = try await Purchases.shared.customerInfo()
if customerInfo.entitlements["pro"]?.isActive == true {
    // User has premium access
}

Kotlin

Purchases.sharedInstance.getCustomerInfoWith(
    onSuccess = { customerInfo ->
        if (customerInfo.entitlements["pro"]?.isActive == true) {
            // User has premium access
        }
    }
)

React Native

const customerInfo = await Purchases.getCustomerInfo();
if (customerInfo.entitlements.active["pro"] !== undefined) {
    // User has premium access
}

Fetching Offerings

Swift

Purchases.shared.getOfferings { (offerings, error) in
    if let packages = offerings?.current?.availablePackages {
        self.display(packages)
    }
}

Kotlin

Purchases.sharedInstance.getOfferingsWith({ error -> }) { offerings ->
    offerings.current?.availablePackages?.let { packages ->
        // Display packages
    }
}

Making a Purchase

Swift

Purchases.shared.purchase(package: package) { (transaction, customerInfo, error, userCancelled) in
    if customerInfo.entitlements["pro"]?.isActive == true {
        // Unlock premium content
    }
}

Kotlin

Purchases.sharedInstance.purchase(
    packageToPurchase = aPackage,
    onError = { error, userCancelled -> },
    onSuccess = { storeTransaction, customerInfo ->
        if (customerInfo.entitlements["pro"]?.isActive == true) {
            // Unlock premium content
        }
    }
)

Restoring Purchases

Swift

Purchases.shared.restorePurchases { customerInfo, error in
    // Check customerInfo to see if entitlement is now active
}

Kotlin

Purchases.sharedInstance.restorePurchases(
    onError = { error -> },
    onSuccess = { customerInfo ->
        // Check customerInfo to see if entitlement is now active
    }
)

REST API - Get Customer Info

curl --request GET \
  --url https://api.revenuecat.com/v1/subscribers/app_user_id \
  --header 'Authorization: Bearer PUBLIC_API_KEY'

Key Concepts

Entitlements

A level of access, features, or content that a user is "entitled" to. Most apps use a single entitlement (e.g., "pro"). Created in the RevenueCat dashboard and linked to products. When a product is purchased, its associated entitlements become active.

Offerings

The set of products available to a user. Configured remotely in the dashboard, allowing you to change available products without app updates. Access via offerings.current for the default offering.

Packages

Containers for products within an offering. Include convenience accessors like .monthly, .annual, .lifetime. Each package contains a storeProduct with pricing details.

CustomerInfo

The central object containing all subscription and purchase data for a user. Retrieved via getCustomerInfo() or returned after purchases. Contains the entitlements dictionary for access checks.

App User ID

Unique identifier for each user. Can be provided during configuration or auto-generated as an anonymous ID. Used to sync purchases across devices.

Reference Files

This skill includes comprehensive documentation in references/:

  • other.md - General RevenueCat documentation and overview

For detailed implementation patterns beyond the quick reference, consult the official documentation at https://www.revenuecat.com/docs/

Working with This Skill

For Beginners

  1. Start by configuring the SDK in your app's initialization code
  2. Create entitlements and offerings in the RevenueCat dashboard
  3. Implement a simple entitlement check before showing premium content
  4. Add a purchase button using purchase(package:)
  5. Include a "Restore Purchases" button for App Store compliance

For Intermediate Users

  • Implement dynamic paywalls by fetching offerings and displaying packages
  • Handle multiple entitlements for tiered access levels
  • Set up customer info listeners for real-time subscription updates
  • Use the REST API for server-side validation

For Advanced Users

  • Configure webhooks for server-side event handling
  • Implement A/B testing with different offerings
  • Set up integrations with analytics and attribution platforms
  • Handle edge cases like grace periods and billing retry

Common Patterns

Paywall Display Logic

// Show paywall only if user doesn't have active subscription
if customerInfo.entitlements["pro"]?.isActive != true {
    showPaywall()
}

Conditional Offerings

if user.isPaidDownload {
    packages = offerings?.offering(identifier: "paid_download_offer")?.availablePackages
} else {
    packages = offerings?.current?.availablePackages
}

Important Notes

  • Always initialize the SDK early in your app's lifecycle
  • Use debug logging during development (Purchases.logLevel =.debug)
  • The SDK automatically finishes/acknowledges transactions
  • Only call restorePurchases from user interaction (like a button tap)
  • Use public API keys from Project Settings; never expose secret keys
  • Test Store allows development testing without real charges

Resources

Official Documentation

references/

Organized documentation extracted from official sources with detailed explanations and code examples.

scripts/

Add helper scripts here for common automation tasks.

assets/

Add templates, boilerplate, or example projects here.

平台分布

Claude Code

27.57%
按下载量换算534

Cursor

26.9%
按下载量换算521

Antigravity

17.17%
按下载量换算332

OpenCode

11.95%
按下载量换算231

Gemini CLI

7.57%
按下载量换算147

Codex

3.67%
按下载量换算71

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills