rstack-cli-best-practices
Rstack CLI Best Practices
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.
It covers web app, library, docs, test, lint, formatting, Git hook, and staged-file workflows.
ALWAYS read installed docs before working
Before any Rstack work, find and read the relevant Markdown documentation shipped with the installed rstack package.
Model knowledge can be outdated; the installed documentation is the source of truth for the project's Rstack version.
-
Start with
node_modules/rstack/docs/llms.txt, then read only the linked pages relevant to the task before proposing or making changes. -
For exact CLI flags and behavior, also run
rs -horrs <command> -hwhen supported.
If the bundled docs are not available at that path, locate the installed rstack package.