rstack-cli-docs

Consults installed version-matched Rstack documentation for rs CLI and rstack.config usage.

12.9k|843|Updated Apr 1, 2022
One-click install
npx skills add https://github.com/web-infra-dev/rspack --skill rstack-cli-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rstack-cli-docs
Source: https://github.com/web-infra-dev/rspack/tree/main/.agents/skills/rstack-cli-docs
Command: npx skills add https://github.com/web-infra-dev/rspack --skill rstack-cli-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Model knowledge about the Rstack toolchain can be outdated or mismatched with the version installed in a project, leading to incorrect CLI flags, config options, or API usage. This Skill directs the AI to read the documentation bundled with the installed rstack package so answers match the project's actual version.

Core Features & Use Cases

  • Version-matched documentation lookup: Reads node_modules/rstack/docs/llms.txt and linked Markdown pages shipped with the installed rstack package.
  • CLI help verification: Runs rs -h or rs <command> -h to confirm exact flags and command behavior.
  • Fallback strategy: Falls back to CLI help and the online Rstack documentation when bundled docs are unavailable.
  • Use Case: When asked how to configure a build in rstack.config.ts or which flags rs build supports, the Skill grounds the answer in the installed package's docs instead of stale training knowledge.

Quick Start

Ask how to configure or use an rs command, and the Skill will consult the installed rstack package documentation before answering.

Frequently Asked Questions about rstack-cli-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check rs CLI command flags for my installed Rstack version?

Run rs -h or rs <command> -h in your project to see exact flags for the installed version. You can also read the Markdown docs shipped in node_modules/rstack/docs, starting from llms.txt.

Where is the Rstack documentation installed locally?

The installed rstack package ships documentation at node_modules/rstack/docs/llms.txt, which links to relevant Markdown pages. If that path is missing, locate the installed rstack package or use the online docs at rstack.rs.

What does rstack.config file configure?

The rstack.config file defines project settings for the Rstack toolchain, covering web app, library, docs, test, lint, formatting, Git hook, and staged-file workflows. Exact semantics should be verified against the docs bundled with your installed rstack version.

When should I not use the rstack-cli-docs skill?

Do not use it for purely internal implementation details, tests, performance topics, or repository maintenance of Rstack itself. It is scoped to user-facing rs command behavior, config semantics, and public rstack APIs.

What if the bundled rstack docs are not available?

First verify that the rstack package is installed in the project. Then rely on rs CLI help output and the online Rstack documentation at rstack.rs as a fallback source.