microsoft/react-native-windows/rnw-integration
Claude Code and agent skill by microsoft/react-native-windows
- vendor
Checking that the SKILL.md file is still in the repository.
Automate React Native Windows integration with upstream React Native nightly versions. Use when: upgrading RNW to a newer React Native nightly, finding target nightly versions, preparing integration PRs, updating package dependencies.
Install
npx vskill@latest install microsoft/react-native-windows/rnw-integrationSKILL.md
The same SKILL.md was published earlier as microsoft/react-native-windows/rnw-integration.
RNW Integration Automation
Automates the process of integrating React Native Windows with upstream React Native nightly builds.
When to Use
- Finding the target React Native nightly version for integration
- Upgrading RNW dependencies to a new React Native nightly
- Preparing integration pull requests
- Validating nightly version availability on npm
Procedure
Step 1: Get Current React Native Version
Extract the current react-native version from vnext/package.json:
Expected format: 0.XX.0-nightly-YYYYMMDD-<commit-hash>
After completing this step, confirm: Step 1 completed successfully.
Step 2: Parse the Current Version Date
Extract the date from the nightly version string:
After completing this step, confirm: Step 2 completed successfully.
Step 3: Calculate Target Date (+7 days)
After completing this step, confirm: Step 3 completed successfully.
Step 4: Find Nightly Version on npm
Query npm for available nightly versions around the target date:
After completing this step, confirm: Step 4 completed successfully.
Step 5: Output Summary
After completing this step, confirm: Step 5 completed successfully.
Step 6: Run Integration Script
Run the integration script with the target nightly version to update all dependencies:
This command updates all react-native and @react-native/* package references across the monorepo to the target nightly version.
After completing this step, confirm: Step 6 completed successfully.
Step 7: Search and Update Remaining package.json Files
After running the integration script, search all package.json files for any remaining references to the previous nightly version and update them:
This ensures all references to the previous nightly version are updated, including:
dependenciesdevDependenciespeerDependenciesresolutions
After completing this step, confirm: Step 7 completed successfully.
Step 8: Clean node_modules and Reinstall Dependencies
After updating all package.json files, remove all node_modules directories across the repo and perform a fresh install to ensure the dependency tree is consistent with the new versions:
Then run a fresh install at the root of the repo:
If yarn install fails (e.g., due to peer dependency mismatches or build script errors), diagnose and fix the issue:
- Peer dependency warnings: These are typically non-blocking in Yarn 4. Check if the install actually completed.
- Build script failures: Check the build log path shown in the error output. Common issues include missing type declarations or renamed modules — fix the source files causing the build error and re-run
yarn install. - Resolution conflicts: If a resolution in the root
package.jsonstill points to an old version, update it to the target nightly version.
After completing this step, confirm: Step 8 completed successfully.
Step 9: Upgrade Platform Overrides
Run the override upgrade tool to resolve conflicts in platform-specific override files:
This interactive tool helps resolve conflicts between upstream React Native changes and RNW platform overrides. It will:
- Show files with merge conflicts
- Allow you to accept upstream changes, keep local changes, or manually merge
- Update the overrides.json manifest files
After completing the upgrade, verify the overrides are valid:
After completing this step, confirm: Step 9 completed successfully.
Step 10: Commit All Changes
After completing all integration steps, commit the changes:
This creates a single commit with all the integration changes including:
- Updated package.json dependencies
- Override file upgrades
- Any auto-fixed lint issues
After completing this step, confirm: Step 10 completed successfully.
Step 11: Update Failing Overrides from Upstream
Run yarn validate-overrides to identify which folders need to be replaced with upstream versions, then download and replace them:
Verify the overrides are valid after the update:
After completing this step, confirm: Step 11 completed successfully.
Step 12: Resolve Merge Conflicts (Human-in-the-Loop)
After Steps 9-11, some override files may still contain merge conflict markers (<<<<<<<, =======, >>>>>>>). This step resolves them safely with human approval for each hunk.
NON-NEGOTIABLE CONSTRAINTS:
- Conflicts are handled hunk-by-hunk (each
<<<<<<<...=======...>>>>>>>region is one hunk) - HUMAN-IN-THE-LOOP: Do NOT apply any change automatically — ask for explicit approval for EACH hunk
- Safety exceptions:
- Some
>>>>>>>markers are intentional (e.g., E2Ereact-native-platform-overridefiles) — do not "fix" those - Leave conflicts in
flowconfig.windows.conflictuntouched
Phase 1 — Build RNW Conflict-Resolution Knowledge Base
Before resolving any conflicts, mine historical "good" RNW-fork commits for conflict-resolution patterns. Create or update references/conflict-patterns.md.
Reference commits to study:
For each commit:
- Identify files where merge conflicts were resolved
- Extract BEFORE/AFTER snippets for each resolved hunk (summarise if large)
- Categorise into reusable patterns (name + signals + anti-signals)
- Include example references (commit + file path + short diff summary)
- Include safety notes: intentional markers, flowconfig rule, E2E override markers
Phase 2 — Discover Conflicts and Split into Hunks
Scan the repository for conflict markers:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 18 Jun 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/rnw-integration/SKILL.md
Popularity
- Repository stars
- 17,325
- Repository forks
- 1,200
- 7-day trend score
- 49
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/react-native-windows/rnw-integration)