Skip to content

Commit b9ffdec

Browse files
authored
docs: use Markdown for skill references (#123)
1 parent d3bdfb8 commit b9ffdec

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎.agents/skills/migrate-to-rstack-cli/SKILL.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Rstack CLI is the `rstack` package, exposed through the `rs` binaries. It provid
1111

1212
Read every matching reference before editing. Load only the tools present in the project.
1313

14-
- `@rsbuild/core`, `rsbuild.config.*`, `rsbuild` commands, or Rsbuild types: [rsbuild.mdx](references/rsbuild.mdx)
15-
- `@rslib/core`, `rslib.config.*`, `rslib` commands, or Rslib types: [rslib.mdx](references/rslib.mdx)
16-
- `@rstest/core`, `@rstest/adapter-*`, `rstest.config.*`, `rstest` commands, or test imports: [rstest.mdx](references/rstest.mdx)
17-
- `@rslint/core`, `rslint.config.*`, `rslint` commands, or lint imports: [rslint.mdx](references/rslint.mdx)
18-
- `@rspress/core`, `rspress.config.*`, `rspress` commands, themes, or plugins: [rspress.mdx](references/rspress.mdx)
19-
- `lint-staged`, `nano-staged`, their configs: [lint-staged.mdx](references/lint-staged.mdx)
20-
- `husky`, `.husky/`, `package.json#husky`, `simple-git-hooks`, `.simple-git-hooks.*`, or Git hook installer scripts: [git-hooks.mdx](references/git-hooks.mdx)
14+
- `@rsbuild/core`, `rsbuild.config.*`, `rsbuild` commands, or Rsbuild types: [rsbuild.md](references/rsbuild.md)
15+
- `@rslib/core`, `rslib.config.*`, `rslib` commands, or Rslib types: [rslib.md](references/rslib.md)
16+
- `@rstest/core`, `@rstest/adapter-*`, `rstest.config.*`, `rstest` commands, or test imports: [rstest.md](references/rstest.md)
17+
- `@rslint/core`, `rslint.config.*`, `rslint` commands, or lint imports: [rslint.md](references/rslint.md)
18+
- `@rspress/core`, `rspress.config.*`, `rspress` commands, themes, or plugins: [rspress.md](references/rspress.md)
19+
- `lint-staged`, `nano-staged`, their configs: [lint-staged.md](references/lint-staged.md)
20+
- `husky`, `.husky/`, `package.json#husky`, `simple-git-hooks`, `.simple-git-hooks.*`, or Git hook installer scripts: [git-hooks.md](references/git-hooks.md)
2121

2222
## Workflow
2323

.agents/skills/migrate-to-rstack-cli/references/git-hooks.mdx renamed to .agents/skills/migrate-to-rstack-cli/references/git-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Git Hook Migration
22

3-
Migrate [Husky](https://typicode.github.io/husky/) or [simple-git-hooks](https://github.com/toplenboren/simple-git-hooks#readme) to [`rs setup`](https://rstack.rs/guide/cli/setup). If a hook calls lint-staged or nano-staged, also read [lint-staged.mdx](lint-staged.mdx).
3+
Migrate [Husky](https://typicode.github.io/husky/) or [simple-git-hooks](https://github.com/toplenboren/simple-git-hooks#readme) to [`rs setup`](https://rstack.rs/guide/cli/setup). If a hook calls lint-staged or nano-staged, also read [lint-staged.md](lint-staged.md).
44

55
## Shared Steps
66

.agents/skills/migrate-to-rstack-cli/references/lint-staged.mdx renamed to .agents/skills/migrate-to-rstack-cli/references/lint-staged.md

File renamed without changes.

.agents/skills/migrate-to-rstack-cli/references/rsbuild.mdx renamed to .agents/skills/migrate-to-rstack-cli/references/rsbuild.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ define.app(async () => {
2828
});
2929
```
3030

31-
If tests also use Rstest, read [rstest.mdx](rstest.mdx). `rs test` derives an Rsbuild test extension from `define.app` unless `define.test` sets `extends`.
31+
If tests also use Rstest, read [rstest.md](rstest.md). `rs test` derives an Rsbuild test extension from `define.app` unless `define.test` sets `extends`.
3232

3333
## Validate
3434

.agents/skills/migrate-to-rstack-cli/references/rslib.mdx renamed to .agents/skills/migrate-to-rstack-cli/references/rslib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ define.lib({
2222
});
2323
```
2424

25-
If tests also use Rstest, read [rstest.mdx](rstest.mdx). `rs test` derives an Rslib test extension from `define.lib` unless `define.test` sets `extends`.
25+
If tests also use Rstest, read [rstest.md](rstest.md). `rs test` derives an Rslib test extension from `define.lib` unless `define.test` sets `extends`.
2626

2727
## Validate
2828

.agents/skills/migrate-to-rstack-cli/references/rslint.mdx renamed to .agents/skills/migrate-to-rstack-cli/references/rslint.md

File renamed without changes.

.agents/skills/migrate-to-rstack-cli/references/rspress.mdx renamed to .agents/skills/migrate-to-rstack-cli/references/rspress.md

File renamed without changes.

.agents/skills/migrate-to-rstack-cli/references/rstest.mdx renamed to .agents/skills/migrate-to-rstack-cli/references/rstest.md

File renamed without changes.

0 commit comments

Comments
 (0)