Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/wshobson-react-native-architecture/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 27% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -13% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-11 | ✓→✗ | ▼ Worse | 16% | 0% |
Production-ready patterns for React Native development with Expo, including navigation, state management, native modules, and offline-first architecture.
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| Feature | Expo | Bare RN | | ------------------ | -------------- | -------------- | | Setup complexity | Low | High | | Native modules | EAS Build | Manual linking | | OTA updates | Built-in | Manual setup | | Build service | EAS | Custom CI | | Custom native code | Config plugins | Direct access |
bash# 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
typescript// 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 pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 16,012 | 8,213 | -49% | 1 | 1 | 0% | 3,204 | 2,836 | -11% | 0 | 0 | — |
case-02 | fail→fail | 15,191 | 9,975 | -34% | 1 | 1 | 0% | 3,000 | 2,965 | -1% | 0 | 0 | — |
case-03 | pass→pass | 11,052 | 8,040 | -27% | 1 | 1 | 0% | 1,943 | 2,415 | +24% | 0 | 0 | — |
case-04 | pass→pass | 10,619 | 7,512 | -29% | 1 | 1 | 0% | 2,202 | 2,224 | +1% | 0 | 0 | — |
case-05 | pass→pass | 11,874 | 11,820 | -0% | 1 | 1 | 0% | 2,025 | 2,834 | +40% | 0 | 0 | — |
case-06 | pass→pass | 10,628 | 11,387 | +7% | 1 | 1 | 0% | 2,297 | 3,246 | +41% | 0 | 0 | — |
case-07 | fail→pass | 4,352 | 1,982 | -54% | 1 | 1 | 0% | 872 | 1,105 | +27% | 0 | 0 | — |
case-08 | pass→pass | 5,153 | 4,683 | -9% | 1 | 1 | 0% | 1,031 | 1,731 | +68% | 0 | 0 | — |
case-09 | pass→pass | 8,307 | 4,585 | -45% | 1 | 1 | 0% | 1,705 | 1,630 | -4% | 0 | 0 | — |
case-10 | pass→pass | 11,353 | 7,836 | -31% | 1 | 1 | 0% | 2,048 | 2,052 | +0% | 0 | 0 | — |
case-11 | pass→fail | 11,804 | 9,855 | -17% | 1 | 1 | 0% | 2,273 | 2,645 | +16% | 0 | 0 | — |
case-12 | pass→pass | 14,132 | 13,540 | -4% | 1 | 1 | 0% | 2,387 | 3,016 | +26% | 0 | 0 | — |
case-13 | pass→pass | 14,680 | 11,958 | -19% | 1 | 1 | 0% | 2,734 | 3,440 | +26% | 0 | 0 | — |
case-14 | pass→pass | 10,267 | 9,035 | -12% | 1 | 1 | 0% | 1,750 | 2,587 | +48% | 0 | 0 | — |
case-15 | pass→pass | 8,003 | 4,815 | -40% | 1 | 1 | 0% | 1,713 | 1,786 | +4% | 0 | 0 | — |
case-16 | fail→pass | 10,252 | 4,939 | -52% | 1 | 1 | 0% | 1,920 | 1,671 | -13% | 0 | 0 | — |
case-17 | pass→pass | 8,640 | 8,762 | +1% | 1 | 1 | 0% | 1,451 | 2,153 | +48% | 0 | 0 | — |
case-18 | fail→pass | 11,964 | 7,519 | -37% | 1 | 1 | 0% | 2,392 | 2,313 | -3% | 0 | 0 | — |
case-19 | fail→pass | 8,149 | 63,309 | +677% | 1 | 1 | 0% | 1,530 | 1,347 | -12% | 0 | 0 | — |
case-20 | pass→pass | 6,589 | 7,117 | +8% | 1 | 1 | 0% | 1,332 | 1,956 | +47% | 0 | 0 | — |
case-21 | pass→pass | 6,502 | 4,905 | -25% | 1 | 1 | 0% | 1,118 | 1,646 | +47% | 0 | 0 | — |
case-22 | pass→pass | 6,437 | 4,183 | -35% | 1 | 1 | 0% | 1,315 | 1,603 | +22% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +14 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.