rstack-docs-writer
web-infra-dev/rsdoctor/.agents/skills/rstack-docs-writer/SKILL.md
Write or revise Markdown and MDX documentation, including READMEs, guides, and Rspress-based docs.
Skill1.1k starsChanged 27 days ago
What's in it
- Rstack docs writer
- Writing
- Heading anchors
---
name: rstack-docs-writer
description: Write or revise Markdown and MDX documentation, including READMEs, guides, and Rspress-based docs.
metadata:
internal: true
---
# 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 `id` attributes: 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 `href` attributes. Check target pages before replacing hashes.
- Check changed links against their target headings.
More agent context in web-infra-dev/rsdoctor
9 other files this repository gives its agents.
AGENTS.md
Skill
- code-reviewer.agents/skills/code-reviewer/SKILL.md
- create-draft-release-notes.agents/skills/create-draft-release-notes/SKILL.md
- docs-en-improvement.agents/skills/docs-en-improvement/SKILL.md
- pr-creator.agents/skills/pr-creator/SKILL.md
- release-blog-writer.agents/skills/release-blog-writer/SKILL.md
- release-rsdoctor.agents/skills/release-rsdoctor/SKILL.md
- rstack-cli-docs.agents/skills/rstack-cli-docs/SKILL.md
- write-e2e-cases.agents/skills/write-e2e-cases/SKILL.md
Also found in 5 other repositories
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

