# React native best practices

> React native best practices is an open-source agent skill for developer tools. Guides an agent through React Native performance work: FPS, startup, bundle size, leaks. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/callstackincubator/agent-skills/tree/main/skills/react-native-best-practices
- **Repository:** https://github.com/callstackincubator/agent-skills
- **GitHub stars:** 1,725
- **License:** MIT
- **Skill name:** react-native-best-practices
- **Collection:** https://github.com/callstackincubator/agent-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill gives an agent a structured reference for diagnosing and fixing performance problems in React Native apps. It covers JavaScript and React rendering, list virtualization, state management patterns, animations, startup time measurement, bundle and app size reduction, and native module threading and memory. Guidance is grouped by priority so the agent can triage the most impactful issues first.

The workflow follows a measure, optimize, re-measure, validate loop. The agent is directed to capture baseline metrics such as re-render counts, slow components and cold-start time before changing code, and to revert changes that do not produce a measurable gain. Several reference files include shell commands for profiling with the agent-device React DevTools flow, bundling with the React Native CLI, and analyzing output with source-map-explorer.

The skill expects a React Native project with access to a terminal and, for profiling, the agent-device tooling or React Native DevTools. Some commands require a Metro bundler and platform toolchains such as Xcode or Android Studio. The guidance is based on Callstack's published optimization guide and ships as Markdown reference files, with no bundled scripts.

## When your agent uses it

> Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/callstackincubator/agent-skills/tree/HEAD/skills/react-native-best-practices)
- [Includes binary files](https://github.com/callstackincubator/agent-skills/tree/HEAD/skills/react-native-best-practices)
- [License: MIT](https://github.com/callstackincubator/agent-skills/tree/HEAD/skills/react-native-best-practices)

## Features

- **Rendering and re-render fixes:** Covers list virtualization, React Compiler, atomic state and concurrent rendering to reduce wasted renders.
- **Bundle size reduction:** Explains how to analyze the JS bundle, avoid barrel imports and evaluate tree shaking.
- **Startup time measurement:** Describes how to measure cold-start TTI and which startup phases to exclude.
- **Native performance guidance:** Covers Turbo Module threading, async methods, and profiling with Xcode and Android Studio.
- **Memory leak hunting:** Provides steps for tracking down JavaScript and native memory leaks.
- **Animation and list jank:** Addresses Reanimated worklets, bottom sheets, TextInput lag and frame drops.
- **Android 16KB alignment:** Explains third-party library alignment requirements for Google Play compliance.

## Good for

- Find out why my React Native list scrolls with dropped frames
- Reduce the size of my React Native JavaScript bundle
- Profile which components re-render too often in my app
- Speed up cold start time for my React Native app
- Track down a memory leak in a React Native screen
- Check whether my Android build meets 16KB page alignment

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/react-native-best-practices` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/react-native-best-practices &&
cp -R "$tmp/skills/react-native-best-practices" ~/.claude/skills/react-native-best-practices &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/react-native-best-practices` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/react-native-best-practices` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/react-native-best-practices &&
cp -R "$tmp/skills/react-native-best-practices" ~/.agents/skills/react-native-best-practices &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/react-native-best-practices` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/react-native-best-practices` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/react-native-best-practices &&
cp -R "$tmp/skills/react-native-best-practices" ~/.cursor/skills/react-native-best-practices &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/react-native-best-practices` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/callstackincubator/agent-skills.git --path skills/react-native-best-practices
```

Or copy the folder to `~/.gemini/skills/react-native-best-practices` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/react-native-best-practices`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/react-native-best-practices &&
cp -R "$tmp/skills/react-native-best-practices" ~/.copilot/skills/react-native-best-practices &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/react-native-best-practices` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git
```

Then copy `agent-skills/skills/react-native-best-practices` into your agent's skills folder as `react-native-best-practices`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does React native best practices need to run?

It needs a React Native project. Profiling steps use the agent-device tooling or React Native DevTools, and bundling uses the React Native CLI with source-map-explorer for analysis.

### Does React native best practices change my code automatically?

No. It provides reference guidance and commands; the agent applies fixes, and the guidance asks for measurements before and after each change.

### Does the skill include scripts?

No, the skill has no bundled scripts. It contains Markdown reference files with shell commands the agent may run.

### What license applies?

The skill is released under the MIT license.

### How do I install React native best practices in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/react-native-best-practices to use it in all your projects, or to .claude/skills/react-native-best-practices in one project.

### Does React native best practices run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use React native best practices?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to React native best practices?

The closest alternatives to React native best practices are React native tv best practices, Vercel react native skills, Vercel react best practices, Frontend perf and React native testing.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [React native tv best practices](https://ai-powered.com/skills/react-native-tv-best-practices): React native tv best practices is an open-source agent skill for developer tools.
- [Vercel react native skills](https://ai-powered.com/skills/vercel-react-native-skills): Vercel react native skills is an open-source agent skill for cloud and infrastructure.
- [Vercel react best practices](https://ai-powered.com/skills/vercel-react-best-practices): Vercel react best practices is an open-source agent skill for cloud and infrastructure.
- [Frontend perf](https://ai-powered.com/skills/frontend-perf): Frontend perf is an open-source agent skill for developer tools.
- [React native testing](https://ai-powered.com/skills/react-native-testing): React native testing is an open-source agent skill for developer tools.
- [Vue performance](https://ai-powered.com/skills/vue-performance): Vue performance is an open-source agent skill for developer tools.
- [Expo animation](https://ai-powered.com/skills/expo-animation): Expo animation is an open-source agent skill for developer tools.
- [Performance](https://ai-powered.com/skills/performance-daveebbelaar): Performance is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/react-native-best-practices
