Rspack V2 Upgrade
Step-by-step guide for upgrading a Rspack 1.x project to v2, covering dependencies and config changes.
- CCM score
- 48 of 100
- skills.sh installs
- 545
- GitHub stars
- 101
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the upgrade workflow: confirming the current setup, planning changes, updating packages, applying config edits, and validating
- Upgrades
@rspack/core,@rspack/cli,@rspack/dev-server, and@rspack/plugin-react-refreshto v2 and points to the official migration guide as the reference - Directs the agent to find
rspack.configfiles andpackage.json, then remove deprecated, renamed, or unsupported options - Designed for projects moving from Rspack 1.x to v2 that need breaking changes mapped against their own plugins and config
Install
$ npx -y skills add rstackjs/agent-skills --skill rspack-v2-upgrade -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rspack 1.x to v2 upgrade
Workflow
-
Confirm current setup
- Read
package.jsonto identify Rspack packages in use. - Locate the Rspack config file (commonly
rspack.config.(ts|js|mjs|cjs)).
- Read
-
Open the official migration guide
- Use the official guide as the single source of truth:
-
Plan required changes
- 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
- Upgrade Rspack packages to v2:
@rspack/core,@rspack/cli,@rspack/dev-server,@rspack/plugin-react-refresh.
- Upgrade Rspack packages to v2:
-
Apply migration changes
- Update the Rspack config and related code according to the official guide.
- Remove deprecated or unsupported options.
-
Validate
- Run 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, Technical Documentation
- First seen
- Jun 3, 2026
Questions
What does the rspack-v2-upgrade skill do?
The rspack-v2-upgrade skill helps an agent upgrade a Rspack 1.x project to v2. It reads the project's package.json and Rspack config, follows the official migration guide, updates the Rspack packages, and then validates the build with build, dev, and test runs.
Which packages does the rspack-v2-upgrade skill update?
The skill upgrades @rspack/core, @rspack/cli, @rspack/dev-server, and @rspack/plugin-react-refresh to v2. It also updates the Rspack config and related code according to the official guide, removing deprecated or unsupported options.
How do I install the rspack-v2-upgrade skill?
Run npx -y skills add rstackjs/agent-skills --skill rspack-v2-upgrade -y in your project. This installs the skill so your agent can use it for Rspack 1.x to v2 upgrades.
Where does rspack-v2-upgrade stand in the Frontend & UI Code category?
On Claude Marketplaces, rspack-v2-upgrade is listed in the Frontend & UI Code category alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. It stands apart by focusing narrowly on the Rspack 1.x to v2 upgrade path.
More from rstackjs/agent-skills
All 12Similar to Rspack V2 Upgrade
More Frontend & UI Codersbuild-v2-upgradeSkillrstackjs/agent-skills513 installsStep-by-step guide for upgrading a Rsbuild 1.x project to v2, covering dependencies and config changes.
migrate-to-rsbuildSkillrstackjs/agent-skills352 installsMigration skill that moves webpack, Vite, CRA/CRACO, or Vue CLI projects to Rsbuild with minimal behavior changes.
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-skills731 installsUpgrade and scaffold Next.js 16 projects using the official upgrade guide and codemod workflow.
upgrade-react-nativeSkillreact-native-community/skills1.3K installsStep-by-step procedure that upgrades a React Native project by applying the official version diff.
dependency-upgradeSkillwshobson/agents11.9K installsStructured plan for major dependency upgrades that covers audits, staged updates, and testing.