React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementin...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install vercel-react-native-skills或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install vercel-react-native-skills⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/vercel-react-native-skills/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: vercel-react-native-skills 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. license: MIT metadata: author: vercel version: '1.0.0' ---
Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering performance, animations, UI patterns, and platform-specific optimizations.
Reference these guidelines when:
| 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- |
list-performance-virtualize - Use FlashList for large listslist-performance-item-memo - Memoize list item componentslist-performance-callbacks - Stabilize callback referenceslist-performance-inline-objects - Avoid inline style objectslist-performance-function-references - Extract functions outside renderlist-performance-images - Optimize images in listslist-performance-item-expensive - Move expensive work outside itemslist-performance-item-types - Use item types for heterogeneous listsanimation-gpu-properties - Animate only transform and opacityanimation-derived-value - Use useDerivedValue for computed animationsanimation-gesture-detector-press - Use Gesture.Tap instead of Pressablenavigation-native-navigators - Use native stack and native tabs over JS navigatorsui-expo-image - Use expo-image for all imagesui-image-gallery - Use Galeria for image lightboxesui-pressable - Use Pressable over TouchableOpacityui-safe-area-scroll - Handle safe areas in ScrollViewsui-scrollview-content-inset - Use contentInset for headersui-menus - Use native context menusui-native-modals - Use native modals when possibleui-measure-views - Use onLayout, not measure()ui-styling - Use StyleSheet.create or Nativewindreact-state-minimize - Minimize state subscriptionsreact-state-dispatcher - Use dispatcher pattern for callbacksreact-state-fallback - Show fallback on first renderreact-compiler-destructure-functions - Destructure for React Compilerreact-compiler-reanimated-shared-values - Handle shared values with compilerrendering-text-in-text-component - Wrap text in Text componentsrendering-no-falsy-and - Avoid falsy && for conditional renderingmonorepo-native-deps-in-app - Keep native dependencies in app packagemonorepo-single-dependency-versions - Use single versions across packagesfonts-config-plugin - Use config plugins for custom fontsimports-design-system-folder - Organize design system importsjs-hoist-intl - Hoist Intl object creationRead individual rule files for detailed explanations and code examples:
rules/list-performance-virtualize.md
rules/animation-gpu-properties.md
Each rule file contains:
For the complete guide with all rules expanded: AGENTS.md
安装 React Native Skills 后,可以对 AI 说这些话来触发它
Help me get started with React Native Skills
Explains what React Native Skills does, walks through the setup, and runs a quick demo based on your current project
Use React Native Skills to react Native and Expo best practices for building performant mobile...
Invokes React Native Skills with the right parameters and returns the result directly in the conversation
What can I do with React Native Skills in my developer & devops workflow?
Lists the top use cases for React Native Skills, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/vercel-react-native-skills/ 目录(个人级,所有项目可用),或 .claude/skills/vercel-react-native-skills/(项目级)。重启 AI 客户端后,用 /vercel-react-native-skills 主动调用,或让 AI 根据上下文自动发现并使用。
React Native Skills 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
React Native Skills 可免费安装使用。请查阅仓库了解许可证信息。
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementin...
React Native Skills 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using React Native Skills
Identifies repetitive steps in your workflow and sets up React Native Skills to handle them automatically