React Native Architecture skill for Claude

Build production React Native apps with Expo, navigation, native modules, offline sync, and cross-platform patterns.

When Claude uses it

Use when developing mobile apps, implementing native integrations, or architecting React Native projects.

React Native Architecture SKILL.md

The full skill file from wshobson/agents (MIT).

React Native Architecture

Production-ready patterns for React Native development with Expo, including navigation, state management, native modules, and offline-first architecture.

When to Use This Skill

  • Starting a new React Native or Expo project
  • Implementing complex navigation patterns
  • Integrating native modules and platform APIs
  • Building offline-first mobile applications
  • Optimizing React Native performance
  • Setting up CI/CD for mobile releases

Core Concepts

1. Project Structure

src/
├── app/                    # Expo Router screens
│   ├── (auth)/            # Auth group
│   ├── (tabs)/            # Tab navigation
│   └── _layout.tsx        # Root layout
├── components/
│   ├── ui/                # Reusable UI components
│   └── features/          # Feature-specific components
├── hooks/                 # Custom hooks
├── services/              # API and native services
├── stores/                # State management
├── utils/                 # Utilities
└── types/                 # TypeScript types

2. Expo vs Bare React Native

FeatureExpoBare RN
Setup complexityLowHigh
Native modulesEAS BuildManual linking
OTA updatesBuilt-inManual setup
Build serviceEASCustom CI
Custom native codeConfig pluginsDirect access

Quick Start

# Create new Expo project
npx create-expo-app@latest my-app -t expo-template-blank-typescript

# Install essential dependencies
npx expo install expo-router expo-status-bar react-native-safe-area-context
npx expo install @react-native-async-storage/async-storage
npx expo install expo-secure-store expo-haptics
// app/_layout.tsx
import { Stack } from 'expo-router'
import { ThemeProvider } from '@/providers/ThemeProvider'
import { QueryProvider } from '@/providers/QueryProvider'

export default function RootLayout() {
  return (
    <QueryProvider>
      <ThemeProvider>
        <Stack screenOptions={{ headerShown: false }}>
          <Stack.Screen name="(tabs)" />
          <Stack.Screen name="(auth)" />
          <Stack.Screen name="modal" options={{ presentation: 'modal' }} />
        </Stack>
      </ThemeProvider>
    </QueryProvider>
  )
}

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

Do's

  • Use Expo - Faster development, OTA updates, managed native code
  • FlashList over FlatList - Better performance for long lists
  • Memoize components - Prevent unnecessary re-renders
  • Use Reanimated - 60fps animations on native thread
  • Test on real devices - Simulators miss real-world issues

Don'ts

  • Don't inline styles - Use StyleSheet.create for performance
  • Don't fetch in render - Use useEffect or React Query
  • Don't ignore platform differences - Test on both iOS and Android
  • Don't store secrets in code - Use environment variables
  • Don't skip error boundaries - Mobile crashes are unforgiving

How to install React Native Architecture

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit wshobson/agents/plugins/frontend-mobile-development/skills/react-native-architecture#main ~/.claude/skills/react-native-architecture

Codex

npx degit wshobson/agents/plugins/frontend-mobile-development/skills/react-native-architecture#main ~/.codex/skills/react-native-architecture

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the React Native Architecture skill do?

Build production React Native apps with Expo, navigation, native modules, offline sync, and cross-platform patterns. Use when developing mobile apps, implementing native integrations, or architecting React Native projects.

+How do I install React Native Architecture in Claude Code?

Copy the skill folder into ~/.claude/skills/react-native-architecture, for example with "npx degit wshobson/agents/plugins/frontend-mobile-development/skills/react-native-architecture#main ~/.claude/skills/react-native-architecture". Claude Code loads it automatically and uses it when a task matches.

+Does React Native Architecture work with ChatGPT or Codex?

Yes. React Native Architecture uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/react-native-architecture. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is React Native Architecture free?

React Native Architecture is published on GitHub by wshobson under the MIT license, which allows free use.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. React Native Design

    Master React Native styling, navigation, and Reanimated animations for cross-platform mobile development.

    wshobson/agents★ 43k
  5. React State Management

    Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query.

    wshobson/agents★ 43k
  6. Unity Ecs Patterns

    Master Unity ECS (Entity Component System) with DOTS, Jobs, and Burst for high-performance game development.

    wshobson/agents★ 43k
  7. Visual Design Foundations

    Apply typography, color theory, spacing systems, and iconography principles to create cohesive visual designs.

    wshobson/agents★ 43k
  8. Visual Edit Precision

    Use when making UI/frontend changes guided by visual context, when the user selects elements visually, draws annotations, or provides…

    wshobson/agents★ 43k
  9. Web Component Design

    Master React, Vue, and Svelte component patterns including CSS-in-JS, composition strategies, and reusable component architecture.

    wshobson/agents★ 43k

See all design & frontend skills →

More skills from wshobson

  1. Recsys Pipeline Architect

    Design composable recommendation, ranking, and feed pipelines using the six-stage Source→Hydrator→Filter→Scorer→Selector→SideEffect…

    wshobson/agents★ 43k

All skills by wshobson →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.