For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /guide/migration.md.
close
  • English
  • Migrate to Rstack CLI

    To migrate an existing project, we recommend using the migrate-to-rstack-cli Skill. It inspects the repository and migrates the Rstack toolchain, Prettier, Husky, and other supported tools to Rstack CLI.

    Use the migration skill

    Migrate in one pass

    To migrate all supported tools in one pass, send this prompt to your coding agent:

    Run `npx --yes skills@latest use rstackjs/rstack-cli@migrate-to-rstack-cli` and follow the generated Skill instructions to migrate this project to Rstack CLI.

    Migrate in stages

    If you want to keep each set of changes small and easy to review, migrate one tool at a time. Start by installing the Skill in your repository:

    npx skills add rstackjs/rstack-cli --skill migrate-to-rstack-cli

    Then ask your coding agent to migrate a single tool. For example, start with Rslint:

    Use the migrate-to-rstack-cli Skill to migrate Rslint in this project to Rstack CLI, leaving all other tools unchanged.

    Once you have reviewed and validated the changes, move on to Rstest:

    Use the migrate-to-rstack-cli Skill to migrate Rstest in this project to Rstack CLI, leaving all other tools unchanged.

    Repeat this process for each remaining tool.

    Supported tools

    The Skill can directly migrate the following standalone tools:

    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: