Skip to content

Commit 63a05de

Browse files
authored
docs: rename Rstack CLI agent skill (#421)
1 parent 3fe1dac commit 63a05de

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

.agents/skills/rstack-cli-best-practices/SKILL.md renamed to .agents/skills/rstack-cli-docs/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
name: rstack-cli-best-practices
3-
description: Guidance for Rstack CLI work involving `rs` commands, `rstack.config.*`, package APIs, or Rstack-based projects and tooling.
2+
name: rstack-cli-docs
3+
description: Consult installed, version-matched Rstack docs only for user-facing `rs` command behavior, `rstack.config.*` semantics, or public `rstack` APIs. Do not use for purely internal implementation, tests, performance, or repository maintenance.
44
---
55

6-
# Rstack CLI Best Practices
6+
# Rstack CLI Docs
77

88
Rstack CLI is the `rstack` package, exposed through the `rs` binaries. It provides one CLI, one
99
config file, and a consistent workflow for the Rstack JavaScript toolchain.
1010

1111
It covers web app, library, docs, test, lint, formatting, Git hook, and staged-file workflows.
1212

13-
## ALWAYS read installed docs before working
13+
## Read installed docs when this skill applies
1414

15-
Before any Rstack work, find and read the relevant Markdown documentation shipped with the installed `rstack` package.
15+
When this skill applies, find and read the relevant Markdown documentation shipped with the installed `rstack` package.
1616

1717
Model knowledge can be outdated; the installed documentation is the source of truth for the project's Rstack version.
1818

website/docs/en/guide/ai.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ This project uses Rstack CLI as its JavaScript toolchain.
2727
- If the local documentation is unavailable, use https://rstack.rs/llms.txt and `rs <command> -h`.
2828
```
2929

30-
This content serves a similar purpose to the [rstack-cli-best-practices](#rstack-cli-best-practices) Skill, helping coding agents use Rstack CLI and find relevant documentation. Add it to `AGENTS.md` or install the Skill; either is sufficient.
30+
This content serves a similar purpose to the [rstack-cli-docs](#rstack-cli-docs) Skill, helping coding agents use Rstack CLI and find relevant documentation. Add it to `AGENTS.md` or install the Skill; either is sufficient.
3131

3232
## Agent Skills
3333

3434
Rstack CLI provides domain-specific Agent Skills that help coding agents give more accurate guidance and perform relevant tasks.
3535

36-
### rstack-cli-best-practices
36+
### rstack-cli-docs
3737

38-
The [rstack-cli-best-practices](https://github.com/rstackjs/rstack-cli/tree/main/.agents/skills/rstack-cli-best-practices) Skill provides guidance and best practices for using Rstack CLI.
38+
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

4040
Install it with the [skills](https://www.npmjs.com/package/skills) package:
4141

4242
<PackageManagerTabs
43-
command="skills add rstackjs/rstack-cli --skill rstack-cli-best-practices"
43+
command="skills add rstackjs/rstack-cli --skill rstack-cli-docs"
4444
dlx
4545
/>
4646

website/docs/zh/guide/ai.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ This project uses Rstack CLI as its JavaScript toolchain.
2727
- If the local documentation is unavailable, use https://rstack.rs/llms.txt and `rs <command> -h`.
2828
```
2929

30-
这段内容与 [rstack-cli-best-practices](#rstack-cli-best-practices) Skill 作用相似,都能指导 Coding Agent 使用 Rstack CLI 并查找相关文档。将其添加到 `AGENTS.md` 或安装该 Skill,任选其一即可。
30+
这段内容与 [rstack-cli-docs](#rstack-cli-docs) Skill 作用相似,都能指导 Coding Agent 使用 Rstack CLI 并查找相关文档。将其添加到 `AGENTS.md` 或安装该 Skill,任选其一即可。
3131

3232
## Agent Skills
3333

3434
Rstack CLI 提供面向特定领域的 Agent Skills,帮助 Coding Agent 更准确地提供建议并执行相关任务。
3535

36-
### rstack-cli-best-practices
36+
### rstack-cli-docs
3737

38-
[rstack-cli-best-practices](https://github.com/rstackjs/rstack-cli/tree/main/.agents/skills/rstack-cli-best-practices) Skill 提供 Rstack CLI 的使用指南和最佳实践
38+
[rstack-cli-docs](https://github.com/rstackjs/rstack-cli/tree/main/.agents/skills/rstack-cli-docs) Skill 帮助 Coding Agent 查阅与当前版本匹配的 Rstack CLI 命令、配置和公共 API 文档
3939

4040
使用 [skills](https://www.npmjs.com/package/skills) 包安装该 Skill:
4141

4242
<PackageManagerTabs
43-
command="skills add rstackjs/rstack-cli --skill rstack-cli-best-practices"
43+
command="skills add rstackjs/rstack-cli --skill rstack-cli-docs"
4444
dlx
4545
/>
4646

0 commit comments

Comments
 (0)