expo-brownfield
Skill by expo
Expo Brownfield guides adding Expo and React Native to an existing native iOS or Android app. It is for teams embedding a React Native screen in SwiftUI, UIKit, or Kotlin, or packaging AAR or XCFramework artifacts.
Install expo-brownfield
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-brownfield ~/.claude/skills/expo-brownfieldRun 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-brownfield ~/.gemini/antigravity-cli/skills/expo-brownfieldAntigravity 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 helps an assistant integrate Expo and React Native into an existing native iOS or Android app, a setup the source calls brownfield. It starts by inspecting the host app's entry point, navigation, build system, and React Native runtime, and it records the installed Expo, React Native, and brownfield package versions from the lockfile. It then chooses between two approaches. The isolated approach ships a prebuilt AAR or XCFramework. The integrated approach adds React Native sources to the existing Gradle and CocoaPods builds.
The skill also covers passing input to a React Native screen, returning results to native code, dismissing the screen, and checking listener cleanup. It asks for verification in a Release build with Metro stopped. It is for native and mobile teams that want to adopt React Native incrementally. The source says that purely native apps that only need EAS Build or Submit should use the eas-app-stores skill instead.
Written from the project's SKILL.md and checked against it.
What it can do
- Inspect the host appIdentifies the entry point, navigation owner, build system, deployment targets, and any linked React Native runtime.
- Choose an approachPicks isolated (AAR or XCFramework) or integrated (Gradle and CocoaPods) based on team ownership and release cadence.
- Isolated integrationBuilds React Native as an AAR or XCFramework and consumes it from the native app.
- Integrated setupAdds React Native and Expo directly to existing Gradle and CocoaPods builds while keeping the native shell.
- Feature integrationCovers passing input, returning results, dismissing the screen, cleaning up listeners, and forwarding lifecycle events.
- Version alignmentKeeps an existing Expo SDK or aligns dependencies with the agent CLI install command.
- Host verificationChecks reopening with fresh input and the host's navigation, then a Release build with Metro stopped.
What you need
- Node.js (LTS)
- The project's package manager and lockfile (npm, Yarn, pnpm, or Bun)
- Xcode for iOS builds
- CocoaPods for the integrated iOS build
Try asking
- Embed a React Native settings screen in my SwiftUI app
- Package my React Native module as an AAR for our Android team
- Compare isolated and integrated Expo brownfield setups for my project
Good to know
- Do not run prebuild in a manually maintained native host.
- Rendering only in Expo Go or the example app does not validate the integration.
- Purely native apps that only need EAS Build or Submit are routed to eas-app-stores.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/expo/skills/expo-brownfield/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml420 B -
references/brownfield-integrated.md22 KB -
references/brownfield-isolated.md22 KB -
references/comparison.md7 KB
Show all 8 files
-
references/feature-integration.md10 KB -
references/troubleshooting.md8 KB -
references/version-compatibility.md4 KB
Alternatives to expo-brownfield
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-brownfield: common questions
When should I choose the isolated approach?
Choose isolated when the native team must consume React Native as a regular library dependency without installing Node, Yarn, or the React Native toolchain. It also fits when the React Native and native code live in separate repositories or release on independent cadences.
When should I choose the integrated approach?
Choose integrated when one team owns both the native and React Native code and is willing to add React Native and Expo to the native project's Gradle and CocoaPods setup. The source says it suits shared build ownership.
Does this skill upgrade my Expo SDK?
No. For an existing Expo or React Native project, the source says to keep the selected SDK and not upgrade it just to follow the skill.
How do I install expo-brownfield?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is expo-brownfield free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is expo-brownfield safe to use?
It scores 90 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-brownfield?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
