expo-web-to-native
Skill by expo
Guides migration of an existing web React app to native iOS and Android apps with Expo. It is for developers porting Next.js, Vite or CRA codebases to React Native, one screen at a time.
Install expo-web-to-native
Built from the published package, never by AI.
git clone --depth 1 https://github.com/expo/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/plugins/expo/skills/expo-web-to-native ~/.claude/skills/expo-web-to-nativeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/expo/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/plugins/expo/skills/expo-web-to-native ~/.gemini/antigravity-cli/skills/expo-web-to-nativeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks an assistant through migrating a web React app to an Expo native app. It does not convert code automatically, because there is no transpiler. The work runs in steps: assess the repo into a worklist, scaffold an Expo shell, run the web UI inside DOM components on day one, then rebuild screens natively in priority order. Data, auth, storage and shipping steps route to other Expo skills.
The skill includes reference files for web-to-native idiom mappings, web UX patterns and native redesigns, and a parity check that compares the web and native apps running side by side. It also includes a goal objective for running the migration as an unattended loop. It is aimed at web developers and teams who want to turn an existing website into a mobile app.
Written from the project's SKILL.md and checked against it.
What it can do
- Assess and build a worklistReads the repo and writes migration-progress.md, sorting screens into port, nativize or hybrid buckets.
- Scaffold the Expo shellCreates an Expo app and mirrors the web routes in Expo Router, one empty screen per route.
- Day-one DOM shellRuns each web screen as a DOM component so the whole app works on a phone before any native rewrite.
- Strangle screens to nativeRedesigns high-value screens with @expo/ui and native navigation, one screen per pass.
- Wire data, auth and storageReplaces web fetching, cookie sessions, localStorage and env vars with native equivalents.
- Ship the appPoints to eas-app-stores for store builds and EAS Update for over-the-air pushes.
- Idiom mapping referenceMaps web idioms such as the DOM, CSS, React Router and window to native equivalents with gotchas.
- Parity verificationCompares running web and native apps for the same route using agent-browser and argent.
What you need
- An existing web React app (Next.js, Vite or CRA)
- Expo SDK 56 or later for Expo Go use of @expo/ui and DOM components
- agent-browser CLI for capturing the web original
- argent for driving the native simulator
Try asking
- Migrate this Next.js app to an Expo mobile app, starting with the assess step
- Write migration-progress.md for this React repo and bucket each screen
- Port the checkout page to a DOM component in my Expo shell
Good to know
- Migration is screen by screen. There is no automatic code conversion.
- Each DOM screen carries a web runtime of about 2 MB.
- Custom native modules need a dev build. Expo Go covers @expo/ui and DOM components.
- Verification depends on agent-browser and argent, which must be installed first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/expo/skills/expo-web-to-native/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
agents/openai.yaml406 B -
references/false-friends.md10 KB -
references/native-patterns.md4 KB -
references/run-as-goal.md4 KB
Show all 6 files
-
references/verify-on-device.md4 KB
Alternatives to expo-web-to-native
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
expo-web-to-native: common questions
Can a Next.js or React website be converted to React Native automatically?
No. The skill states there is no transpiler, so the app is migrated screen by screen while the rest keeps running.
Does this work with Expo Go?
The source says @expo/ui and DOM components run in Expo Go from SDK 56. A dev build is only needed for custom native modules.
Can I keep using Stripe for payments in the app?
The source says in-app digital goods must use store in-app purchases through RevenueCat, about a 30% cut, rather than Stripe, so payments are a business-model decision to make early.
How do I install expo-web-to-native?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is expo-web-to-native free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is expo-web-to-native safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to expo-web-to-native?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
