update-starlight-docs
Skill43 starsChanged 6 months agoMITView on GitHub
Update Astro Starlight user documentation (site/src/content/docs/) when code changes affect user-facing features. Use when: adding new tools, changing configuration, updating deployment, modifying capabilities.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- jmrplens/libgen-mcpedited, first seen Aug 21, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- jmrplens/libgen-mcp★ 1912% 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 repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- create-architectural-decision-recordSkill
- create-implementation-planSkill
- create-mcp-evaluationSkill
- create-mcp-toolSkill
- create-specificationSkill
- generate-project-documentationSkill
- generate-release-notesSkill
- git-commitSkill
- golang-patternsSkill
- golang-testingSkill
- go-safe-move-refactorSkill
- go-source-documentationSkill
- increase-test-coverageSkill
- modularize-go-packageSkill
- review-and-refactorSkill
- update-project-documentationSkill
- upstream-contributionSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Update the Astro Starlight user documentation site to reflect code changes that affect user-facing features, configuration, or behavior.
- Very specific: line 13
Read the current Starlight docs structure: site/src/content/docs/
- Very specific: line 65
Every .mdx file must have title and description.
- Very specific: line 110
Must produce zero errors. Check site/dist/ for output.
- Distinctive: line 114
Always update BOTH EN and ES pages
- Distinctive: line 115
Keep ES translations accurate — do not leave English text in ES pages
- Distinctive: line 117
Use Starlight components (Aside, Tabs, etc.) instead of raw HTML
- Very specific: line 119
Do NOT modify src/content.config.ts unless adding a new content collection
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Update Starlight Documentation
Update the Astro Starlight user documentation site to reflect code changes that affect user-facing features, configuration, or behavior.
Before Starting
- Identify what changed in the code that affects users
- Read the current Starlight docs structure:
site/src/content/docs/ - Determine affected pages (EN and ES)
Documentation Architecture
Two documentation systems coexist:
| System | Path | Audience | Format |
| Developer docs | docs/ | Contributors, AI agents | Markdown |
| User docs | site/src/content/docs/ | End users | MDX (Starlight) |
Rule: Code changes that affect user-facing behavior MUST update BOTH systems.
Steps
1. Map code changes to affected docs
| Code Change | User Doc Pages |
| New MCP tool | tools/overview, tools/meta-tools or tools/dynamic-tools (tools/orbit for GitLab.com Orbit tools) |
| New config option | configuration |
| New capability | capabilities/overview and the capability's own page under capabilities/, getting-started |
| Transport change | getting-started, operations/http-server |
| Error handling change | operations/troubleshooting, operations/error-handling |
| Security change | operations/security |
| Installation channel change | the channel page under install/ and install/overview |
2. Edit EN pages first
English is the Starlight root locale, so the English pages live directly under site/src/content/docs/ (there is no en/ folder):
site/src/content/docs/
├── index.mdx # Landing page
├── getting-started.mdx
├── configuration.mdx
├── architecture.mdx
├── capabilities/ # overview + one page per capability
├── install/ # one page per distribution channel
├── operations/ # http-server, remote-deployment, security, telemetry, troubleshooting, ...
├── tools/ # overview, meta-tools, dynamic-tools, orbit, resources-prompts
├── examples/
└── es/ # Spanish mirror of everything above3. Edit corresponding ES pages
Mirror structure under site/src/content/docs/es/ with translated content.
4. Frontmatter requirements
Every .mdx file must have title and description; the existing pages also carry chips, datePublished and faq, which the site's checks read, so copy the shape of a neighbouring page:
---
title: "Page Title"
description: "Brief description for SEO and search"
chips:
- text: "One short fact"
datePublished: "YYYY-MM-DD"
faq:
- q: "A question a reader of this page asks?"
a: "Its answer, in one or two sentences; the site renders the list where the page places <FAQ />."
---Sidebar position is not set in frontmatter: the sidebar is the explicit sidebar array in site/astro.config.mjs, where every entry names a slug, a label and its translations.es label.
5. Use Starlight components
import { Aside, Tabs, TabItem, Card, CardGrid, Steps, FileTree, LinkCard } from '@astrojs/starlight/components';
<Aside type="tip">Helpful tip here</Aside>
<Aside type="caution">Warning message</Aside>
<Aside type="danger">Critical warning</Aside>
<Tabs>
<TabItem label="Linux">Linux instructions</TabItem>
<TabItem label="macOS">macOS instructions</TabItem>
<TabItem label="Windows">Windows instructions</TabItem>
</Tabs>
<Steps>
1. First step
2. Second step
3. Third step
</Steps>6. Build verification
cd site && pnpm run buildMust produce zero errors. Check site/dist/ for output.
Rules
- Always update BOTH EN and ES pages
- Keep ES translations accurate — do not leave English text in ES pages
- A new page must be added to the
sidebararray insite/astro.config.mjs(slug, label andtranslations.es), which keeps both locales in the same order; that array is the only reason to touch the file - Use Starlight components (Aside, Tabs, etc.) instead of raw HTML
- Link between Starlight pages with relative paths (e.g.,
./configuration) - Do NOT modify
src/content.config.tsunless adding a new content collection - Images go in
site/src/assets/and are referenced with relative imports
Validation Checklist
- All affected EN pages updated
- All affected ES pages updated with translated content
- Frontmatter (title, description, and the chips/datePublished/faq fields the neighbouring pages carry) is correct
- New pages listed in the
sidebararray ofsite/astro.config.mjswith their Spanish label - Starlight components used correctly (imports present)
cd site && pnpm run buildsucceeds with zero errors, andpnpm run lint(the site's own checks: i18n parity, links, a11y, facts) passes- No broken internal links between pages
- Developer docs (
docs/) also updated if applicable
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.

