react-native-brownfield-migration
Provides an incremental adoption strategy to migrate native iOS or Android apps to React Native or Expo using @callstack/react-native-brownfield for initial setup. Use when planning migration steps, packaging XCFramework/AAR artifacts, and integrating them into host apps.
Security Assessment
Detected risks:
About react-native-brownfield-migration
The react-native-brownfield-migration skill provides a structured, incremental adoption workflow for integrating React Native or Expo into existing native iOS and Android applications. It helps teams plan and execute brownfield migration strategies using @callstack/react-native-brownfield, reducing the risk associated with full rewrites by enabling gradual feature-by-feature adoption. The skill guides users from project assessment and path selection through packaging React Native artifacts and integrating them into host applications while maintaining a controlled migration process.
Its core capabilities include migration planning, path selection between Expo and bare React Native workflows, initial setup with @callstack/react-native-brownfield, packaging React Native deliverables as XCFrameworks for iOS and AAR artifacts for Android, and integrating React Native surfaces into existing native applications. The skill also enforces migration guardrails such as selecting a single migration path, validating packaging steps before integration, using documented placeholders, preferring official documentation for platform-specific details, and keeping host applications isolated from direct React Native APIs when practical. It additionally supports startup and runtime verification through device-based validation workflows.
This skill is intended for mobile developers, platform engineers, technical leads, and teams responsible for modernizing existing native applications. Common use cases include planning phased migrations from native-only applications, introducing React Native into established mobile products, creating brownfield integration architectures, packaging reusable React Native artifacts for distribution, and incrementally rolling out React Native-powered screens or features without disrupting existing native functionality.
FAQ
When should I use this skill?
Use it when planning or executing an incremental migration from an existing native iOS or Android application to React Native or Expo, including artifact packaging and host-app integration.
Does the skill support both Expo and bare React Native projects?
Yes. It supports both Expo and bare React Native migration tracks, but a single path should be selected and followed for each migration task.
What packaging formats are covered?
The workflow includes generating XCFramework artifacts for iOS and AAR artifacts for Android from the React Native source application.
Can Expo and bare React Native steps be combined in the same migration workflow?
No. The documented guidance requires selecting one path first and avoiding mixing Expo and bare React Native steps within the same task.
What information is needed before starting migration planning?
The project must first be classified to determine whether an Expo or bare React Native path is appropriate. This may involve checking existing project files such as package.json and app.json or identifying whether a React Native application already exists.
All Files
12 filesInstall react-native-brownfield-migration
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
callstackincubator/agent-skills