Builds, optimizes, and debugs cross-platform mobile applications with React Native and Expo. Implements Expo Router navigation, configures native modules, optimizes lists, and handles platform-specific code for iOS and Android. Use when building a React Native or Expo mobile app, setting up navigation, integrating native modules, improving scroll performance, handling SafeArea or keyboard input, or configuring Expo SDK projects. Carries calibrated defaults for an Expo SDK 54 / Expo Router 6 / NativeWind stack and verifies the actual project before applying them.
Ships in react-native. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Senior mobile engineer building production-ready cross-platform applications with React Native and Expo. The stack below is a set of calibrated defaults, not facts about every repo — before relying on any of them, verify against the actual project: AGENTS.md (if present), package.json, and app.json are the source of truth, and when they disagree with this file, the project wins. Surface the difference rather than silently applying a default.
newArchEnabled: true)experiments.reactCompiler: true) — auto-memoizes; do not reach for memo / useMemo / useCallback reflexively@/* → mobile/src/*typedRoutes: trueclassName on RN primitives)@expo-google-fonts/montserrat), weights _400Regular / _500Medium / _600SemiBold / _700Bold, loaded via useFonts in the root _layout.tsx. If the project already has an established family, use that instead.src/{app,components,contexts,hooks,stores,services,styles,types} (in this calibrated project: mobile/src/*)If a constraint above conflicts with what the user asks or with the actual project, surface the conflict — don't silently violate either.
package.json / app.json to confirm the defaults above, then npx expo doctor (run from the app workspace, e.g. mobile/); fix anything reported before coding.src/app/, hooks in src/hooks/, stores in src/stores/, network/platform clients in src/services/. Don't invent new top-level folders.react-native-mmkv, react-native-nitro-modules, gesture-handler), run npx expo run:android (or :ios) to rebuild the dev client. Fast Refresh alone won't pick those up.npm run lint (expo lint); manually exercise iOS + Android. No test runner is wired up.npx expo start --clear, then restart.npx expo run:ios.adb logcat → resolve SDK/NDK mismatch → npx expo run:android.npx expo install <module> for a compatible version, then rebuild the dev client.tailwind.config.js content glob covers the file; Metro caches aggressively → restart with --clear.Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Navigation | references/expo-router.md | Expo Router, tabs, stacks, deep linking |
| App shell | references/app-shell.md | Root layout wiring, providers, fonts, splash gating, share target |
| Platform | references/platform-handling.md | iOS/Android splits, SafeArea, keyboard |
| Theming | references/theming.md | CSS-variable tokens, dark mode, Tailwind + NativeWind color setup |
| Lists | references/list-optimization.md | FlatList / FlashList, large data sets |
| Storage | references/storage-hooks.md | MMKV (createMMKV), Zustand persistence, secure tokens |
| Local DB | references/local-database.md | Project uses (or needs) SQLite — Drizzle, migrations, live queries |
| Structure | references/project-structure.md | Where new files go, alias / config layout |
FlatList / SectionList / FlashList for lists (never ScrollView for variable-length data).keyExtractor and provide getItemLayout when row heights are fixed.react-native-safe-area-context (SafeAreaView or useSafeAreaInsets) for notch / home-indicator handling — it's already a dependency.KeyboardAvoidingView (with behavior="padding" on iOS, "height" on Android) for forms.useLocalSearchParams<{...}>() and rely on typedRoutes.StateStorage adapter (see references/storage-hooks.md).useFonts resolving in _layout.tsx. When the project has none, default to Montserrat (install the relevant @expo-google-fonts/montserrat weight modules).memo / useMemo / useCallback "for performance" — React Compiler handles it. Add them only when a profiler shows a real win, and leave a comment explaining why.@react-native-async-storage/async-storage. MMKV is the persistence layer.StyleSheet.create for layout / spacing / typography / colors — use NativeWind className. Reserve inline style for dynamic values that can't be expressed as classes (animated values, computed insets, theme tokens).Dimensions / safe-area insets would do.waitFor / setTimeout for animation timing — use Reanimated.import { FlatList, Pressable, Text, View } from "react-native";
type Item = { id: string; title: string };
function ListItem({ title, onPress }: { title: string; onPress: () => void }) {
return (
<Pressable onPress={onPress} className="border-b border-neutral-200 px-4 py-3">
<Text className="text-base">{title}</Text>
</Pressable>
);
}
export function ItemList({ data }: { data: Item[] }) {
const handlePress = (id: string) => {
console.log("pressed", id);
};
return (
<FlatList
data={data}
keyExtractor={(item) => item.id}
renderItem={({ item }) => <ListItem title={item.title} onPress={() => handlePress(item.id)} />}
removeClippedSubviews
maxToRenderPerBatch={10}
windowSize={5}
/>
);
}
No memo, no useCallback — the compiler memoizes ListItem and the inline closures. If a profiler later shows wasted renders, add memoization with a comment.
import { KeyboardAvoidingView, Platform, ScrollView, TextInput } from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
export function LoginForm() {
return (
<SafeAreaView className="flex-1">
<KeyboardAvoidingView className="flex-1" behavior={Platform.OS === "ios" ? "padding" : "height"}>
<ScrollView contentContainerClassName="gap-3 p-4" keyboardShouldPersistTaps="handled">
<TextInput className="rounded-lg border border-neutral-300 p-3 text-base" placeholder="Email" autoCapitalize="none" />
<TextInput className="rounded-lg border border-neutral-300 p-3 text-base" placeholder="Password" secureTextEntry />
</ScrollView>
</KeyboardAvoidingView>
</SafeAreaView>
);
}
Prefer Platform.select inline over duplicate .ios.tsx / .android.tsx files unless the divergence is large.
import { Platform, Pressable, Text, View } from "react-native";
export function StatusChip({ label }: { label: string }) {
return (
<View
className="self-start rounded-full px-3 py-1"
style={{
backgroundColor: "#0a7ea4",
...Platform.select({
ios: { shadowColor: "#000", shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.2, shadowRadius: 4 },
android: { elevation: 3 },
}),
}}
>
<Text className="text-sm font-semibold text-white">{label}</Text>
</View>
);
}
When implementing React Native features, deliver:
useLocalSearchParams, correct group / layout placement under src/app/.src/hooks/, query key factory co-located, mutation invalidations spelled out.src/stores/, MMKV-persisted if it must survive restarts.Expo SDK 54, React Native 0.81, React 19.1 (Compiler), Expo Router 6 (typed routes), Reanimated 4, Gesture Handler 2, react-native-safe-area-context, NativeWind 4 + Tailwind 3, React Query 5, Zustand 5, react-native-mmkv 4 (Nitro), expo-image, @expo/vector-icons.
references/app-shell.md (opens in a new tab)references/expo-router.md (opens in a new tab)references/list-optimization.md (opens in a new tab)references/local-database.md (opens in a new tab)references/platform-handling.md (opens in a new tab)references/project-structure.md (opens in a new tab)references/storage-hooks.md (opens in a new tab)references/theming.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/react-native:react-nativefrom react-native
npx claudepluginhub rehanhaider/aiman --plugin react-native