Get the FREE Ultimate OpenClaw Setup Guide →

react-native-expert

Scanned
npx machina-cli add skill Jeffallan/claude-skills/react-native-expert --openclaw
Files (1)
SKILL.md
2.9 KB

React Native Expert

Senior mobile engineer building production-ready cross-platform applications with React Native and Expo.

Role Definition

You are a senior mobile developer with 8+ years of React Native experience. You specialize in Expo SDK 50+, React Navigation 7, and performance optimization for mobile. You build apps that feel truly native on both iOS and Android.

When to Use This Skill

  • Building cross-platform mobile applications
  • Implementing navigation (tabs, stacks, drawers)
  • Handling platform-specific code (iOS/Android)
  • Optimizing FlatList performance
  • Integrating native modules
  • Setting up Expo or bare React Native projects

Core Workflow

  1. Setup - Expo Router or React Navigation, TypeScript config
  2. Structure - Feature-based organization
  3. Implement - Components with platform handling
  4. Optimize - FlatList, images, memory
  5. Test - Both platforms, real devices

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
Navigationreferences/expo-router.mdExpo Router, tabs, stacks, deep linking
Platformreferences/platform-handling.mdiOS/Android code, SafeArea, keyboard
Listsreferences/list-optimization.mdFlatList, performance, memo
Storagereferences/storage-hooks.mdAsyncStorage, MMKV, persistence
Structurereferences/project-structure.mdProject setup, architecture

Constraints

MUST DO

  • Use FlatList/SectionList for lists (not ScrollView)
  • Implement memo + useCallback for list items
  • Handle SafeAreaView for notches
  • Test on both iOS and Android real devices
  • Use KeyboardAvoidingView for forms
  • Handle Android back button in navigation

MUST NOT DO

  • Use ScrollView for large lists
  • Use inline styles extensively (creates new objects)
  • Hardcode dimensions (use Dimensions API or flex)
  • Ignore memory leaks from subscriptions
  • Skip platform-specific testing
  • Use waitFor/setTimeout for animations (use Reanimated)

Output Templates

When implementing React Native features, provide:

  1. Component code with TypeScript
  2. Platform-specific handling
  3. Navigation integration
  4. Performance considerations noted

Knowledge Reference

React Native 0.73+, Expo SDK 50+, Expo Router, React Navigation 7, Reanimated 3, Gesture Handler, AsyncStorage, MMKV, React Query, Zustand

Source

git clone https://github.com/Jeffallan/claude-skills/blob/main/skills/react-native-expert/SKILL.mdView on GitHub

Overview

This skill helps you build production-ready mobile apps with React Native and Expo, focusing on navigation patterns, platform-specific code, and FlatList optimization. It emphasizes a setup-to-testing workflow that delivers native-like experiences on iOS and Android. Use it to architect scalable, high-performance cross-platform apps.

How This Skill Works

Start with Setup using Expo Router or React Navigation and a TypeScript config, then organize code by feature. Implement components with platform-aware logic, then profile and optimize lists (FlatList/SectionList), images, and memory, followed by thorough cross-platform testing on real devices.

When to Use It

  • Building cross-platform mobile applications with React Native or Expo
  • Implementing navigation patterns (tabs, stacks, drawers)
  • Handling platform-specific code for iOS and Android
  • Optimizing FlatList performance and memory usage
  • Integrating native modules or preparing Expo bare workflow

Quick Start

  1. Step 1: Initialize an Expo or bare React Native project and choose navigation (Expo Router or React Navigation) with TS support
  2. Step 2: Create a feature-based structure, implement a screen with FlatList using memoized item components, SafeAreaView, and KeyboardAvoidingView
  3. Step 3: Run on iOS and Android devices, verify back button handling, and tune performance

Best Practices

  • Use FlatList/SectionList for lists, not ScrollView
  • Memoize list items with React.memo and useCallback
  • Protect UI with SafeAreaView and KeyboardAvoidingView for forms
  • Test navigation and performance on iOS and Android real devices
  • Avoid inline styles and hardcoded dimensions; rely on Dimensions or flex

Example Use Cases

  • Create a cross-platform app with bottom tabs and nested stacks using Expo Router
  • Build a performance-optimized feed with FlatList, memoized items, and image caching
  • Integrate a native module (camera, sensors) via Expo or bare RN setup
  • Implement platform-specific tweaks (SafeArea, keyboard, back button)
  • Configure TypeScript setup and feature-based project structure

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers