skills/react-native-brownfield-migration/SKILL.md
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.
npx skillsauth add callstackincubator/agent-skills react-native-brownfield-migrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill only after the decision to adopt brownfield migration has been made. When the user is still choosing between brownfield, greenfield, a checkpoint-based path, defer, or no migration, use assess-react-native-migration first.
Prescriptive workflow for incremental adoption of React Native in existing native apps using @callstack/react-native-brownfield, from initial setup through phased host integration.
Use one track per task unless the user explicitly asks for migration or comparison.
Use this strategy for brownfield migration planning and execution:
@callstack/react-native-brownfield.XCFramework/AAR) from the RN source app.Apply these rules across all reference files:
<framework_target_name>, <android_module_name>, <registered_module_name>) and resolve from project files.agent-device to open the host app, navigate to the RN surface, capture snapshots/screenshots, and collect device evidence. If it is missing and verification needs it, install it through the environment's approved/trusted path or ask the user to install or enable it.Before selecting any reference file, classify the project:
package.json and app.json:
expo is present or Expo plugin workflow is requested.Reference this package when:
@callstack/react-native-brownfield| File | Description | |------|-------------| | quick-start.md | Shared preflight and mandatory path-selection gate | | expo-create-app.md | Scaffold a new Expo app before Expo brownfield setup | | expo-quick-start.md | Expo plugin setup and packaging readiness | | expo-ios-integration.md | Expo iOS packaging and host startup integration | | expo-android-integration.md | Expo Android packaging, publish, and host integration | | bare-quick-start.md | Bare React Native baseline setup | | bare-ios-xcframework-generation.md | Bare iOS XCFramework generation | | bare-android-aar-generation.md | Bare Android AAR generation and publish | | bare-ios-native-integration.md | Bare iOS host integration | | bare-android-native-integration.md | Bare Android host integration |
| Problem | Start With | |---------|------------| | Need migration path decision first | assess-react-native-migration | | Need Expo vs bare path decision | quick-start.md | | Need to create a new Expo app for brownfield | expo-create-app.md | | Need Expo brownfield setup and plugin wiring | expo-quick-start.md | | Need Expo iOS brownfield integration | expo-ios-integration.md | | Need Expo Android brownfield integration | expo-android-integration.md | | Need bare RN baseline setup | bare-quick-start.md | | Need bare RN iOS XCFramework generation | bare-ios-xcframework-generation.md | | Need bare RN Android AAR generation/publish | bare-android-aar-generation.md | | Need bare RN iOS host integration | bare-ios-native-integration.md | | Need bare RN Android host integration | bare-android-native-integration.md |
tools
Assesses whether and how an existing mobile product should migrate to React Native. Use when auditing one or more product repositories for migration readiness, including products whose iOS, Android, and other clients live in separate directories or repositories; choosing brownfield, greenfield, or a checkpoint-based path; defining a representative trial; or preparing a baseline and ROI decision before implementation. When product scope or material evidence is unavailable, grills the stakeholder with exactly one question per turn instead of sending a questionnaire.
development
Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.
development
Reviews React Native TV apps for focus/D-pad navigation, 10-foot UI layout, TV playback/DRM integration, low-memory TV performance, and TV accessibility. Use when building, debugging, or reviewing react-native-tvos, Expo TV, Amazon Vega/Kepler, or React Native web TV targets where the issue depends on remote input, TV focus, TV packaging, TV hardware, or TV playback constraints.
development
Provides React Navigation UI patterns for stacks, tabs, drawers etc. Use when building navigation UIs with React Navigation, configuring headers, bottom sheets or handling safe areas and insets.