migrate-to-rsbuild
Migrate webpack, Vite, create-react-app (CRA/CRACO), or Vue CLI projects to Rsbuild.
How do I install this agent skill?
npx skills add https://github.com/rstackjs/agent-skills --skill migrate-to-rsbuildIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a safe and structured workflow for migrating web projects to Rsbuild by following official documentation and standard development practices. No malicious behaviors, hidden commands, or security risks were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/4 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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)
- Official guide first: treat Rsbuild migration docs as source of truth.
- Smallest-change-first: complete baseline migration first, then migrate custom behavior.
- Do not change business logic: avoid touching app runtime code unless user explicitly asks.
- Validate before cleanup: keep old tool dependencies/config temporarily if needed; remove only after Rsbuild is green.
Workflow
-
Detect source framework
- Check
package.jsondependencies/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.*
- webpack:
- Check
-
Apply framework-specific deltas
- webpack:
references/webpack.md - Vite:
references/vite.md - CRA/CRACO:
references/cra.md - Vue CLI:
references/vue-cli.md
- webpack:
-
Validate behavior
- Run dev server to verify the project starts without errors.
- Run build command to verify the project builds successfully.
- If issues remain, compare the old project configuration with the migration guide and complete any missing mappings.
-
Cleanup and summarize
- Remove obsolete dependencies/config only after validation passes.
- Summarize changed files and any remaining manual follow-ups.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/rstackjs/agent-skills/migrate-to-rsbuild">View migrate-to-rsbuild on skillZs</a>