AI代理的 Expo 技能
Expo 提供的一份官方 AI 代理技能清单,用于构建、部署和调试 Expo 和 React Native 应用。
For the complete documentation index, see llms.txt. Use this file to discover all available pages.
Expo Skills 是结构化的指导文件,用于教 AI 代理如何准确高效地构建、部署和调试 Expo 和 React Native 应用。它们可以与 Claude Code、Cursor、Codex 以及其他 AI 代理一起使用。
🌐 Expo Skills are structured instruction files that teach AI agents how to build, deploy, and debug Expo and React Native apps accurately and efficiently. They work with Claude Code, Cursor, Codex, and other AI agents.
安装 Expo 技能
🌐 Install Expo Skills
运行以下命令以从插件市场添加和安装 Expo Skills:
🌐 Run the following commands to add and install Expo Skills from the plugin marketplace:
- /plugin marketplace add expo/skills- /plugin install expo如果你已经为 Claude Code、Codex 或其他代理安装了 Expo Skills,Cursor 的最新版本会自动导入它们。打开 设置 > 规则、技能、子代理,确保 包含第三方插件、技能和其他配置 已启用(默认启用),然后 Expo Skills 会出现在 技能 列表中。
🌐 If you have already installed Expo Skills for Claude Code, Codex, or another agent, recent versions of Cursor import them automatically. Open Settings > Rules, Skills, Subagents, make sure Include third-party Plugins, Skills, and other configs is enabled (it is on by default), and the Expo Skills appear in the Skills list.
如果你尚未安装 Expo 技能,请使用 skills CLI 运行以下命令之一:
🌐 If you have not installed Expo Skills yet, run one of the following with the skills CLI:
- npx skills add expo/skills然后重新打开 Cursor 并确认技能是否出现在 设置 > 规则、技能、子代理 > 技能 下。
🌐 Then reopen Cursor and verify the skills appear under Settings > Rules, Skills, Subagents > Skills.
重要 Cursor 中的技能不会显示在斜杠命令(
/)菜单中。它们在你向代理提出与 Expo 相关的问题时会通过自动发现工作。
使用 skills CLI 向任何兼容的代理添加 Expo 技能:
🌐 Use the skills CLI to add Expo Skills to any compatible agent:
- npx skills add expo/skills可用的Expo技能
🌐 Available Expo Skills
以下技能可在 expo 插件中使用:
🌐 The following skills are available in the expo plugin:
| Skill | Description |
|---|---|
building-native-ui | Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs. |
eas-update-insights | Check the health of published EAS Updates: crash rates, install/launch counts, unique users, payload size, and the split between embedded and OTA users per channel. Use when the user asks how an update is performing, whether a rollout is healthy, how many users are on the embedded build vs OTA, or wants to gate CI on update health. |
expo-api-routes | Guidelines for creating API routes in Expo Router with EAS Hosting. |
expo-cicd-workflows | Helps understand and write EAS workflow YAML files for Expo projects. Use this skill when the user asks about CI/CD or workflows in an Expo or EAS context, mentions .eas/workflows/, or wants help with EAS build pipelines or deployment automation. |
expo-deployment | Deploying Expo apps to iOS App Store, Android Play Store, web hosting, and API routes. |
expo-dev-client | Build and distribute Expo development clients locally or via TestFlight. |
expo-module | Guide for creating and writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript). Covers module definition DSL, native views, shared objects, config plugins, lifecycle hooks, autolinking, and type system. Use when building or modifying native modules for Expo. |
expo-tailwind-setup | Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling. |
expo-ui-jetpack-compose | @expo/ui/jetpack-compose package lets you use Jetpack Compose Views and modifiers in your app. |
expo-ui-swift-ui | @expo/ui/swift-ui package lets you use SwiftUI Views and modifiers in your app. |
native-data-fetching | Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline support, and Expo Router data loaders (useLoaderData). |
upgrading-expo | Guidelines for upgrading Expo SDK versions and fixing dependency issues. |
use-dom | Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally. |
示例提示
🌐 Example prompts
在安装 Expo Skills 后尝试以下提示。你的 AI 代理将自动使用相应的技能:
🌐 Try the following prompts after installing Expo Skills. Your AI agent will automatically use the appropriate skill:
| 示例提示 | 使用的技能 |
|---|---|
| 构建带有表单和导航的设置界面 | building-native-ui |
| 在我的 Expo 项目中设置 Tailwind CSS | expo-tailwind-setup |
| 使用网页代码在我的原生应用中嵌入 recharts 图表 | use-dom |
| 在我的 Expo 应用中添加 SwiftUI 选择器组件 | expo-ui-swift-ui |
| 在 Jetpack Compose 中使用 Material Design 3 组件 | expo-ui-jetpack-compose |
| 如何将我的 Expo 应用部署到苹果 App Store? | expo-deployment |
| 创建一个在每次 PR 时构建的 CI/CD 工作流 | expo-cicd-workflows |
| 将我的项目升级到最新的 Expo SDK | upgrading-expo |
其他资源
🌐 Additional resources
expo/skills GitHub 仓库Browse the source for all available Expo Skills, or report issues.
提供给编码代理直接访问 Expo 和 EAS 服务的伴侣 AI 工具。