Skip to content

Astro Docs Skill

Scaffold Astro projects, components, and content collections with correct v5 patterns — automatically.

Project Scaffolding

Create complete Astro projects — blogs, docs sites, e-commerce, portfolios, and landing pages — with correct v5 structure.

Component Patterns

Scaffold individual components, pages, layouts, and islands with proper TypeScript props, slots, and scoped styles.

Content Layer API

Set up content collections with the new Content Layer API, including glob() / file() loaders and Zod schemas.

Auto-Detection

Automatically activates when working with .astro files or Astro project structure — no manual invocation needed.

Starlight Docs

Full support for scaffolding Starlight documentation sites with sidebar config, i18n, and content structure.

Live Docs Fallback

For edge cases or unfamiliar APIs, fetches live documentation from docs.astro.build using context7 or firecrawl.

The skill auto-activates when:

  • You ask to create a new Astro project or site
  • You’re scaffolding components, pages, layouts, or islands
  • You ask about content collections, view transitions, or islands
  • The working directory contains .astro files or astro.config.*
  • You mention “Astro”, “Starlight”, or “astro components”