React Native Patterns

Navigation, state management, native modules, performance, animations, and cross-platform strategies

492 stars 68 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add cosmicstack-labs/mercury-agent-skills --skill react-native-patterns
Manual install
git clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills.git /tmp/mercury-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/mercury-agent-skills/categories/mobile/react-native-patterns ~/.claude/skills/react-native-patterns

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# React Native Patterns

Build performant cross-platform mobile apps with React Native.

## Architecture

### Project Structure
```
src/
├── components/    # Reusable UI components
├── screens/       # Screen-level components
├── navigation/    # React Navigation config
├── services/      # API, storage, native modules
├── hooks/         # Custom hooks
├── store/         # State management
├── utils/         # Helpers
└── types/         # TypeScript types
```

### Navigation (React Navigation)
```typescript
// Stack + Tab pattern
const RootStack = createNativeStackNavigator();
const MainTabs = createBottomTabNavigator();

function App() {
  return (
    <NavigationContainer>
      <RootStack.Navigator>
        <RootStack.Screen name="Main" component={MainTabs} />
        <RootStack.Screen name="Details" component={DetailsScreen} />
      </RootStack.Navigator>
    </NavigationContainer>
  );
}
```

## Performance

### Key Optimizations
- `React.memo` for pure components
- `useMemo`/`useCallback` for expensive computations
- `FlatList` with `getItemLayout` for perf
- Image caching with `react-native-fast-image`
- Hermes engine for Android
- Remove console.logs in production

### Native Modules
Use Turbo Modules (New Architecture) for bridging:

```typescript
// NativeModule.ts
import { TurboModuleRegistry } from 'react-native';
export default TurboModuleRegistry.getEnforcing('MyCustomModule');
```

## Cross-Platform Strategy
Read the full skill on GitHub

Details

Skill name
react-native-patterns
Path
categories/mobile/react-native-patterns/SKILL.md
License
MIT
Repo updated
25 August 2026

FAQ

What does the React Native Patterns skill do?

Navigation, state management, native modules, performance, animations, and cross-platform strategies

How do I install the React Native Patterns skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add cosmicstack-labs/mercury-agent-skills --skill react-native-patterns. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is React Native Patterns popular?

It lives in cosmicstack-labs/mercury-agent-skills, which has 492 GitHub stars and 68 forks.

Related skills

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.