/fuse-astro:astro-deploymentfrom fuse-astro
Configures Astro 7 deployment across Cloudflare, Vercel, Netlify, and Node.js adapters. Covers adapter setup, output modes, ISR patterns, and edge middleware for auth/redirects.
Ships in fuse-astro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Also covers output-mode selection (static/server, per-page prerender), Astro 7's stable route caching (cache provider + routeRules, experimental CDN providers per adapter) alongside platform ISR (Vercel isr, Cloudflare KV, stale-while-revalidate headers), and edge middleware for auth/redirects/A-B testing. Does not cover Astro DB setup itself (astro-db) or Islands hydration directives (astro-islands) beyond what's needed to pick a server adapter.
Production deployment for Astro 7 across all major platforms — Cloudflare, Vercel, Netlify, and Node.js.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
After implementation, run fuse-ai-pilot:sniper for validation.
| Platform | Package | Runtime | Notes |
|---|---|---|---|
| Cloudflare | @astrojs/cloudflare v14 (Astro 7) | workerd | astro dev runs on workerd since Astro 6 (v13) |
| Vercel | @astrojs/vercel v11 | Node/Edge | Image CDN built-in |
| Netlify | @astrojs/netlify v8 | Edge | Deno-based edge functions |
| Node.js | @astrojs/node v11 | Node | Standalone server mode |
output: 'static' — Full SSG, no adapter neededoutput: 'server' — Full SSR, adapter requiredexport const prerender = true/falseSince Astro 6, astro dev and astro preview run on workerd via the Cloudflare Vite plugin — same runtime as production, so D1, KV, R2 bindings work locally without platformProxy (no longer a documented adapter option). Access bindings with import { env } from 'cloudflare:workers' (Astro.locals.runtime was removed). Astro 7 requires @astrojs/cloudflare v14 (v13 peers astro ^6) and Node.js 22.23.4+ (the Astro 7.4.7 floor).
Astro 7 ships stable route caching: set a cache.provider (memoryCache(), or the experimental cacheVercel() / cacheNetlify() / cacheCloudflare() CDN providers) and call Astro.cache.set({ maxAge, swr, tags }) or declare routeRules. Platform alternatives remain: Vercel isr, Cloudflare KV as cache layer, or 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 |
engines.node >=22.23.4 (7.4.7); Node 18/20 unsupportedastro dev on workerd exposes local D1/KV/R2 (no platformProxy needed)references/cloudflare-adapter.md (opens in a new tab)references/edge-middleware.md (opens in a new tab)references/isr-patterns.md (opens in a new tab)references/netlify-adapter.md (opens in a new tab)references/node-adapter.md (opens in a new tab)references/templates/cloudflare-setup.md (opens in a new tab)references/templates/vercel-setup.md (opens in a new tab)references/vercel-adapter.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/astro-7Use when building Astro 7 sites, choosing an output mode (static/server, hybrid via per-route prerender), configuring middleware, or upgrading from Astro 5/6./astro-actionsUse when handling form submissions, mutations, or server-side logic with type safety in Astro via defineAction / astro:actions./astro-assetsUse when optimizing images or other assets in Astro — <Image />, <Picture />, getImage(), Fonts API, or OG image generation.npx claudepluginhub fusengine/claude-plugins --plugin fuse-astroOther plugins' skills for the same job