Rsbuild V2 Upgrade
Step-by-step guide for upgrading a Rsbuild 1.x project to v2, covering dependencies and config changes.
- CCM score
- 54 of 100
- skills.sh installs
- 505
- GitHub stars
- 101
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full upgrade flow: reading the current setup, planning breaking changes, updating dependencies, and validating the build
- Points to the official v1-to-v2 migration guide as the source of truth for breaking changes and removed or renamed options
- Runs
npx taze major --include /rsbuild/ -w -rto bump Rsbuild plugins, alongside@rsbuild/coreto v2 - Designed for projects that use
rsbuild.configfiles and need to fix build, dev, and type-check errors after the upgrade
Install
$ npx -y skills add rstackjs/agent-skills --skill rsbuild-v2-upgrade -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rsbuild v1 to v2 upgrade
Workflow
-
Confirm current setup
- Read
package.jsonto identify Rsbuild and plugin packages in use. - Locate the Rsbuild config file (commonly
rsbuild.config.(ts|js|mjs|cjs)).
- Read
-
Open the official upgrade guide
- Use the v1 → v2 guide as the source of truth:
-
Plan the upgrade path
- Compare the current project config with the migration guide.
- List breaking changes that apply to the project’s current config and plugins.
- Note any removed or renamed options, defaults, or plugin APIs.
-
Update dependencies
- Bump
@rsbuild/coreto v2 - Bump Rsbuild plugins to latest versions via
npx taze major --include /rsbuild/ -w -r
- Bump
-
Apply config and code changes
- Update the Rsbuild config to match v2 options and defaults.
- Remove deprecated or unsupported settings.
-
Validate
- Run the build and dev commands.
- Run project tests or type checks.
- Fix any warnings or errors surfaced by the new version.
Details
- Repository
- github.com/rstackjs/agent-skills
- Categories
- Frontend & UI Code, CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the rsbuild-v2-upgrade skill do?
rsbuild-v2-upgrade guides an agent through upgrading a Rsbuild 1.x project to v2. It reads package.json and the Rsbuild config, follows the official v1 to v2 upgrade guide, bumps @rsbuild/core and plugins, then applies config changes and checks the build.
How do I install the rsbuild-v2-upgrade skill?
Run npx -y skills add rstackjs/agent-skills --skill rsbuild-v2-upgrade -y in your project. Once installed, rsbuild-v2-upgrade lets your agent upgrade a Rsbuild 1.x project to v2 with dependency and configuration updates.
Which skills are listed beside rsbuild-v2-upgrade in Frontend & UI Code?
rsbuild-v2-upgrade sits in the Frontend & UI Code category next to vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. Its focus is narrower than those, covering only the Rsbuild v1 to v2 migration.
More from rstackjs/agent-skills
All 12Similar to Rsbuild V2 Upgrade
More Frontend & UI Coderspack-v2-upgradeSkillrstackjs/agent-skills537 installsStep-by-step guide for upgrading a Rspack 1.x project to v2, covering dependencies and config changes.
migrate-to-rsbuildSkillrstackjs/agent-skills343 installsMigration skill that moves webpack, Vite, CRA/CRACO, or Vue CLI projects to Rsbuild with minimal behavior changes.
dependency-upgradeSkillwshobson/agents11.8K installsStructured plan for major dependency upgrades that covers audits, staged updates, and testing.
upgrade-react-nativeSkillreact-native-community/skills1.3K installsStep-by-step procedure that upgrades a React Native project by applying the official version diff.
dsh-plugin-upgrade-skillPluginoh-my-dsh/dsh-plugin-upgrade-skill322 starsSafely upgrade DeepSeek Harness plugins with breaking change guides, migration recipes, and real-world examples from community practice
nextjs16-skillsSkillgocallum/nextjs16-agent-skills727 installsUpgrade and scaffold Next.js 16 projects using the official upgrade guide and codemod workflow.