astrolisted
Install: claude install-skill svyatov/agent-toolkit
# Astro
Astro is the web framework for content-driven websites: server-first, static HTML by default, with opt-in interactive islands.
**Always consult the official docs for the latest API details.** Astro no longer publishes `llms.txt` files. Use the Astro Docs MCP server when it is configured (`claude mcp add --transport http "Astro docs" https://mcp.docs.astro.build/mcp`); otherwise fetch the relevant page under `https://docs.astro.build/en/`.
You already know Astro fundamentals — `.astro` component syntax, `client:*` directives, file-based routing, middleware, scoped styles. This skill covers what changed in v5 through v7 and the newer APIs you may know imperfectly. When unsure, fetch the docs above instead of guessing.
## Astro v7 Key Changes
- **Vite 8**
- **Rust compiler** is the only compiler: unclosed non-void tags are build errors, and invalid HTML is no longer auto-corrected
- **Sätteri** is the default Markdown pipeline; `@astrojs/markdown-remark` is no longer installed by default, so remark/rehype plugins must be ported or opted back in
- `compressHTML: 'jsx'` is the default whitespace handling
- `src/fetch.ts` is a reserved file name
- **`@astrojs/db` removed**; use `node:sqlite` or another database
- `TRANSITION_*` constants and `createAnimationScope()` removed from `astro:transitions`; the string event names still work
- Migration guide: `https://docs.astro.build/en/guides/upgrade-to/v7/`
## Astro v6 Key Changes
- **Node.js 22.12.0+** required (Node 18