Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

integrating-superwall-expo整合超级墙博览会

Agent Skill

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

总安装

864

周安装

36

GitHub Stars

公开资料未说明

下载量

288
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

辅助前端页面、组件和样式逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Tailwind 相关代码。
  • 使用时需结合项目设计系统和构建方式。
  • 涉及页面改动时应配合本地预览确认效果。
  • integrating-superwall-expo 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Integrating Superwall in React Native Expo (expo-superwall)

Why this skill exists

Superwall’s Expo SDK (expo-superwall) is *native-module based*, so Expo Go won’t work and setup mistakes often look like “Cannot find native module 'SuperwallExpo'”. This skill provides a reliable, repeatable workflow to:

  • install + configure expo-superwall correctly in Expo SDK 53+
  • present paywalls via placements (remote campaigns) and implement feature gating
  • manage users + attributes, and keep subscription status in sync (including RevenueCat)
  • wire deep links / web checkout, and troubleshoot the common integration failures

Non‑negotiables (check first)

  1. Expo SDK 53+ is required for expo-superwall.
  2. Expo Go is not supported. Use an Expo Development Build (npx expo run:ios|android or EAS dev client).
  3. Target minimum OS versions:

- iOS deployment target: 15.1+ - Android minSdkVersion: 21+

  1. Superwall config does not refetch during hot reload. After dashboard changes (paywalls/products/campaigns), fully restart the app.

Fast path checklist (copy/paste and tick)

  • Confirm Expo SDK version (>=53) and you are *not* using Expo Go
  • Install packages: expo-superwall (+ expo-build-properties if needed)
  • Set iOS/Android minimum versions via expo-build-properties
  • Wrap app with <SuperwallProvider> (+ <SuperwallLoading/>, <SuperwallError/>, <SuperwallLoaded/>)
  • Register a first placement with usePlacement().registerPlacement({placement: "…"})
  • (Optional) Implement feature gating via feature: () => … callback
  • (Optional) Identify user + set user attributes with useUser()
  • (Optional) Sync subscription status (built-in, or manual when using RevenueCat/custom billing)
  • Rebuild dev client after native changes (npx expo prebuild --clean if needed)
  • Validate with: node {baseDir}/scripts/check-setup.mjs

Default implementation pattern (recommended)

1) Install + platform targets

Follow the Superwall install guide in references/INSTALLATION.md.

2) Configure Superwall at the root

Use <SuperwallProvider /> at the top of your app (typically in App.tsx or your root layout). Add loading/error handling components so failures are visible.

See references/CONFIGURATION.md and assets/snippets/App.tsx.

3) Present paywalls & gate features via placements

Use the usePlacement hook to register placements. This is the “one API” that powers:

  • presenting paywalls
  • feature gating (run feature callback depending on dashboard “Gated/Non‑Gated”)
  • tracking paywall lifecycle state in React

See references/PLACEMENTS_AND_GATING.md.

4) Manage users, attributes, and subscription state

  • Identify on login with useUser().identify(userId)
  • Sign out with useUser().signOut()
  • Set/merge attributes with useUser().update({…}) (pass null to unset)

See:

  • references/USER_MANAGEMENT.md
  • references/SUBSCRIPTION_STATUS.md

5) Deep links & web checkout (optional)

If you want paywall previews from the dashboard, campaign-driven paywalls from deep links, or web checkout flows, wire deep links and forward incoming URLs to Superwall.

See references/DEEP_LINKS.md.

6) RevenueCat (optional, recommended approach)

If you want RevenueCat to own purchases while Superwall owns paywalls/experiments, use CustomPurchaseControllerProvider (hooks-based) and sync entitlement state to Superwall.

See references/REVENUECAT.md.

Troubleshooting playbook (use when things don’t work)

If you hit Cannot find native module 'SuperwallExpo', or paywalls never show:

  1. Run the setup checker:

- node {baseDir}/scripts/check-setup.mjs

  1. Confirm you’re on a dev build, not Expo Go.
  2. If you added expo-superwall to an existing project, regenerate native folders:

- npx expo prebuild --clean *(backs up any manual native edits first)*

  1. Rebuild the dev client (EAS or local) after adding native modules.
  2. Clear caches and reinstall deps as needed.

Full triage checklist: references/TROUBLESHOOTING.md.

Output expectations when performing work in a repo

When applying this skill to a real codebase, prefer a small, reviewable set of changes:

  • package.json dependency updates
  • app.json / app.config.* plugin + platform target updates
  • Root provider wiring (App.tsx/RootLayout)
  • A small “first placement” screen/button for verification
  • Optional: src/superwall/placements.ts constants and src/superwall/sync.ts for RevenueCat status sync

Include a short “How to test locally” note (dev build commands + which placement to trigger).

Reference map (read only when needed)

  • Install + prerequisites: references/INSTALLATION.md
  • Provider + options: references/CONFIGURATION.md
  • Placements, gating, presentation results: references/PLACEMENTS_AND_GATING.md
  • Users + attributes: references/USER_MANAGEMENT.md
  • Subscription state: references/SUBSCRIPTION_STATUS.md
  • Event listeners + analytics forwarding: references/EVENTS_ANALYTICS.md
  • Deep links, previews, web checkout: references/DEEP_LINKS.md
  • RevenueCat integration: references/REVENUECAT.md
  • Debugging: references/TROUBLESHOOTING.md
  • StoreKit testing: references/STOREKIT_TESTING.md
  • Locale override: references/LOCALE.md
  • Bare RN + Expo modules: references/BARE_REACT_NATIVE.md
  • Migration / compat API: references/MIGRATION_COMPAT.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.36%
按下载量换算96

Claude

31.29%
按下载量换算90

Cursor

19.02%
按下载量换算55

Gemini CLI

9.42%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills