Skip to content
rstackjs avatar

Migrate To Rsbuild

Migration skill that moves webpack, Vite, CRA/CRACO, or Vue CLI projects to Rsbuild with minimal behavior changes.

CCM score
51 of 100
skills.sh installs
352
GitHub stars
101
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers detection of the source framework from package.json dependencies and config files, then framework-specific migration steps
  • Includes reference guides for webpack, Vite, CRA/CRACO, and Vue CLI, each mapping its own config and tooling to Rsbuild
  • Enforces a baseline-first order: the official Rsbuild guide is the source of truth, and custom behavior is migrated only after the baseline works
  • Designed for projects that need verification via dev server startup and build success before old dependencies and config are removed

Install

$ npx -y skills add rstackjs/agent-skills --skill migrate-to-rsbuild -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Migrate to Rsbuild

Goal

Migrate webpack, Vite, create-react-app (CRA/CRACO), or Vue CLI projects to Rsbuild with minimal behavior changes and clear verification.

Supported source frameworks

  • webpack
  • Vite
  • CRA / CRACO
  • Vue CLI

Migration principles (must follow)

  1. Official guide first: treat Rsbuild migration docs as source of truth.
  2. Smallest-change-first: complete baseline migration first, then migrate custom behavior.
  3. Do not change business logic: avoid touching app runtime code unless user explicitly asks.
  4. Validate before cleanup: keep old tool dependencies/config temporarily if needed; remove only after Rsbuild is green.

Workflow

  1. Detect source framework

    • Check package.json dependencies/scripts and config files:
      • webpack: webpack.config.*
      • Vite: vite.config.*
      • CRA/CRACO: react-scripts, @craco/craco, craco.config.*
      • Vue CLI: @vue/cli-service, vue.config.*
  2. Apply framework-specific deltas

    • webpack: references/webpack.md
    • Vite: references/vite.md
    • CRA/CRACO: references/cra.md
    • Vue CLI: references/vue-cli.md

Details

Repository
github.com/rstackjs/agent-skills
Categories
Frontend & UI Code, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the migrate-to-rsbuild skill do?

migrate-to-rsbuild moves webpack, Vite, create-react-app (CRA/CRACO), or Vue CLI projects over to Rsbuild. It follows the official Rsbuild migration guide, makes the smallest config change first, and leaves application business logic untouched.

How do I install the migrate-to-rsbuild skill?

Run npx -y skills add rstackjs/agent-skills --skill migrate-to-rsbuild -y in your project to install it. After that, the agent can detect your source framework from package.json and config files, then apply the matching migration steps.

Which project setups does migrate-to-rsbuild support?

migrate-to-rsbuild supports projects built with webpack, Vite, CRA/CRACO, and Vue CLI. It identifies the source tool from dependencies such as react-scripts or @vue/cli-service and config files such as webpack.config.* or vue.config.*.

How does migrate-to-rsbuild check that a migration worked?

migrate-to-rsbuild runs the dev server and the build command to confirm the project starts and builds without errors. Only after validation passes does it remove obsolete dependencies and config, then summarize the changed files and any manual follow-ups.

Where does migrate-to-rsbuild sit among other skills in its category?

migrate-to-rsbuild is listed in the Frontend & UI Code category on Claude Marketplaces. Its own focus is moving an existing build setup to Rsbuild rather than writing UI code, which sets it apart from the React and design guidance skills beside it.

More from rstackjs/agent-skills

All 12

Similar to Migrate To Rsbuild

More Frontend & UI Code