Skip to content

Commit 5fc2ae2

Browse files
committed
docs: improve migration prompts
1 parent ede304d commit 5fc2ae2

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

website/docs/en/guide/migration.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To migrate an existing project, we recommend using the `migrate-to-rstack-cli` S
1212

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

15-
```text
15+
```text wrapCode
1616
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.
1717
```
1818

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

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

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

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

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

3939
Repeat this process for each remaining tool.

website/docs/zh/guide/migration.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: '使用推荐的迁移 Skill,将现有项目迁移到 Rstack CLI
1212

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)