From fuse-astro
Deploying 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fuse-astro:astro-deploymentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Production deployment for Astro 6 across all major platforms — Cloudflare, Vercel, Netlify, and Node.js.
Production deployment for Astro 6 across all major platforms — Cloudflare, Vercel, Netlify, and Node.js.
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
| Platform | Package | Runtime | Notes |
|---|---|---|---|
| Cloudflare | @astrojs/cloudflare v13+ | workerd | Astro 6: astro dev runs on workerd |
| Vercel | @astrojs/vercel | Node/Edge | Image CDN built-in |
| Netlify | @astrojs/netlify | Edge | Deno-based edge functions |
| Node.js | @astrojs/node | Node | Standalone server mode |
output: 'static' — Full SSG, no adapter neededoutput: 'server' — Full SSR, adapter requiredexport const prerender = true/falseAstro 6 runs astro dev on workerd — same runtime as production. Enables D1, KV, R2 bindings in local dev via platformProxy. No more simulation gaps. Requires @astrojs/cloudflare v13+ and Node.js 22+.
Astro has no native ISR. Implement with platform caching: Cloudflare KV as cache layer, or Vercel's Cache-Control with stale-while-revalidate.
On Vercel, enable skew protection to prevent asset mismatches between old client and new server during deployments.
| Topic | Reference | When to Consult |
|---|---|---|
| Cloudflare | cloudflare-adapter.md | Workers, D1, KV, R2, wrangler |
| Vercel | vercel-adapter.md | Serverless, Edge, Image CDN |
| Netlify | netlify-adapter.md | Edge Functions, forms |
| Node.js | node-adapter.md | Standalone, Express integration |
| ISR Patterns | isr-patterns.md | Cache strategies, revalidation |
| Edge Middleware | edge-middleware.md | Auth, redirects, A/B testing |
| Template | When to Use |
|---|---|
| cloudflare-setup.md | Full Cloudflare config with bindings |
| vercel-setup.md | Vercel config with Edge/Image CDN |
npx claudepluginhub fusengine/agents --plugin fuse-astroConfigures Astro adapters, environment variables, and build output for deploying to Vercel, Node.js, Cloudflare, and Netlify. Use when setting up or switching deployment targets.
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.
Guides Astro rendering strategy decisions (SSG, SSR, hybrid), islands architecture with hydration directives, and content collections. Includes adapter configuration for Cloudflare and other platforms.