Skip to content
Coding

React Native

Apply React Native and Expo guidance for lists, gestures, rendering, and native dependencies.

Install with Skills CLI
npx skills add vercel-labs/agent-skills --skill vercel-react-native-skills

What it does

Mobile React applications have performance and platform concerns beyond ordinary browser components. This skill helps the agent examine native lists, animation, navigation, and dependency placement with mobile-specific guidance.

What changes after install

  • Highlights virtualization and stable list-item work for large scrolling views.
  • Includes native navigation, gesture, image, and animation recommendations.
  • Covers native dependency placement and version consistency in monorepos.

Install

Run this command with Node.js 22.20 or later and select your agent in the Skills CLI.

Install with Skills CLI
npx skills add vercel-labs/agent-skills --skill vercel-react-native-skills

Before using React Native

  • Use a React Native or Expo project and provide its dependency configuration. Apply platform-specific rules with the relevant native modules and build environment available.

Read the reviewed setup instructions for the selected workflow.

When to use it

  • Investigating a slow React Native or Expo scrolling screen.
  • Reviewing native modules, animations, or mobile application structure.

When not to use it

  • Applying mobile-library recommendations directly to a React website.
  • Assuming iOS and Android behavior is identical without device testing.

Start with a mobile interaction

A useful request is to investigate a product feed that stutters while scrolling on a particular device. Include the list component, item renderer, image usage, data shape, Expo or React Native version, and the device or emulator where the behavior occurs. Ask the agent to connect proposed changes to that reproduction rather than rewriting the screen based only on a generic checklist.

The upstream skill places list performance first. It discusses virtualization, stable callbacks, expensive item work, image handling, and different item types. Other sections cover animation properties, native navigation, safe areas, gestures, and React state patterns. These topics concern the native application environment and should not be copied indiscriminately into a browser project.

Dependencies remain part of the app

The instructions reference libraries and approaches such as FlashList, Reanimated, Expo Image, and native navigators. Installing the skill does not install those packages or complete the required native setup. Check the application’s versions and existing conventions before adding or replacing dependencies.

For a monorepo, verify where native dependencies are declared and whether package versions are consistent across workspaces. A code change that looks valid in one package can still fail during the mobile build.

Validate on the intended platform

After changing a list or animation, repeat the same interaction and inspect behavior on the platforms you support. Watch for altered gestures, safe-area handling, and content rendering as well as frame smoothness. Use React Composition for component API structure and this skill for native-specific implementation concerns. SkillDex has reviewed the source instructions; it has not measured a mobile app using this skill.

FAQ

Is this intended for browser React apps?
No. It focuses on React Native and Expo; use the React performance guide for web-specific problems.
Does installation add FlashList or Reanimated?
No. The skill supplies guidance. Libraries and native configuration must be handled in the application as required.