agentleFS
web-infra-devweb-infra-dev/rslib/.agents/skills/rstack-docs-writer/SKILL.md

rstack-docs-writer

Skill1k starsChanged 19 days agoMITView on GitHub

Write or revise Markdown and MDX documentation, including READMEs, guides, and Rspress-based docs.

We split this skill into the rules it gives an agent

7 rules. 4 are common, 1 is distinctive, and 2 are very specific to this project.

  • 4

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    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
  1. Common:

    Follow the project's existing documentation conventions.

    line 10
  2. Very specific:

    Keep common abbreviations such as dev server.

    line 15
  3. Common:

    Keep documentation in sync across locales when changing content.

    line 16
  4. Distinctive:

    Use one complete plain-text sentence.

    line 26
  5. Common:

    Prefer Rspress's default anchors for headings in the default locale.

    line 31
  6. Very specific:

    When anchors change, update corresponding IDs across locales and affected Markdown links and JSX href attributes.

    line 35
  7. Common:

    Check changed links against their target headings.

    line 36

“Common” is measured: kept by at least 6 in 10 of the 4 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Page descriptions

Page frontmatter description is reused in search metadata and llms.txt.

  • Summarize the page's actual scope using concrete APIs, tasks, and distinguishing topics, rather than one paragraph or example.
  • State the overall purpose first. When using examples to clarify scope, make clear that they are representative, not exhaustive.
  • Distinguish related configuration and API pages. Include version, stability, or environment constraints when they affect applicability.
  • Use one complete plain-text sentence. Avoid generic templates, unsupported claims, truncation, and padding to meet a character count.
  • Match the page's language and keep descriptions equivalent across locales.

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.

Download now (ZIP)

Trending

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Aug 30: 0 new projectsWeek of Sep 6: 0 new projectsWeek of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projects
Aug 2026Sep 2026Oct 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about web-infra-dev/rslib

The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 41

Talked about on GitHub and Bluesky (41 times).

On GitHub · 39

34 more on GitHub

On Bluesky · 2

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.