Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/rstack-cli-best-practices/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Before any Rstack work, find and read the relevant Markdown documentation shippe

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

1. Start with `node_modules/rstack/dist/docs/llms.txt`, then read only the linked pages relevant to the task before proposing or making changes.
1. Start with `node_modules/rstack/docs/llms.txt`, then read only the linked pages relevant to the task before proposing or making changes.

2. For exact CLI flags and behavior, also run `rs -h` or `rs <command> -h` when supported.

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
node_modules
dist/
dist-*/
/packages/rstack/docs/
test-results
doc_build

Expand Down
2 changes: 1 addition & 1 deletion packages/create-rstack/template-common/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

This project uses Rstack CLI as its JavaScript toolchain.

- Before working with `rs` commands, `rstack.config.*` files, or imports from `rstack`, start with `node_modules/rstack/dist/docs/llms.txt`, then read only the linked pages relevant to the task.
- Before working with `rs` commands, `rstack.config.*` files, or imports from `rstack`, start with `node_modules/rstack/docs/llms.txt`, then read only the linked pages relevant to the task.
- For command details, use `rs -h` or `rs <command> -h`.
- If the local documentation is unavailable, use https://rstack.rs/llms.txt and `rs <command> -h`.
1 change: 1 addition & 0 deletions packages/rstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"binding.cjs",
"binding.d.cts",
"dist",
"docs",
"types",
"THIRD_PARTY_NOTICES.md"
],
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import path from 'node:path';
const rootDir = path.resolve(import.meta.dirname, '..');
const websiteDir = path.join(rootDir, 'website');
const websiteDistDir = path.join(websiteDir, 'doc_build');
const packageDocsDir = path.join(rootDir, 'packages/rstack/dist/docs');
const packageDocsDir = path.join(rootDir, 'packages/rstack/docs');

const run = (command, args) =>
new Promise((resolve, reject) => {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en/guide/ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can also copy the following content into your own `AGENTS.md`:
```markdown wrapCode title="AGENTS.md"
This project uses Rstack CLI as its JavaScript toolchain.

- Before working with `rs` commands, `rstack.config.*` files, or imports from `rstack`, start with `node_modules/rstack/dist/docs/llms.txt`, then read only the linked pages relevant to the task.
- Before working with `rs` commands, `rstack.config.*` files, or imports from `rstack`, start with `node_modules/rstack/docs/llms.txt`, then read only the linked pages relevant to the task.
- For command details, use `rs -h` or `rs <command> -h`.
- If the local documentation is unavailable, use https://rstack.rs/llms.txt and `rs <command> -h`.
```
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/guide/ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { PackageManagerTabs } from '@rspress/core/theme';
```markdown wrapCode title="AGENTS.md"
This project uses Rstack CLI as its JavaScript toolchain.

- Before working with `rs` commands, `rstack.config.*` files, or imports from `rstack`, start with `node_modules/rstack/dist/docs/llms.txt`, then read only the linked pages relevant to the task.
- Before working with `rs` commands, `rstack.config.*` files, or imports from `rstack`, start with `node_modules/rstack/docs/llms.txt`, then read only the linked pages relevant to the task.
- For command details, use `rs -h` or `rs <command> -h`.
- If the local documentation is unavailable, use https://rstack.rs/llms.txt and `rs <command> -h`.
```
Expand Down