react-sync
Screenshots
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "react-sync" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0a13f08046ce53c916f088864d27db183c933fc7b26d9f0c2c4d55408386f295. Verify the upstream source and version against https://github.com/vercel/next.js before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Explains how to build local React changes into the bundle variant used by Next.js, sync them into a local Next.js repo, and test the integration results. Applicable when you need to verify how React changes behave in Next.js or when asked to run buildForNext, pnpm sync-react, or otherwise sync the React repo with Next.js. Metadata: internal: true.
Introduction source: third_party · vercel · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Use this skill when syncing a local React checkout into this Next.js checkout.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: react-sync
description: >
Build local React changes in the bundle variants consumed by Next.js, sync
them into a local Next.js checkout, and test the resulting integration. Use
when working on React changes that need validation in Next.js, or when asked
to run buildForNext, pnpm sync-react, or synchronize a React checkout with
Next.js.
metadata:
internal: trueSync React to Next.js
Use this skill when syncing a local React checkout into this Next.js checkout.
Build and sync
-
Build React from its own checkout. Pass this skill's script by its absolute path, because the working directory must be the React repository.
cd <react-repo> bash <next-repo>/.agents/skills/react-sync/scripts/build-for-next.shThis creates
build/oss-stableandbuild/oss-experimentalwith the bundle variants that Next.js consumes. -
Sync the build into Next.js:
cd <next-repo> PATH="$(dirname "$(command -v corepack)"):$PATH" \ pnpm sync-react --version <react-repo>Work around a Codex
PATH-precedence bug by keeping the directory containing the active Corepack shim first onPATH. Codex injects a separate bundledpnpmexecutable ahead of the user's Corepack shim, and command lookup happens before Corepack reads the repository'spackageManagerfield. The prefix makes both this command andsync-react's nestedpnpm installresolve through Corepack to the repository-pinned pnpm version. Invoking only the outer command withcorepack pnpmis insufficient because the nested command still resolvespnpmfromPATH. -
Inspect the sync result before testing. Preserve unrelated changes in both checkouts. Rebuild Next.js when required, then run the focused test command matching the changed behavior.
Related Skills
$react-vendoring- vendored React runtime and type boundaries after syncing.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 明确解决 React 与 Next.js 集成验证的核心开发痛点
- 适用于高频内部开发场景,实用性强
Highlights
- 触发词覆盖完整,边界清晰,包含多种变体(buildForNext、pnpm sync-react)
Highlights
- 步骤划分清晰,包含端到端示例和具体命令
- frontmatter 完整,文档结构规范
Highlights
- 工具来源明确,参数正确,覆盖主要异常场景
- 包含同步结果检查机制,确保操作安全
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.