vercel-labs/agent-skills

vercel-react-native-skills

先处理长列表,再检查动画、原生导航和依赖

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

vercel-react-native-skills 是什么?

vercel-react-native-skills 提供 React Native/Expo 的分级规则,优先覆盖长列表性能,再处理动画、导航、图片、状态、渲染和 monorepo 原生依赖。它是按问题加载详细规则的知识库,不是 React 网页优化指南。

中文说明由本站依据来源整理;英文原文保留在页面下方。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 vercel-react-native-skills,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 vercel-react-native-skills

请在 Codex 的当前工作环境中安装并检查 vercel-react-native-skills 这个 Skill。

项目身份:vercel-labs/agent-skills / vercel-react-native-skills
来源:https://github.com/vercel-labs/agent-skills/blob/1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62/skills/react-native-skills/SKILL.md
已定位的源文件:skills/react-native-skills/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供 RN/Expo 版本、目标平台、相关组件和性能现象;规则代码与上下文位于 rules/ 及汇编 AGENTS.md。

会得到什么

  • 针对具体屏幕或问题的改动与验证记录,或带规则出处的审查建议。

实际使用顺序

  1. 滚动卡顿时先读 list-performance 规则,核对列表虚拟化、item memo、回调/对象稳定性、图片与昂贵计算,不先修改全局架构。
  2. 动画问题阅读 GPU 属性和 Reanimated 指导,按实际场景检查 transform/opacity 与 derived value;导航问题看原生 stack/tabs 的取舍。
  3. 处理文字组件、条件渲染和原生依赖时加载对应规则;monorepo 检查原生依赖位于 app 包及同一依赖版本。
  4. 逐项实施后在目标平台复测同一场景,把代码检查、模拟器和真机表现分别报告。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:请用 vercel-react-native-skills 审查 Expo 商品列表页。滚动时图片和价格卡片卡顿;先读列表性能规则,检查虚拟化、重复计算与不稳定 props,提出最小修改,并说明需要哪种设备测试才能验证效果。
预期结果

预期定位当前列表中的具体原因,不把某种列表组件替换自动等同于性能提升。本站未运行。

使用前先看这些限制

使用条件与边界

  • 这些是 Native/Expo 规则;不能直接套到普通 React DOM 站点。
  • 第三方库与编译器相关规则要结合实际版本,不因规则提及库名就为整个项目更换依赖。
针对这个 Skill 的疑问

常见问题

优先优化什么?

本版本把列表性能列为最高优先级,但实际应从出现问题的屏幕与证据出发,而不是为满足规则逐项改写应用。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/react-native-skills/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

查看源文件章节 / Source sections
  • 原文:React Native Skills
  • 原文:When to Apply
  • 原文:Rule Categories by Priority
  • 原文:Quick Reference
  • 原文:1. List Performance (CRITICAL)
  • 原文:2. Animation (HIGH)
  • 原文:3. Navigation (HIGH)
  • 原文:4. UI Patterns (HIGH)
  • 原文:5. State Management (MEDIUM)
  • 原文:6. Rendering (MEDIUM)
  • 原文:7. Monorepo (MEDIUM)
  • 原文:8. Configuration (LOW)
  • 原文:How to Use
  • 原文:Full Compiled Document
原文:React Native Skills

Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering performance, animations, UI patterns, and platform-specific optimizations.

原文:When to Apply

Reference these guidelines when: - Building React Native or Expo apps - Optimizing list and scroll performance - Implementing animations with Reanimated - Working with images and media - Configuring native modules or fonts - Structuring monorepo projects with native dependencies

原文:Rule Categories by Priority

| Priority | Category | Impact | Prefix | | -------- | ---------------- | -------- | -------------------- | | 1 | List Performance | CRITICAL | `list-performance-` | | 2 | Animation | HIGH | `animation-` | | 3 | Navigation | HIGH | `navigation-` | | 4 | UI Patterns | HIGH | `ui-` | | 5 | State Management | MEDIUM | `react-state-` | | 6 | Rendering | MEDIUM | `rendering-` | | 7 | Monorepo | MEDIUM | `monorepo-` | | 8 | Configuration | LOW | `fonts-`, `imports-` |

原文:1. List Performance (CRITICAL)

- `list-performance-virtualize` - Use FlashList for large lists - `list-performance-item-memo` - Memoize list item components - `list-performance-callbacks` - Stabilize callback references - `list-performance-inline-objects` - Avoid inline style objects - `list-performance-function-references` - Extract functions outside render - `list-performance-images` - Optimize images in lists - `list-performance-item-expensive` - Move expensive work outside items - `list-performance-item-types` - Use item types for heterogeneous lists

原文:2. Animation (HIGH)

- `animation-gpu-properties` - Animate only transform and opacity - `animation-derived-value` - Use useDerivedValue for computed animations - `animation-gesture-detector-press` - Use Gesture.Tap instead of Pressable

原文:3. Navigation (HIGH)

- `navigation-native-navigators` - Use native stack and native tabs over JS navigators

文件 SHA256:4012750a5ccbe064ca04af3835d5d1b011979d2d09d9b6df1c8128fac58e0a66

仓库许可证记录:未提供;skill-declaration-captured-not-interpreted,查看来源。

Skills.sh收录简介 · 2026-07-28

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing…

查看历史简介来源

这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。

历史收录数据

Skill标识vercel-react-native-skills
来源仓库vercel-labs/agent-skills
榜单快照2026-07-28
榜单口径Skills.sh累计安装量
快照名次151
快照累计安装量175619

历史资料说明

  • 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
  • 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。

此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源