rstack-docs-writer
Skill514 starsChanged 8 days agoMITView on GitHub
Write or revise Markdown and MDX documentation, including READMEs, guides, and Rspress-based docs.
6 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- web-infra-dev/rslibedited, first seen Oct 8, 2026
- web-infra-dev/rslintword for word, first seen Oct 8, 2026
- web-infra-dev/rsdoctoredited, first seen Oct 8, 2026
- web-infra-dev/rsbuildword for word, first seen Oct 8, 2026
- web-infra-dev/rspackword for word, first seen Oct 8, 2026
- rstackjs/agent-skillsedited, first seen Aug 4, 2026
Used with
Projects with it also use rstack-cli-docs.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
youzanSkillrstack-cli-docs
Consult installed, version-matched Rstack docs only for user-facing `rs` command behavior, `rstack.config.*` semantics, or public `rstack` APIs. Do not use for purely internal implementation, tests, performance, or repository maintenance.
Also in 5 projects that use this
Other versions6 projects use a version of this.
Word for word · 3
- web-infra-dev/rspack★ 13k100% same
- web-infra-dev/rsbuild★ 3.4k100% same
- web-infra-dev/rslint★ 462100% same
Edited · 3
- web-infra-dev/rsdoctor★ 1.2k66% same
- web-infra-dev/rslib★ 1k66% same
- rstackjs/agent-skills★ 9766% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- website/AGENTS.mdAGENTS.md
- api-doc-syncSkill
- create-draft-release-notesSkill
- create-release-blogSkill
- developmentSkill
- pr-creatorSkill
- testingSkill
- typescriptSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
6 rules. 4 are common, 0 are distinctive, and 2 are very specific to this project.
4
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 10
Follow the project's existing documentation conventions.
- Very specific: line 15
Keep common abbreviations such as dev server.
- Common: line 16
Keep documentation in sync across locales when changing content.
- Common: line 21
Prefer Rspress's default anchors for headings in the default locale.
- Very specific: line 25
When anchors change, update corresponding IDs across locales and affected Markdown links and JSX href attributes.
- Common: line 26
Check changed links against their target headings.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Rstack docs writer
Follow the project's existing documentation conventions.
Writing
- Explain user-facing behavior concisely, adding details and examples only when they help users configure or use the feature.
- Keep common abbreviations such as
dev server. - Keep documentation in sync across locales when changing content. Use English as the default language unless the project specifies another.
- Use sentence-case headings.
Heading anchors
- Prefer Rspress's default anchors for headings in the default locale; preserve intentional existing custom IDs.
- Determine generated anchors from heading
idattributes: run the project's docs dev command and inspect the rendered browser DOM, or run its docs build command and inspect the generated HTML. - Match headings in other locales to the default locale's anchors, using the project's locale mapping to pair pages. Add custom IDs where defaults differ; remove redundant IDs only if anchors stay unchanged.
- Escape custom IDs in MDX:
## Localized heading \{#default-locale-anchor}. - When anchors change, update corresponding IDs across locales and affected Markdown links and JSX
hrefattributes. Check target pages before replacing hashes. - Check changed links against their target headings.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

