Questions? hello@viberation.devGet supportBlogDocsChangelog
Get started

React Native Best Practices

Vercel's React Native and Expo rules for fast mobile apps.

Vercel's best practices for React Native and Expo. Your agent applies them when building components, speeding up long lists and implementing native features.

Install this skill

npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills

Runs the open-source skills CLI in your own terminal. It asks which agents to add the skill to. Read what it tells your agent to do before you install it.

Install for your agent

  • Claude Code

    Run this in your project

    npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills -a claude-code

    Add -g to install it for every project instead.

    Or ask Claude Code to do it

    Install the "vercel-react-native-skills" skill from https://github.com/vercel-labs/agent-skills for Claude Code.
    Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .claude/skills/ in this project.
    Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.

    Or copy the folder yourself

    Unzip the download into .claude/skills/ for this project, or ~/.claude/skills/ for all your projects.

    Picked up in the current session, no restart needed.

    Claude Code skills docs
  • Claude.ai

    Upload the ZIP

    1. In Settings > Capabilities, turn on Code execution and file creation.
    2. Go to Customize > Skills, press +, then Create skill.
    3. Choose Upload a skill and pick the ZIP you downloaded.

    Free, Pro and Max plans. On Team and Enterprise, an owner turns skills on in Organization settings first.

    Claude.ai skills docs
  • ChatGPT

    Upload the ZIP

    1. Open Skills in ChatGPT and select Create.
    2. Select Upload from your computer and pick the ZIP you downloaded.
    3. Wait for ChatGPT's safety scan. A skill marked Needs Review asks you to check it before use.

    Skills that rely on scripts or a terminal may not work unchanged in ChatGPT.

    ChatGPT skills docs
  • Codex

    Run this in your project

    npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills -a codex

    Add -g to install it for every project instead.

    Or ask Codex to do it

    Install the "vercel-react-native-skills" skill from https://github.com/vercel-labs/agent-skills for Codex.
    Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .agents/skills/ in this project.
    Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.

    Or copy the folder yourself

    Unzip the download into .agents/skills/ for this project, or ~/.agents/skills/ for all your projects.

    Restart Codex if the skill does not show up.

    Codex skills docs
  • Cursor

    Run this in your project

    npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills -a cursor

    Add -g to install it for every project instead.

    Or ask Cursor to do it

    Install the "vercel-react-native-skills" skill from https://github.com/vercel-labs/agent-skills for Cursor.
    Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .cursor/skills/ in this project.
    Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.

    Or copy the folder yourself

    Unzip the download into .cursor/skills/ for this project, or ~/.cursor/skills/ for all your projects.

    Run it by typing / and the skill name in chat.

    Cursor skills docs
  • GitHub Copilot

    Run this in your project

    npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills -a github-copilot

    Add -g to install it for every project instead.

    Or ask GitHub Copilot to do it

    Install the "vercel-react-native-skills" skill from https://github.com/vercel-labs/agent-skills for GitHub Copilot.
    Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .github/skills/ in this project.
    Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.

    Or copy the folder yourself

    Unzip the download into .github/skills/ for this project, or ~/.copilot/skills/ for all your projects.

    Works in Copilot CLI, the cloud agent and agent mode in VS Code and JetBrains.

    GitHub Copilot skills docs
  • Antigravity

    Run this in your project

    npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills -a antigravity

    Add -g to install it for every project instead.

    Or ask Antigravity to do it

    Install the "vercel-react-native-skills" skill from https://github.com/vercel-labs/agent-skills for Antigravity.
    Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .agents/skills/ in this project.
    Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.

    Or copy the folder yourself

    Unzip the download into .agents/skills/ for this project, or ~/.gemini/config/skills/ for all your projects.

    Antigravity skills docs
  • Gemini CLI

    Run this in your project

    npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-native-skills -a gemini-cli

    Add -g to install it for every project instead.

    Or ask Gemini CLI to do it

    Install the "vercel-react-native-skills" skill from https://github.com/vercel-labs/agent-skills for Gemini CLI.
    Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .gemini/skills/ in this project.
    Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.

    Or copy the folder yourself

    Unzip the download into .gemini/skills/ for this project, or ~/.gemini/skills/ for all your projects.

    Run /skills to check it was found.

    Gemini CLI skills docs
Installs
209.2K via skills.sh
Last updated
28 Aug 2026

Security checks

Run by independent scanners and published on skills.sh. Their results, not a Viberation review.

  • Gen Agent Trust Hub Pass

    This skill consists of a comprehensive collection of best practices for React Native and Expo development. It is composed entirely of educational Markdown documentation and metadata, containing no executable code, scripts, or security vulnerabilities.

    17 Feb 2026
  • Socket Pass

    No alerts

    18 Mar 2026
  • Snyk Pass

    Risk: LOW · No issues

    17 Feb 2026
  • Runlayer Warning

    5/42 files flagged

    25 Feb 2026
  • ZeroLeaks Pass

    Score: 93/100 · 2 sections analyzed

    16 Apr 2026
What's inside (42 files)
  • AGENTS.md73.7K chars
  • metadata.json896 chars
  • README.md5.1K chars
  • rules/_sections.md2.2K chars
  • rules/_template.md631 chars
  • rules/animation-derived-value.md1.4K chars
  • rules/animation-gesture-detector-press.md2.6K chars
  • rules/animation-gpu-properties.md2.1K chars
  • rules/design-system-compound-components.md1.6K chars
  • rules/fonts-config-plugin.md1.4K chars
  • rules/imports-design-system-folder.md1.4K chars
  • rules/js-hoist-intl.md1.6K chars
  • rules/list-performance-callbacks.md1.1K chars
  • rules/list-performance-function-references.md4.1K chars
  • rules/list-performance-images.md1.4K chars
  • rules/list-performance-inline-objects.md2.3K chars
  • rules/list-performance-item-expensive.md2.5K chars
  • rules/list-performance-item-memo.md2.3K chars
  • rules/list-performance-item-types.md2.7K chars
  • rules/list-performance-virtualize.md1.7K chars
  • rules/monorepo-native-deps-in-app.md1.1K chars
  • rules/monorepo-single-dependency-versions.md1.4K chars
  • rules/navigation-native-navigators.md4.9K chars
  • rules/react-compiler-destructure-functions.md1.3K chars
  • rules/react-compiler-reanimated-shared-values.md1.3K chars
  • rules/react-state-dispatcher.md2.3K chars
  • rules/react-state-fallback.md1.7K chars
  • rules/react-state-minimize.md1.7K chars
  • rules/rendering-no-falsy-and.md1.8K chars
  • rules/rendering-text-in-text-component.md697 chars
  • rules/scroll-position-no-state.md1.9K chars
  • rules/state-ground-truth.md2.2K chars
  • rules/ui-expo-image.md1.6K chars
  • rules/ui-image-gallery.md2.5K chars
  • rules/ui-measure-views.md2.2K chars
  • rules/ui-menus.md4.6K chars
  • rules/ui-native-modals.md1.9K chars
  • rules/ui-pressable.md1.5K chars
  • rules/ui-safe-area-scroll.md1.6K chars
  • rules/ui-scrollview-content-inset.md1.3K chars
  • rules/ui-styling.md2.2K chars
  • SKILL.md4.4K chars

SKILL.md, first part. Shown as plain text.

---
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'
---

# 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-` |

## Quick Reference

### 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

### 4. UI Patterns (HIGH)

- `ui-expo-image` - Use expo-image for all images
- `ui-image-gallery` - Use Galeria for image lightboxes
- `ui-pressable` - Use Pressable over TouchableOpacity
- `ui-safe-area-scroll` - Handle safe areas in ScrollViews
- `ui-scrollview-content-inset` - Use contentInset for headers
- `ui-menus` - Use native context menus
- `ui-native-modals` - Use native modals when possible
- `ui-measure-views` - Use onLayout, not measure()
- `ui-styling` - Use StyleSheet.create or Nativewind

### 5. State Management (MEDIUM)

- `react-state-minimize` - Minimize state subscriptions
- `react-state-dispatcher` - Use dispatcher pattern for callbacks
- `react-state-fallback` - Show fallback on first render
- `react-compiler-destructure-functions` - Destructure for React Compiler
- `react-compiler-reanimated-shared-values` - Handle shared values with compiler

### 6. Rendering (MEDIUM)

- `rendering-text-in-text-component` - Wrap text in Text components
- `rendering-no-falsy-and` - Avoid falsy && for conditional rendering

### 7. Monorepo (MEDIUM)

- `monorepo-native-deps-in-app` - Keep native dependencies in app package
- `monorepo-single-dependency-versions` - Use single versions across packages

### 8. Configuration (LOW)

- `fonts-config-plugin` - Use config plugins for custom fonts
- `imports-design-system-folder` - Organize design system imports
- `js-hoist-intl` - Hoist Intl object creation

Key info

Pricing
Free
Category
Skills

More in Skills