Expo Workflow Expert
Expert in the Expo managed workflow including EAS Build/Submit/Update, config plugins, custom dev clients, and Expo Router.
Activation Triggers
Activate on: "Expo project", "EAS Build", "EAS Submit", "EAS Update", "config plugin", "expo-dev-client", "Expo Router", "Expo SDK 52", "app.json config", "expo prebuild"
NOT for: Bare React Native → react-native-architect | Native module authoring → react-native-architect | Flutter → flutter-bloc-state-manager
Quick Start
- Create project —
npx create-expo-app@latest my-app
- Configure app.json — set bundle IDs, versioning, splash screen, icons
- Set up EAS —
npx eas init and configure eas.json for build profiles
- Add Expo Router — file-based routing with typed routes
- Create dev client —
npx eas build --profile development for custom native builds
Core Capabilities
| Domain |
Technologies |
| Build |
EAS Build, local builds (npx expo run:ios/android), prebuild |
| Updates |
EAS Update (OTA), update groups, channels, rollbacks |
| Submit |
EAS Submit to App Store Connect and Google Play Console |
| Routing |
Expo Router 4, file-based routing, API routes, typed routes |
| Config |
Config plugins, app.json/app.config.ts, Expo Modules API |
Architecture Patterns
EAS Build Profile Configuration
{
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"ios": {
"simulator": true
}
},
"preview": {
"distribution": "internal",
"channel": "preview"
},
"production": {
"channel": "production",
"autoIncrement": true
}
},
"submit": {
"production": {
"ios": {
"appleId": "team@example.com",
"ascAppId": "123456789",
"appleTeamId": "ABCDE12345"
},
"android": {
"serviceAccountKeyPath": "./google-services.json",
"track": "internal"
}
}
}
}
EAS Update Strategy (OTA Updates)
Production Channel:
├─ Branch: production
├─ Update: JS-only changes ship instantly (no binary rebuild)
└─ Rollback: `eas update:rollback --channel production`
Preview Channel:
├─ Branch: staging
├─ Internal testers get latest changes
└─ QA before promoting to production
Flow:
Code change → Is it JS-only?
├─ YES → eas update --channel production --message "fix: ..."
│ (Users get update in < 1 minute, no store review)
└─ NO (native change) → eas build + eas submit
(Full store review cycle)
Config Plugin for Native Customization
// plugins/withCustomSplash.ts
import { ConfigPlugin, withAndroidManifest } from 'expo/config-plugins';
const withCustomSplash: ConfigPlugin = (config) => {
return withAndroidManifest(config, async (modConfig) => {
const mainApplication = modConfig.modResults.manifest.application?.[0];
if (mainApplication) {
// Add custom meta-data to AndroidManifest.xml
mainApplication['meta-data'] = mainApplication['meta-data'] || [];
mainApplication['meta-data'].push({
$: {
'android:name': 'expo.modules.splashscreen.SplashScreenImageResizeMode',
'android:value': 'contain',
},
});
}
return modConfig;
});
};
export default withCustomSplash;
// app.config.ts — use the plugin
export default {
plugins: [
'./plugins/withCustomSplash',
['expo-camera', { cameraPermission: 'Allow camera for scanning' }],
],
};
Anti-Patterns
- Ejecting unnecessarily — reaching for
expo eject when a config plugin would suffice. Since Expo SDK 50+, the "managed vs bare" distinction is gone; use npx expo prebuild with config plugins.
- OTA updates for native changes — shipping native module changes via EAS Update. Only JS bundle changes work with OTA; native changes require a new binary build.
- Not using development builds — testing in Expo Go which lacks custom native modules. Create a development build (
expo-dev-client) for full-fidelity testing.
- Hardcoded app.json — static config when dynamic values are needed. Use
app.config.ts for environment-specific bundle IDs, API URLs, and feature flags.
- Skipping update channels — publishing all updates to one channel. Use separate channels (development, preview, production) for staged rollout.
Quality Checklist
[ ] app.config.ts used (not static app.json) for dynamic configuration
[ ] EAS Build configured with development, preview, and production profiles
[ ] EAS Update channels match build profiles
[ ] Development build created (not relying on Expo Go)
[ ] Config plugins used for native customization (no manual native edits)
[ ] Expo Router with typed routes enabled
[ ] Auto-increment build numbers in production profile
[ ] EAS Submit configured for both App Store and Google Play
[ ] OTA updates tested with preview channel before production
[ ] Rollback procedure documented and tested
[ ] Bundle size monitored (expo-optimize for image compression)
[ ] Expo SDK on latest stable version
1---
2license: Apache-2.0
3name: expo-workflow-expert
4description: "Expo managed workflow expert for EAS Build, Submit, Update, config plugins, and custom dev clients. Activate on: Expo project, EAS Build, EAS Update, config plugin, expo-dev-client, Expo Router, Expo SDK 52, app.json configuration. NOT for: bare React Native (use react-native-architect), native module authoring (use react-native-architect), Flutter (use flutter-bloc-state-manager)."
5allowed-tools: Read,Write,Edit,Bash(docker:*,kubectl:*,terraform:*,npm:*,npx:*)
6category: Mobile Development
7tags:
8 - expo
9 - react-native
10 - eas
11 - mobile
12pairs-with:
13 - skill: react-native-architect
14 reason: Expo builds on React Native; this skill handles the Expo-specific layer
15 - skill: app-store-submission-automator
16 reason: EAS Submit handles store submission that this skill configures
17metadata:
18 source: https://skillmd.com/skills/curiositech/expo-workflow-expert
19---
20
21# Expo Workflow Expert
22
23Expert in the Expo managed workflow including EAS Build/Submit/Update, config plugins, custom dev clients, and Expo Router.
24
25## Activation Triggers
26
27**Activate on:** "Expo project", "EAS Build", "EAS Submit", "EAS Update", "config plugin", "expo-dev-client", "Expo Router", "Expo SDK 52", "app.json config", "expo prebuild"
28
29**NOT for:** Bare React Native → `react-native-architect` | Native module authoring → `react-native-architect` | Flutter → `flutter-bloc-state-manager`
30
31## Quick Start
32
331. **Create project** — `npx create-expo-app@latest my-app`
342. **Configure app.json** — set bundle IDs, versioning, splash screen, icons
353. **Set up EAS** — `npx eas init` and configure `eas.json` for build profiles
364. **Add Expo Router** — file-based routing with typed routes
375. **Create dev client** — `npx eas build --profile development` for custom native builds
38
39## Core Capabilities
40
41| Domain | Technologies |
42|--------|-------------|
43| **Build** | EAS Build, local builds (`npx expo run:ios/android`), prebuild |
44| **Updates** | EAS Update (OTA), update groups, channels, rollbacks |
45| **Submit** | EAS Submit to App Store Connect and Google Play Console |
46| **Routing** | Expo Router 4, file-based routing, API routes, typed routes |
47| **Config** | Config plugins, app.json/app.config.ts, Expo Modules API |
48
49## Architecture Patterns
50
51### EAS Build Profile Configuration
52
53```json
54{
55 "build": {
56 "development": {
57 "developmentClient": true,
58 "distribution": "internal",
59 "ios": {
60 "simulator": true
61 }
62 },
63 "preview": {
64 "distribution": "internal",
65 "channel": "preview"
66 },
67 "production": {
68 "channel": "production",
69 "autoIncrement": true
70 }
71 },
72 "submit": {
73 "production": {
74 "ios": {
75 "appleId": "team@example.com",
76 "ascAppId": "123456789",
77 "appleTeamId": "ABCDE12345"
78 },
79 "android": {
80 "serviceAccountKeyPath": "./google-services.json",
81 "track": "internal"
82 }
83 }
84 }
85}
86```
87
88### EAS Update Strategy (OTA Updates)
89
90```
91Production Channel:
92 ├─ Branch: production
93 ├─ Update: JS-only changes ship instantly (no binary rebuild)
94 └─ Rollback: `eas update:rollback --channel production`
95
96Preview Channel:
97 ├─ Branch: staging
98 ├─ Internal testers get latest changes
99 └─ QA before promoting to production
100
101Flow:
102 Code change → Is it JS-only?
103 ├─ YES → eas update --channel production --message "fix: ..."
104 │ (Users get update in < 1 minute, no store review)
105 └─ NO (native change) → eas build + eas submit
106 (Full store review cycle)
107```
108
109### Config Plugin for Native Customization
110
111```typescript
112// plugins/withCustomSplash.ts
113import { ConfigPlugin, withAndroidManifest } from 'expo/config-plugins';
114
115const withCustomSplash: ConfigPlugin = (config) => {
116 return withAndroidManifest(config, async (modConfig) => {
117 const mainApplication = modConfig.modResults.manifest.application?.[0];
118 if (mainApplication) {
119 // Add custom meta-data to AndroidManifest.xml
120 mainApplication['meta-data'] = mainApplication['meta-data'] || [];
121 mainApplication['meta-data'].push({
122 $: {
123 'android:name': 'expo.modules.splashscreen.SplashScreenImageResizeMode',
124 'android:value': 'contain',
125 },
126 });
127 }
128 return modConfig;
129 });
130};
131
132export default withCustomSplash;
133
134// app.config.ts — use the plugin
135export default {
136 plugins: [
137 './plugins/withCustomSplash',
138 ['expo-camera', { cameraPermission: 'Allow camera for scanning' }],
139 ],
140};
141```
142
143## Anti-Patterns
144
1451. **Ejecting unnecessarily** — reaching for `expo eject` when a config plugin would suffice. Since Expo SDK 50+, the "managed vs bare" distinction is gone; use `npx expo prebuild` with config plugins.
1462. **OTA updates for native changes** — shipping native module changes via EAS Update. Only JS bundle changes work with OTA; native changes require a new binary build.
1473. **Not using development builds** — testing in Expo Go which lacks custom native modules. Create a development build (`expo-dev-client`) for full-fidelity testing.
1484. **Hardcoded app.json** — static config when dynamic values are needed. Use `app.config.ts` for environment-specific bundle IDs, API URLs, and feature flags.
1495. **Skipping update channels** — publishing all updates to one channel. Use separate channels (development, preview, production) for staged rollout.
150
151## Quality Checklist
152
153```
154[ ] app.config.ts used (not static app.json) for dynamic configuration
155[ ] EAS Build configured with development, preview, and production profiles
156[ ] EAS Update channels match build profiles
157[ ] Development build created (not relying on Expo Go)
158[ ] Config plugins used for native customization (no manual native edits)
159[ ] Expo Router with typed routes enabled
160[ ] Auto-increment build numbers in production profile
161[ ] EAS Submit configured for both App Store and Google Play
162[ ] OTA updates tested with preview channel before production
163[ ] Rollback procedure documented and tested
164[ ] Bundle size monitored (expo-optimize for image compression)
165[ ] Expo SDK on latest stable version
166```