Skip to content

Commit a4baab8

Browse files
committed
docs: clarify how to enable the bundled CLI docs skill
1 parent ebfe578 commit a4baab8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎website/docs/en/guide/ai.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Rstack CLI provides domain-specific Agent Skills that help coding agents give mo
3737

3838
The [rstack-cli-docs](https://github.com/rstackjs/rstack-cli/tree/main/.agents/skills/rstack-cli-docs) Skill helps coding agents consult version-matched documentation for Rstack CLI commands, configuration, and public APIs.
3939

40-
The `rstack` npm package includes this Skill. If your project uses pnpm 12.11.0 or later and lists `rstack` as a direct dependency, run `pnpm approve` and approve `rstack` to link the Skill into your agent's skills directory.
40+
This Skill ships with the `rstack` npm package. After installing `rstack` with pnpm 12.11.0 or later, run `pnpm approve` and select `rstack`. pnpm then links the Skill into your project's agent skills directory. See [Agent Skills in pnpm](https://pnpm.io/agent-skills) for details.
4141

4242
You can also install it with the [skills](https://www.npmjs.com/package/skills) package:
4343

‎website/docs/zh/guide/ai.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Rstack CLI 提供面向特定领域的 Agent Skills,帮助 Coding Agent 更准
3737

3838
[rstack-cli-docs](https://github.com/rstackjs/rstack-cli/tree/main/.agents/skills/rstack-cli-docs) Skill 帮助 Coding Agent 查阅与当前版本匹配的 Rstack CLI 命令、配置和公共 API 文档。
3939

40-
`rstack` npm 包内置了这个 Skill。如果项目使用 pnpm 12.11.0 或更高版本,并将 `rstack` 列为直接依赖,运行 `pnpm approve` 并批准 `rstack`,即可将它链接到 Agent 的 skills 目录。
40+
这个 Skill 随 `rstack` npm 包一起发布。使用 pnpm 12.11.0 或更高版本安装 `rstack` 后,运行 `pnpm approve` 并选择 `rstack`。pnpm 会将 Skill 链接到项目的 Agent Skills 目录。详情见 [pnpm 的 Agent Skills 文档](https://pnpm.io/agent-skills)。
4141

4242
也可以使用 [skills](https://www.npmjs.com/package/skills) 包安装该 Skill:
4343

0 commit comments

Comments
 (0)