What problem does it solve?
Validating React changes against Next.js requires building React's bundle variants and syncing them into the Next.js repository, a multi-step process that is easy to get wrong due to PATH resolution and Corepack quirks.
Core Features & Use Cases
- Automated React Build: Runs the React rollup build script to produce stable and experimental bundle variants consumed by Next.js.
- Repository Sync: Copies the built React artifacts into the Next.js checkout using the
pnpm sync-react command.
- PATH Workaround: Handles a Codex Corepack PATH-precedence bug so the repository-pinned pnpm version is used for both the outer and nested install commands.
- Use Case: When you modify React internals and need to verify the changes integrate correctly with Next.js, run this skill to build React, sync it into Next.js, and execute the focused tests.
Quick Start
Use the react-sync skill to build my local React checkout and sync the bundles into the Next.js repository for integration testing.