Astro Documentation
Astro framework documentation. Use for content-focused sites, islands architecture, SSG/SSR, components, routing, and framework integrations.
Quick Reference
| Task | Entry Point |
|---|---|
| Getting started | contents/getting-started.mdx |
| Installation | contents/install-and-setup.mdx |
| Core concepts | contents/basics/ |
| API reference | contents/reference/api-reference.mdx |
| Configuration | contents/reference/configuration-reference.mdx |
| CLI commands | contents/reference/cli-reference.mdx |
| Tutorial | contents/tutorial/ |
| Error troubleshooting | contents/reference/errors/ |
When to use
Use this skill when the user asks about:
- •Astro framework features and concepts
- •Islands architecture and partial hydration
- •Static site generation (SSG) and server-side rendering (SSR)
- •Astro components, pages, and layouts
- •Content collections and Markdown/MDX
- •Framework integrations (React, Vue, Svelte, etc.)
- •Deployment and configuration
- •API endpoints and middleware
- •Image optimization and asset handling
- •Routing and navigation
How to find information
- •First, read
TOC.mdfor complete file listing organized by directory - •Identify relevant section based on user's question:
- •
basics/- Fundamental concepts (components, pages, layouts) - •
concepts/- Architecture principles (islands, why Astro) - •
guides/- Feature guides and integrations - •
reference/- API documentation and error codes - •
recipes/- Practical how-to examples - •
tutorial/- Step-by-step learning path
- •
- •Read specific files for details
TOC.md contains all files organized by directory - always check it first.