plugins/astro-expert/skills/astro-starlight/SKILL.md
Astro Starlight documentation theme — setup, sidebar config, Pagefind search, dark/light mode, plugins (DocSearch, blog, openapi, typedoc, versions), multi-language, Content Layer API, llms.txt, customization. Use for building documentation sites.
npx skillsauth add fusengine/agents astro-starlightInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Production-ready documentation theme for Astro with built-in search, dark mode, i18n, and rich plugin ecosystem.
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
| Feature | Benefit |
|---------|---------|
| Pagefind built-in | Full-text search, zero config |
| Dark/light mode | Automatic, CSS custom properties |
| Sidebar config | Filesystem-based or manual groups |
| Plugin ecosystem | DocSearch, blog, openapi, typedoc |
| Content Layer API | Astro 7 content collections integration |
| llms.txt support | starlight-llms-txt for AI discoverability |
| Topic | Reference | When to Consult | |-------|-----------|-----------------| | Setup | setup.md | Installation, project structure | | Sidebar | sidebar-config.md | Navigation, groups, auto-gen | | Search | search.md | Pagefind, DocSearch, exclude pages | | Plugins | plugins.md | Blog, openapi, typedoc, versions | | i18n | i18n-multilang.md | Locales, translations, hreflang | | Content Layer | content-layer.md | docsLoader, schema, collections | | Customization | customization.md | CSS variables, components override |
| Template | When to Use | |----------|-------------| | starlight-config.md | Full astro.config.mjs with Starlight | | sidebar-example.md | Complex sidebar with groups and badges |
starlight-llms-txt - AI crawlers increasingly important for docstesting
Copy self-audit and ban-lists — filler verbs/hype adjectives, slop placeholder names, fake-precise numbers, Title Case headlines, humor in error copy ('Oops!'), em-dash crutch, one copy register per page.
development
Logged-in web apps — dashboards, auth flows, settings, onboarding, data tables, command palettes, modals, toasts. Register `product`: density and glance-speed over marketing polish, no hero/CTA-tricks, every data surface covers empty/loading/error explicitly, tables and dataviz follow preattentive-processing rules.
development
Marketing sites, landing pages, campaign pages — register `brand` (design IS the product). Structure comes from the register's POV + a macrostructure pick, never from copying an inspiration site's section flow. Hero discipline, deviated section order, asymmetric grids, and a silhouette lookalike-test gate before ship.
development
Token-strategy core — OKLCH color rules, neutral tinting, accent-commitment levels, type scale, 8pt spacing grid, touch targets, and the canonical output format of design-system.md (the file the harness gates on). This is routing step 1 of design-method/SKILL.md — read it before design-web/design-webapp/design-ios/design-android, before picking or auditing a single color/type/spacing value.