Automated summary
A practical guide to building and shipping React Native apps with Expo, covering Expo Router, EAS Build/Submit/Update, and native SDK modules.
Strengths
- File-based routing explained through a complete example tree (layouts, tabs, dynamic routes, 404)
- Copy-ready snippets for the root layout, tab bar, and programmatic navigation
- Covers the full delivery chain: cloud builds, store submission, and over-the-air updates
- Documents deep linking setup through the app.json scheme
Limitations
- The document is truncated: the SDK modules section (camera, location, notifications) cuts off mid-example
- Does not address the bare workflow/ejection, authoring native modules, or testing
- Assumes an Expo/EAS account and signing credentials without explaining how to set them up
Use it when bootstrapping an Expo project, structuring navigation with Expo Router, or configuring EAS builds and updates.
Skip it for a bare React Native project without Expo, or when you need advanced testing and CI guidance.
Security analysis
CautionThis is reference documentation for Expo/React Native, and nothing in it is malicious: no curl|sh piping, no rm -rf, no sending secrets to third parties, no safety-disabling instructions. The only risk is operational: it shows agents commands that perform global installs, cloud builds, and production deployments (store submission and OTA updates to live users), which could have real consequences if executed without confirmation. That places it in the 'caution' bucket rather than 'safe', but it is not 'risky'.
- •Includes shell commands that install packages globally (`npm install -g eas-cli`) and network/build operations (`npx create-expo-app`, `eas build`)
- •Includes deployment commands with real-world side effects: `eas submit` publishes to App Store Connect / Google Play and `eas update --branch production` pushes OTA updates to production users
- •No destructive, exfiltrating, or obfuscated operations; no credential access beyond generic guidance to store tokens in expo-secure-store
Examples
Create a new Expo app with the tabs template, then add a third tab called Profile with a person icon from Ionicons.Add an Expo Router dynamic route app/post/[slug].tsx that reads the slug with useLocalSearchParams and link to it from the home screen with <Link>.Set up an EAS Build configuration for my Expo app so I can produce an iOS and Android build and submit them to the stores.name: expo description: >- Build, deploy, and update React Native apps with Expo. Covers file-based routing with Expo Router (stacks, tabs, drawers, deep linking), EAS Build and Submit, over-the-air updates, and 50+ SDK modules for camera, location, notifications. Use when setting up Expo, adding navigation, configuring builds, or integrating native device APIs. Trigger words: expo, expo router, eas build, react native expo, file-based routing mobile, deep linking. license: Apache-2.0 compatibility: "Expo SDK 50+, Node.js 18+. iOS, Android, Web." metadata: author: terminal-skills version: "1.1.0" category: development tags: ["expo", "react-native", "mobile", "routing", "eas"]
Expo
Overview
Expo is a development platform for React Native providing file-based routing (Expo Router), cloud builds (EAS Build), store submissions (EAS Submit), over-the-air updates (EAS Update), and 50+ SDK modules for native device APIs. Ship iOS, Android, and web apps from one codebase without managing Xcode or Android Studio.
Instructions
Setup
npx create-expo-app@latest my-app --template tabs
cd my-app && npx expo start
File-Based Routing (Expo Router)
Drop a file in app/, get a screen. Folder structure defines navigation hierarchy.
app/
├── _layout.tsx # Root layout (wraps all screens)
├── index.tsx # / (home screen)
├── about.tsx # /about
├── (tabs)/ # Tab navigation group
│ ├── _layout.tsx # Tab bar configuration
│ ├── index.tsx # First tab
│ ├── explore.tsx # Second tab
│ └── profile.tsx # Third tab
├── settings/
│ ├── _layout.tsx # Stack layout for settings
│ ├── index.tsx # /settings
│ └── account.tsx # /settings/account
├── post/
│ └── [slug].tsx # /post/my-first-post (dynamic route)
└── +not-found.tsx # 404 screen
Root Layout
// app/_layout.tsx
import { Stack } from "expo-router";
export default function RootLayout() {
return (
<Stack>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen name="settings" options={{ title: "Settings" }} />
<Stack.Screen name="modal" options={{ presentation: "modal" }} />
</Stack>
);
}
Tab Navigation
// app/(tabs)/_layout.tsx
import { Tabs } from "expo-router";
import { Ionicons } from "@expo/vector-icons";
export default function TabLayout() {
return (
<Tabs screenOptions={{ tabBarActiveTintColor: "#007AFF" }}>
<Tabs.Screen name="index" options={{
title: "Home",
tabBarIcon: ({ color }) => <Ionicons name="home" size={24} color={color} />,
}} />
<Tabs.Screen name="explore" options={{
title: "Explore",
tabBarIcon: ({ color }) => <Ionicons name="compass" size={24} color={color} />,
}} />
<Tabs.Screen name="profile" options={{
title: "Profile",
tabBarIcon: ({ color }) => <Ionicons name="person" size={24} color={color} />,
}} />
</Tabs>
);
}
Navigation and Dynamic Routes
import { Link, router, useLocalSearchParams } from "expo-router";
// Declarative: <Link href="/post/hello-world">My Post</Link>
// Programmatic: router.push("/settings/account")
// app/post/[slug].tsx — Dynamic route
export default function PostScreen() {
const { slug } = useLocalSearchParams<{ slug: string }>();
return <Text>{slug}</Text>;
}
Deep Linking (Automatic)
Every route gets a URL automatically. Configure the scheme in app.json:
{ "expo": { "scheme": "myapp" } }
myapp://-> Home screenmyapp://post/hello-world-> Post screenhttps://myapp.com/post/hello-world-> Same screen (universal links)
Expo SDK Modules
// Camera
import { CameraView, useCameraPermissions } from "expo-camera";
const [permission, requestPermission] = useCameraPermissions();
const photo = await cameraRef.current?.takePictureAsync();
// Push Notifications
import * as Notifications from "expo-notifications";
const token = await Notifications.getExpoPushTokenAsync({ projectId: "your-id" });
// Secure Storage
import * as SecureStore from "expo-secure-store";
await SecureStore.setItemAsync("token", "jwt-abc123");
EAS Build, Submit, and Update
npm install -g eas-cli
eas build:configure
eas build --platform ios # Cloud build -> .ipa
eas build --platform android # Cloud build -> .aab
eas submit --platform ios # App Store Connect
eas submit --platform android # Google Play Console
eas update --branch production --message "Bug fix" # OTA update
Examples
Example 1: Social app with tabs, stacks, and modals
User prompt: "Set up navigation for a social app — tabs for feed/search/profile, stack for post details, and modal for creating posts."
The agent creates a tab layout in app/(tabs)/_layout.tsx, nested stack routes for post details, and a modal route with presentation: "modal". Deep linking works automatically for every route.
Example 2: Ship an urgent bug fix via OTA update
User prompt: "Push an urgent fix to production without app store review."
The agent fixes the JavaScript code, runs eas update --channel production, verifies the update fingerprint ensures no native code changes, and monitors rollout with rollback available if issues arise.
Guidelines
- File = route —
app/about.tsxbecomes/about _layout.tsxfor navigation containers (Stack, Tabs, Drawer)(group)for route groups — organize without affecting URL[param]for dynamic routes — access viauseLocalSearchParams- Deep linking is automatic — every route has a URL
- Use
expo-imageoverImagefor better caching and modern format support - Store secrets in
expo-secure-store, never AsyncStorage - Use config plugins instead of ejecting to keep managed workflow
- Use development builds for custom native modules (Expo Go cannot run them)
- Use EAS Build for reproducible cross-platform builds without local Xcode/Android Studio
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/expo-react-native-development-msl9ceuf' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/expo-react-native-development-msl9ceuf/download' --output '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md.part' && mv '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md.part' '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Environment declared by the author: Expo SDK 50+, Node.js 18+. iOS, Android, Web.
Original excerpt: Setup
npx create-expo-app@latest my-app --template tabs
cd my-app && npx expo start
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md' && test -s '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/expo' && cp -R '.skill-downloads/expo-react-native-development-msl9ceuf' '.claude/skills/expo'Cursor
test -f '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md' && test -s '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/expo' && cp -R '.skill-downloads/expo-react-native-development-msl9ceuf' '.cursor/skills/expo'Codex
test -f '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md' && test -s '.skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/expo' && cp -R '.skill-downloads/expo-react-native-development-msl9ceuf' '.agents/skills/expo'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/expo-react-native-development-msl9ceuf'openskills read 'expo-react-native-development-msl9ceuf'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/expo-react-native-development-msl9ceuf/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.