From fuse-astro
Expert Astro 6 framework — routing, output modes, middleware, Vite Environment API, Rust compiler, Content Security Policy, Live Collections, Fonts API. Use when building Astro sites, configuring output, or upgrading from Astro 5.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fuse-astro:astro-6The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Production-ready web framework for content-driven sites with unified dev runtime and Islands Architecture.
Production-ready web framework for content-driven sites with unified dev runtime and Islands Architecture.
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
| Feature | Benefit |
|---|---|
| Unified Dev Runtime | Dev matches production — fewer "works in dev, breaks in prod" bugs |
| Vite Environment API | Exact production runtime during development |
| Rust Compiler | Faster .astro file compilation, replaces Go compiler |
| Live Content Collections | Real-time data from external sources |
| Built-in Fonts API | Zero-config font loading with performance optimization |
| CSP Support | Built-in Content Security Policy nonce management |
| Cloudflare Workers | First-class support with workerd runtime in dev |
| Mode | Description | Use Case |
|---|---|---|
static (default) | All pages prerendered at build | Blogs, docs, marketing |
server | All pages rendered on demand | Apps, dashboards, auth |
hybrid | Mix static + on-demand | Most production sites |
src/pages/ maps directly to URLs[slug].astro, [...all].astroexport const prerender = false/true.ts/.js files in src/pages/ for API routes| Need | Reference |
|---|---|
| Initial setup | installation.md |
| Routing patterns | routing.md |
| Output configuration | output-modes.md |
| Middleware setup | middleware.md |
| astro.config.ts | config.md |
| New Astro 6 features | new-features.md |
| Full project setup | templates/basic-setup.md |
| Config examples | templates/config-example.md |
output: 'static' by default — Add server only when neededprerender — Fine-grained control in hybrid modenpx claudepluginhub fusengine/agents --plugin fuse-astroDeploying Astro 6 apps — @astrojs/cloudflare (Workers, D1, KV, R2), @astrojs/vercel (Serverless/Edge, Image CDN), @astrojs/netlify (Edge Functions), @astrojs/node (standalone), ISR patterns, edge middleware, skew protection. Use for any deployment configuration.
Builds content-focused websites with Astro using islands architecture, zero-JS-by-default output, multi-framework components, and Markdown/MDX support. Useful for blogs, docs, portfolios, and marketing sites.
Comprehensive best practices, routing patterns, component architecture, and static site generation techniques for building high-performance Astro websites.