rstack-cli-docs

A guide to the installed Rstack command-line tools, which support common JavaScript project tasks such as building, testing, linting, formatting, and Git hooks.

In plain words
What is it for?
Use it when explaining or changing public Rstack commands, configuration settings, or APIs exposed by the package.
Why use it?
It directs the agent to the version-matched local documentation and command help, reducing the risk of relying on outdated command details.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/web-infra-dev/rsdoctor/rstack-cli-docs
Any agent
npx skills add web-infra-dev/rsdoctor --skill rstack-cli-docs
Clone the repo
git clone --depth 1 https://github.com/web-infra-dev/rsdoctor

Made for: Claude Code, Codex.

Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 302 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00057 $0.00302
Opus 5 $0.00028 $0.00151
Sonnet 5 $0.00011 $0.00060
Haiku 4.5 $0.00006 $0.00030

Measured 2d ago against content hash 134be0809477, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rstack-cli-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/rstack-cli-docs/SKILL.md · 26 lines

What it actually says

Rstack CLI Docs

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.

Read installed docs when this skill applies

When this skill applies, 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.

  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.

If the bundled docs are not available at that path, locate the installed rstack package.

If they are still unavailable, verify that rstack is installed, and use CLI help plus the online Rstack documentation as a fallback.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 26 lines · 57 tokens per session scan A 134be0809477

Subscribe to this mod's changes

rstack-cli-docs is a skill published in the GitHub repository web-infra-dev/rsdoctor (1,139 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 302 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

resume-builder

Generate professional resumes that conform to the Reactive Resume schema. Use when the user wants to create, build, or generate a resume through conversational AI, or asks about resume structure, sections, or content. This skill guides the agent to ask clarifying questions, avoid hallucination, and produce valid JSON…

amruthpillai/reactive-resume · 71 tokens

dependency-flow

MAUI-specific dependency flow rules, channel conventions, and feed lookup workflows. Use when asked about darc, BAR, Maestro, feeds for .NET MAUI, build promotion, asset lookup, channel mappings, or dependency flow for dotnet/maui. Wraps the maestro-cli skill and maestro MCP tools with MAUI-specific guardrails.

dotnet/maui · 71 tokens

pr-finalize

Finalizes any PR for merge by verifying title/description match implementation AND performing code review for best practices. Use when asked to "finalize PR", "check PR description", "review commit message", before merging any PR, or when PR implementation changed during review. Do NOT use for extracting lessons (use…

dotnet/maui · 92 tokens

evaluate-pr-tests

Evaluates tests added in a PR for coverage, quality, edge cases, and test type appropriateness. Checks if tests cover the fix, finds gaps, and recommends lighter test types when possible. Prefer unit tests over device tests over UI tests. Triggers on: 'evaluate tests in PR', 'review test quality', 'are these tests…

dotnet/maui · 94 tokens

verify-tests-fail-without-fix

Verifies tests catch the bug. Auto-detects test type (UI tests, device tests, unit tests) and dispatches to the appropriate runner. Supports two modes - verify failure only (test creation) or full verification (test + fix validation).

dotnet/maui · 60 tokens

write-ui-tests

Creates UI tests for a GitHub issue and verifies they reproduce the bug. Iterates until tests actually fail (proving they catch the issue). Use when PR lacks tests or tests need to be created for an issue.

dotnet/maui · 48 tokens