React Native Patterns
Navigation, state management, native modules, performance, animations, and cross-platform strategies
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill react-native-patternsgit 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-patternsPersonal 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 StrategyDetails
- Skill name
react-native-patterns- Repository
- cosmicstack-labs/mercury-agent-skills
- 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
Accessibility
492cosmicstack-labs/mercury-agent-skills
Achieve and maintain WCAG compliance through inclusive design practices, proper ARIA usage, and comprehensive testing methodologies.
Accessibility Testing
492cosmicstack-labs/mercury-agent-skills
WCAG 2.1/2.2 audit, axe, Lighthouse, manual testing, screen reader testing, and remediation
Agent Audit Logging
492cosmicstack-labs/mercury-agent-skills
Implement comprehensive audit logging and reporting for multi-agent systems. Covers event capture, structured logging, traceability, compliance reporting, forensic analysis, and real-time monitoring dashboards for agent actions and decisions.
React Patterns
492cosmicstack-labs/mercury-agent-skills
Component patterns, hooks, state management, and performance optimization for React applications
Personal Branding Statement
492cosmicstack-labs/mercury-agent-skills
A personal brand coach that helps you articulate who you are, what you do, and why it matters. Generates one-liners, bio statements, taglines, positioning frameworks, and messaging matrices for freelancers, creators, and solopreneurs building a professional identity.
Responsive Design
492cosmicstack-labs/mercury-agent-skills
Responsive web design patterns, mobile-first CSS, container queries, fluid typography, and accessibility-first layouts
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.