starlight
БесплатноБез исполняемых скриптовНе проверенStarlight - Full-featured documentation theme built on Astro for creating beautiful, accessible, high-performance documentation websites with built-in search…
от enuno★ 17 звёзд на GitHubОб этом скилле
Starlight Skill
Starlight is a full-featured documentation theme built on top of the Astro framework. It provides everything needed to create professional documentation sites with minimal configuration - from built-in search and internationalization to customizable components and dark mode support.
Key Value Proposition: Build beautiful, accessible, high-performance documentation websites with Astro's speed and Starlight's comprehensive feature set. Used by 10,300+ projects with 7,700+ GitHub stars.
When to Use This Skill
- Creating documentation websites for projects, APIs, or products
- Building technical documentation with code examples and syntax highlighting
- Setting up multilingual documentation sites with i18n support
- Developing landing pages with splash templates
- Implementing searchable documentation with Pagefind integration
- Customizing documentation themes with CSS or Tailwind
- Migrating existing docs to a modern static site generator
- Creating developer portals or knowledge bases
When NOT to Use This Skill
- For blog-focused sites (use Astro's blog template instead)
- For e-commerce or dynamic web applications (use full-stack frameworks)
- For single-page applications requiring client-side routing (use React/Vue/Svelte)
- For sites requiring server-side rendering on every request (use Next.js/Nuxt)
- For non-documentation content-heavy sites (use general Astro templates)
Core Concepts
Architecture Overview
┌─────────────────────────────────────────────────────────────────┐
│ Starlight Site │
└─────────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────┐
│ Content Layer │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────────┐ │
│ │ Markdown │ │ MDX │ │ Markdoc │ │ Frontmatter │ │
│ │ (.md) │ │ (.mdx) │ │ (.mdoc) │ │ (YAML) │ │
│ └──────────┘ └──────────┘ └──────────┘ └───────────────┘ │
└───────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────┐
│ Starlight Features │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌───────────────┐ │
│ │ Sidebar │ │ Search │ │ i18n │ │ Components │ │
│ │Navigation│ │(Pagefind)│ │ (20+lang)│ │ (Tabs,Cards) │ │
│ └──────────┘ └──────────┘ └──────────┘ └───────────────┘ │
└───────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────┐
│ Astro Build │
│ ┌──────────────────────────────────────────────────────────┐ │
│ │ Static HTML + CSS + Optimized Assets + Sitemap + RSS │ │
│ └──────────────────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────┐
│ Deployment │
│ Vercel | Netlify | Cloudflare Pages | GitHub Pages | Static │
└───────────────────────────────────────────────────────────────┘
Technology Stack
| Layer | Technology | Purpose |
|---|---|---|
| Framework | Astro | Static site generation with island architecture |
| Content | Markdown/MDX/Markdoc | Documentation authoring formats |
| Styling | CSS/Tailwind | Custom theming and styling |
| Search | Pagefind | Client-side full-text search |
| i18n | Built-in | 20+ language translations |
| Syntax Highlighting | Expressive Code | Code blocks with line highlighting |
| Components | Astro Components | Reusable UI elements |
| Build | Vite | Fast development and production builds |
Installation
Prerequisites
- Node.js 18.17.1 or 20.3.0 or higher (v19 not supported)
- npm, pnpm, or Yarn package manager
Quick Start
# Create new Starlight project (npm)
npm create astro@latest -- --template starlight
# Create new Starlight project (pnpm)
pnpm create astro --template starlight
# Create new Starlight project (Yarn)
yarn create astro --template starlight
With Tailwind CSS
# Create with Tailwind pre-configured
npm create astro@latest -- --template starlight/tailwind
With Markdoc
# Create with Markdoc support
npm create astro@latest -- --template starlight/markdoc
Development Server
# Start development server
npm run dev
# Or with pnpm/yarn
pnpm dev
yarn dev
The development server starts at http://localhost:4321 with hot reload.
Build for Production
# Build static site
npm ru
Установить starlight в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл starlight?
Starlight - Full-featured documentation theme built on Astro for creating beautiful, accessible, high-performance documentation websites with built-in search, i18n, and customizable components
Как установить скилл starlight?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл starlight запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub