Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions website/docs/en/guide/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To migrate an existing project, we recommend using the `migrate-to-rstack-cli` S

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

```text
```text wrapCode
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.
```

Expand All @@ -26,14 +26,14 @@ 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:

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

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

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

Repeat this process for each remaining tool.
Expand Down
10 changes: 5 additions & 5 deletions website/docs/zh/guide/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: '使用推荐的迁移 Skill,将现有项目迁移到 Rstack CLI

如需一次性迁移所有受支持的工具,请向 Coding Agent 发送以下 Prompt:

```text
```text wrapCode
运行 `npx --yes skills@latest use rstackjs/rstack-cli@migrate-to-rstack-cli`,然后按照生成的 Skill 指令将当前项目迁移到 Rstack CLI。
```

Expand All @@ -26,14 +26,14 @@ npx skills add rstackjs/rstack-cli --skill migrate-to-rstack-cli

然后让 Coding Agent 每次只迁移一种工具。例如,可以先迁移 Rslint:

```text
使用 migrate-to-rstack-cli Skill 将当前项目中的 Rslint 迁移到 Rstack CLI,并保持其他工具不变。
```text wrapCode
使用 migrate-to-rstack-cli Skill Rslint 迁移到 Rstack CLI,并保持其他工具不变。
```

审查并验证本次改动后,再迁移 Rstest:

```text
使用 migrate-to-rstack-cli Skill 将当前项目中的 Rstest 迁移到 Rstack CLI,并保持其他工具不变。
```text wrapCode
使用 migrate-to-rstack-cli Skill Rstest 迁移到 Rstack CLI,并保持其他工具不变。
```

其余工具也可以按此方式依次迁移。
Expand Down