Token导航 LogoToken导航

Agent Skill · 前端设计

expo-revenuecat-superwall-integration(世博收益猫超级墙集成)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

expo-revenuecat-superwall-integration 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在前端设计类的 10,216 个 Skill 里排第 5,967。

总安装 570周安装 24GitHub Stars 公开资料未说明下载 258核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:expo-revenuecat-superwall-integration(世博收益猫超级墙集成)
来源仓库:https://github.com/tristanmanchester/agent-skills
仓库路径:skills/expo-revenuecat-superwall-integration
安装命令:
npx skills add https://github.com/tristanmanchester/agent-skills --skill expo-revenuecat-superwall-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tristanmanchester/agent-skills --skill expo-revenuecat-superwall-integration

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

集成 RevenueCat 订阅管理与 Superwall 变现策略推送系统。构建安全的开发构建环境 monetization 架构,排除 Expo Go 沙箱限制影响。对接现有身份验证与状态管理系统,实现无缝付费墙触发逻辑。交付时附带明确的后台配置清单与商店审核注意事项说明文档。

expo-revenuecat-superwall-integration 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/expo-revenuecat-superwall-integration

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

expo-revenuecat-superwall-integration 怎么安装?

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

expo-revenuecat-superwall-integration 支持哪些 AI 工具?

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

expo-revenuecat-superwall-integration 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/tristanmanchester/agent-skills --skill expo-revenuecat-superwall-integration 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

expo-revenuecat-superwall-integration 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

expo-revenuecat-superwall-integration 用的人多吗?

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

expo-revenuecat-superwall-integration 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
expo-revenuecat-superwall-integration

世博收益猫超级墙集成 · 本页

570—执行命令未明确未通过

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

SKILL.md 原文

Expo RevenueCat plus Superwall Integration

Use this skill to add or repair a modern RevenueCat plus Superwall stack in a React Native Expo app.

What this skill should do

  • Choose the correct monetisation architecture before editing code.
  • Integrate with the repository's existing app shell, auth layer, and state management.
  • Prefer safe, production-ready defaults over the shortest possible demo.
  • Leave the user with code changes plus a clear list of remaining dashboard, store, and testing steps.

Critical rules

  • Treat this as an Expo development-build integration, not an Expo Go integration.
  • Target Expo SDK 53 or newer.
  • Target iOS deployment target 15.1 or newer and Android min SDK 23 or newer.
  • Use public SDK keys only in the client.
  • Configure RevenueCat exactly once.
  • Mount Superwall near the app root exactly once.
  • Use the same stable, non-guessable, non-PII user identifier in RevenueCat and Superwall when the product has authentication.
  • Never use email addresses as RevenueCat or Superwall user IDs.
  • Do not call syncPurchases() on every launch. Use it only for deliberate migration or account-recovery scenarios.
  • restorePurchases() is user-triggered. Do not hide it inside startup code.
  • On Android, ensure the launch mode is standard or singleTop.
  • Prefer a full app restart after Superwall dashboard changes during Expo development.

First actions

  1. Inspect the repository before editing:

- package.json - app.json, app.config.js, or app.config.ts - App.tsx or app/_layout.tsx - any existing auth provider - any existing purchase, paywall, or entitlement code

  1. Run the validator if Python is available:

- python3 scripts/validate_expo_setup.py - or python3 scripts/validate_expo_setup.py --project-root /path/to/app

  1. Answer these six preflight questions before choosing code:

- Is the app login-first, login-optional, or guest-first - Is there existing purchase completion logic already in the repo - Does Google Play use multiple base plans or offers - Are App Store Server Notifications, Google server notifications, webhooks, or backend attribution in scope - Is the entitlement model single-tier or multi-tier - Does the product need strict account ownership, or easy restore across account confusion

  1. Open only the references you need:

- Core workflow: references/implementation-playbook.md - Architecture choice: references/architecture-decision-tree.md - Identity and restores: references/identity-and-restore-behaviour.md - Android offers: references/android-base-plans-offers-and-pending.md - iOS UUID and server notifications: references/ios-uuid-appaccounttoken-and-server-notifications.md - Observability and verification: references/observability-and-entitlement-verification.md - Test planning: references/testing-matrix.md - Dashboard alignment: references/dashboard-checklist.md - Failure modes: references/troubleshooting.md

Architecture choice

Default for most new Expo apps

Choose Architecture A: CustomPurchaseControllerProvider when:

  • Superwall is the paywall surface.
  • RevenueCat is the purchase and entitlement source of truth.
  • The app does not already have its own mature purchase completion pipeline.
  • You want the cleanest modern Expo integration.

Use:

  • references/architecture-decision-tree.md
  • references/examples/monetization.shared.tsx
  • references/examples/app.example.tsx
  • references/examples/expo-router-layout.example.tsx
  • references/examples/custom-purchase-controller.android-offers.tsx

Use the migration path when the repo already owns purchase completion

Choose Architecture B: purchasesAreCompletedBy / observer-mode migration when:

  • The app already finishes transactions itself.
  • The user explicitly wants to keep existing IAP code.
  • You are layering RevenueCat analytics, entitlements, or dashboards onto an existing billing implementation.
  • You must import historical purchases carefully.

Use:

  • references/architecture-decision-tree.md
  • references/examples/observer-mode-migration.tsx
  • references/identity-and-restore-behaviour.md

Shared implementation workflow

1. Audit the repo

Collect these facts before changing code:

  • Expo SDK version
  • package manager
  • router style: Expo Router or plain App.tsx
  • whether expo-superwall, react-native-purchases, and expo-build-properties are already installed
  • current iOS deployment target and Android min SDK
  • whether the app has auth
  • whether the repo already has RevenueCat, Superwall, StoreKit, Google Play Billing, or react-native-iap code
  • whether the project already ships one-time products in addition to subscriptions

2. Align dashboards before deep code edits

Confirm the conceptual setup first:

  • RevenueCat project exists for iOS and Android
  • store products exist
  • entitlements exist
  • offerings exist where needed
  • Superwall project exists
  • Superwall public keys exist for both platforms
  • placements and campaigns exist
  • product IDs and entitlement IDs match the intended runtime mapping

Use references/dashboard-checklist.md.

3. Install only the packages you actually need

Base stack:

  • npx expo install expo-superwall react-native-purchases expo-build-properties

Optional only if the user explicitly wants RevenueCat UI screens such as a customer center:

  • npx expo install react-native-purchases-ui

Do not add react-native-purchases-ui just because RevenueCat is installed.

4. Update Expo config

Add or repair expo-build-properties and set platform minimums. Preserve the repository's config style and existing plugins.

5. Configure RevenueCat once

  • Use the correct public key for the current platform.
  • Configure once on startup.
  • If the app always requires a known user ID, prefer configuring with that ID instead of creating an anonymous state first.
  • If the app allows guests, configure without an App User ID and later call logIn() when auth resolves.

6. Mount providers once near the root

For Architecture A, the normal order is:

  1. configure RevenueCat
  2. mount CustomPurchaseControllerProvider
  3. mount SuperwallProvider
  4. show SuperwallLoading
  5. render the app inside SuperwallLoaded
  6. mount one subscription sync component inside the loaded tree

7. Sync RevenueCat entitlements into Superwall

When Superwall is not directly owning purchase state, map RevenueCat entitlements into setSubscriptionStatus.

  • Fetch CustomerInfo on launch or when premium UI opens.
  • Subscribe to addCustomerInfoUpdateListener.
  • Map active entitlement IDs into Superwall entitlements.
  • Prefer syncing the full entitlement set, not just a boolean.

8. Sync identities deliberately

  • Reuse the app's real auth state.
  • For login-first apps, prefer configuring RevenueCat with a custom App User ID from the start.
  • For guest-first apps, configure anonymously, then on login call Purchases.logIn(userId) and identify(userId).
  • If switching from one known account to another, call logIn(newUserId) directly. Do not force a pointless logout first.
  • Only call logOut() if the product truly supports an anonymous post-logout state.

See references/identity-and-restore-behaviour.md and references/examples/auth-sync.example.tsx.

9. Register placements from premium entry points

  • Use business-action placement names such as upgrade_pro, remove_limits, or export_pdf.
  • Prefer placement-driven gating and dashboard audiences over hard-coded paywall branching.
  • Use getPresentationResult() only when you need to inspect what Superwall would do before presenting.

10. Add observability

  • Forward Superwall events into the app's analytics pipeline.
  • Keep debug logs enabled in development only.
  • Consider checking RevenueCat trusted entitlement verification in high-risk apps.

See references/observability-and-entitlement-verification.md.

11. Test with a matrix, not one happy path

Always verify:

  • cold start on iOS and Android
  • purchase success
  • cancel flow
  • pending flow where relevant
  • restore
  • guest to logged-in transition
  • account switch
  • reinstall
  • dashboard changes after a full restart
  • entitlement unlock in UI
  • webhook or server-notification identity consistency when relevant

Use references/testing-matrix.md.

What to avoid

  • Do not use expo-superwall/compat for new work.
  • Do not promise real Superwall support inside Expo Go.
  • Do not call restorePurchases() automatically during startup.
  • Do not call syncPurchases() on every launch.
  • Do not use emails, IDFA, device IDs, or hardcoded strings as billing IDs.
  • Do not leave duplicate purchase flows in place.
  • Do not ship Android API 21 just because Superwall alone supports it; the combined stack needs Android 23 or newer.

Final answer expectations

When you finish editing a repo, your response should include:

  • the files changed
  • the chosen architecture and why
  • any manual RevenueCat, Superwall, App Store Connect, or Play Console steps still required
  • any assumptions about entitlements, product IDs, placements, restore behaviour, or account model
  • any migration debt intentionally left in place
  • how to run and test the development build

平台分布

Codex

32.66%
按下载量换算84

Claude

32.44%
按下载量换算84

Cursor

19.95%
按下载量换算51

Gemini CLI

10.16%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/tristanmanchester/agent-skills --skill expo-revenuecat-superwall-integration 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills