rstackjs avatar

Migrate To Rsbuild

This handles the grunt work of moving webpack, Vite, CRA/CRACO, or Vue CLI projects over to Rsbuild. It detects which bundler you're currently using, applies the framework-specific config deltas from official migration guides, and validates that dev and build still work before cleaning up old dependencies. The approach is conservative: it won't touch your application code and prioritizes minimal changes over clever refactors. Useful if you're chasing Rsbuild's performance improvements but don't want to spend hours manually translating loader configs and build options. It keeps old config around until the new setup passes validation, which is the right call when you're swapping out something as central as your build tool.

skills.sh installs
336
GitHub stars
98
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/rstackjs/agent-skills
Categories
Frontend Development, AI & Agent Building, CLI & Terminal
First seen
Jun 3, 2026

More from rstackjs/agent-skills

All 12
1pproenca avatarmui-basepproenca/dot-skillsMUI Base UI style guidelines for building headless React component libraries (formerly headless-ui-style). This skill should be used when creating unstyled UI c335skills.sh installs
2davila7 avatarweb-artifacts-builderdavila7/claude-code-templatesSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for334skills.sh installs
3pedronauck avatarvercel-composition-patternspedronauck/skillsReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reus334skills.sh installs
4bobmatnyc avatarartifacts-builderbobmatnyc/claude-mpm-skillsSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui)333skills.sh installs
5secondsky avatarbun-tanstack-startsecondsky/claude-skillsTanStack Start full-stack React framework with Bun runtime. Use for TanStack Router, server functions, vinxi, or encountering SSR, build, preset errors.329skills.sh installs
6secondsky avatarcloudflare-workers-frameworkssecondsky/claude-skillsFramework integration for Cloudflare Workers. Use when building with Hono, Remix, Next.js, Astro, SvelteKit, Qwik, or Nuxt on Workers. Covers routing, SSR, stat321skills.sh installs