
React native brownfield migration
Guides an agent through moving native iOS or Android apps to React Native incrementally
React native brownfield migration is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 1.7K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About React native brownfield migration
This skill walks an agent through executing a brownfield migration that has already been chosen, adding React Native screens to an existing native iOS or Android host app rather than rewriting it. It covers choosing between the Expo and bare React Native setups, initial setup with the @callstack/react-native-brownfield package, and packaging the React Native code as XCFramework or AAR artifacts.
The workflow is phased: pick one path and stick to it, validate each packaging command before touching the host app, then integrate a single React Native surface and check startup and runtime behaviour before repeating the process feature by feature. The skill points the agent to the brownfield CLI help output for current flags and to a shared configuration file so project settings are written once.
The agent is expected to work from the project's package.json and app.json to classify the app, and it may use the agent-device tool to open the host app and capture device evidence during verification. Reference files cover iOS and Android host integration for both Expo and bare projects.
When your agent uses it
Implements an accepted incremental brownfield migration from native iOS or Android to React Native or Expo using @callstack/react-native-brownfield. Use after the brownfield path has been selected, when setting up the integration, packaging XCFramework or AAR artifacts, or adding React Native surfaces to native hosts.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 14 files (67 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/react-native-brownfield-migration to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/react-native-brownfield-migration &&
cp -R "$tmp/skills/react-native-brownfield-migration" ~/.claude/skills/react-native-brownfield-migration &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/react-native-brownfield-migration inside it instead.
Copy the skill folder to ~/.agents/skills/react-native-brownfield-migration to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/react-native-brownfield-migration &&
cp -R "$tmp/skills/react-native-brownfield-migration" ~/.agents/skills/react-native-brownfield-migration &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/react-native-brownfield-migration inside it instead.
Copy the skill folder to ~/.cursor/skills/react-native-brownfield-migration to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/react-native-brownfield-migration &&
cp -R "$tmp/skills/react-native-brownfield-migration" ~/.cursor/skills/react-native-brownfield-migration &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/react-native-brownfield-migration inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/callstackincubator/agent-skills.git --path skills/react-native-brownfield-migrationOr copy the folder to ~/.gemini/skills/react-native-brownfield-migration yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/react-native-brownfield-migration:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/react-native-brownfield-migration &&
cp -R "$tmp/skills/react-native-brownfield-migration" ~/.copilot/skills/react-native-brownfield-migration &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/react-native-brownfield-migration inside it instead.
Get the folder:
git clone --depth 1 https://github.com/callstackincubator/agent-skills.gitThen copy agent-skills/skills/react-native-brownfield-migration into your agent's skills folder as react-native-brownfield-migration. Agents that support SKILL.md read one folder per skill.
What it does
- Expo or bare path selection
- Classifies the project as Expo or bare React Native and directs the agent to the matching set of reference steps.
- Brownfield package setup
- Covers initial installation and configuration of @callstack/react-native-brownfield in the React Native source app.
- XCFramework and AAR packaging
- Explains generating iOS XCFramework and Android AAR artifacts from the React Native app, including publishing AARs.
- Host app integration
- Provides separate guidance for embedding React Native surfaces into iOS and Android native host apps.
- CLI and config reference
- Points to brownfield CLI commands, a config file shape and artifact layout, and advises checking help output before relying on flags.
- Device verification
- Describes using agent-device to launch the host app, navigate to the React Native screen and capture evidence.
Good for
- Set up @callstack/react-native-brownfield in an Expo project
- Generate an XCFramework from a React Native app for an iOS host
- Package and publish an Android AAR for an existing Android app
- Add a React Native screen to a native iOS host and verify startup
- Wire a bare React Native project into an existing Android app
React native brownfield migration FAQ
When should I use React native brownfield migration instead of the assessment skill?
Use it only after the decision to adopt brownfield migration has been made. If the choice between brownfield, greenfield or other paths is still open, the skill directs you to the assess-react-native-migration skill first.
Does React native brownfield migration support both Expo and bare React Native projects?
Yes. It has separate tracks for Expo and bare React Native, and the agent should follow only one path per task.
Does React native brownfield migration run scripts or change files automatically?
The repository has no scripts in this skill folder. It instructs the agent on commands and file edits to perform during setup and packaging.
Which tools does React native brownfield migration need for verification?
For startup and runtime checks it uses agent-device, which the agent may install through an approved path or ask the user to install.
How do I install React native brownfield migration in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/react-native-brownfield-migration to use it in all your projects, or to .claude/skills/react-native-brownfield-migration in one project.
Does React native brownfield migration run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use React native brownfield migration?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to React native brownfield migration?
The closest alternatives to React native brownfield migration are Expo brownfield, Upgrading react native, Assess react native migration, Expo web to native and Expo upgrade.
Where this comes from
- Description: from the skill's own SKILL.md.
More from callstackincubator/agent-skills

Checks the repo's skills against the agentskills.io spec and Claude Code guidelines
- Open source
- 1.7K GitHub stars
- Developer tools

Lets an agent drive iOS, tvOS, macOS and Android apps via snapshots and taps
- Open source
- 1.7K GitHub stars
- Browser automation

Guides an agent through exploratory QA of a mobile app with evidence-backed bug reports
- Open source
- 1.7K GitHub stars
- Developer tools

Guides writing React Native component tests with React Native Testing Library v13 and v14
- Open source
- 1.7K GitHub stars
- Developer tools

Guides a go/no-go decision on moving a mobile product to React Native
- Open source
- 1.7K GitHub stars
- Developer tools

Scaffolds React Native libraries and local native modules with create-react-native-library
- Open source
- 1.7K GitHub stars
- Developer tools


