Skip to content

Commit 4e90d3e

Browse files
committed
docs: add rs fmt to best-practices skill
1 parent b1fd78d commit 4e90d3e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • .agents/skills/rstack-cli-best-practices

‎.agents/skills/rstack-cli-best-practices/SKILL.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Guidance on using Rstack CLI, including `rs` commands, the `rstack.
77

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

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

1212
## Commands
1313

@@ -22,6 +22,7 @@ Use `rs -h` for top-level help, and `rs <command> -h` for command help where sup
2222
| `rs doc` | Serve or build docs | Rspress | `define.doc` |
2323
| `rs test` | Run tests | Rstest | `define.test` |
2424
| `rs lint` | Lint code | Rslint | `define.lint` |
25+
| `rs fmt` | Format code | Prettier | `define.fmt` |
2526
| `rs setup` | Install project-local Git hooks | None | None |
2627
| `rs staged` | Run tasks on staged Git files | lint-staged | `define.staged` |
2728

@@ -53,6 +54,7 @@ define.test({
5354
- `define.doc(config)`: Rspress config for `rs doc`; Docs: https://rspress.rs/api/config/config-basic
5455
- `define.test(config)`: Rstest config for `rs test`; Docs: https://rstest.rs/config/
5556
- `define.lint(config)`: Rslint config for `rs lint`; Docs: https://rslint.rs/config/
57+
- `define.fmt(config)`: Formatting options for `rs fmt`.
5658
- `define.staged(config)`: lint-staged config for `rs staged`; accepts `Record<string, string | string[]>`.
5759

5860
### Lazy Configuration

0 commit comments

Comments
 (0)