AI
To help coding agents understand Rstack CLI commands, configuration, and best practices, Rstack CLI provides the following resources:
AGENTS.md
Projects created with create-rstack include an AGENTS.md file that gives coding agents the key context for working with Rstack CLI.
You can also copy the following content into your own AGENTS.md:
This content serves a similar purpose to the 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.
Agent Skills
Rstack CLI provides domain-specific Agent Skills that help coding agents give more accurate guidance and perform relevant tasks.
rstack-cli-docs
The rstack-cli-docs Skill helps coding agents consult version-matched documentation for Rstack CLI commands, configuration, and public APIs.
This Skill ships with the rstack npm package. If you use pnpm 12.11.0 or later, run pnpm approve and select rstack. pnpm then links the Skill into your project's agent skills directory. See Agent Skills in pnpm for details.
You can also install it with the skills package:
migrate-to-rstack-cli
The migrate-to-rstack-cli Skill migrates projects from standalone Rstack tools and related development tools to Rstack CLI.
To migrate an existing project, install the Skill:
For supported tools and migration instructions, see Migrate to Rstack CLI.
llms.txt
llms.txt is a standard that helps LLMs discover and use project documentation. The Rstack CLI documentation site provides the following files:
- llms.txt: A structured index containing the title, link, and description of each documentation page.
- llms-full.txt: A single file containing the full content of all documentation pages.
Use llms.txt when the agent can follow links and load only the pages relevant to a task. Use llms-full.txt when the agent needs the complete documentation in one context and the larger token cost is acceptable.
Markdown docs
Every Rstack CLI documentation page has a corresponding .md plain-text version that can be provided directly to an agent. On any documentation page, use “Copy Markdown” or “Copy Markdown Link” under the title to copy its content or URL.