Migrate to Rstack CLI
To migrate an existing project, we recommend using the migrate-to-rstack-cli Skill. It inspects the project and automatically migrates supported tools used in the repository—including Rstack tools, Prettier, and Husky—to Rstack CLI.
Use the migration skill
First, install the Skill:
Then ask your coding agent to perform the migration with this prompt:
Supported tools
The Skill can directly migrate the following standalone tools:
- Rstack toolchain: Rsbuild, Rslib, Rstest, Rslint, and Rspress
- Code formatting: Prettier
- Staged-file tasks: lint-staged and nano-staged
- Git hooks: Husky and simple-git-hooks
Unsupported tools
The Skill does not directly migrate tools outside the list above. If your project uses any of the following tools, migrate it to the corresponding Rstack tool first, then run the migrate-to-rstack-cli Skill:
- Application builds: Follow the Rsbuild webpack migration guide, Vite migration guide, Create React App migration guide, or Vue CLI migration guide to migrate the project to Rsbuild.
- Library builds: Follow the Rslib tsup migration guide or tsc migration guide to migrate the library to Rslib.
- Testing: Follow the Rstest Jest migration guide or Vitest migration guide to migrate the project to Rstest.
- Linting: Follow the Rslint getting started guide to migrate ESLint or other linters to Rslint.