deployment
Deployment Skill — Astro v6 + Cloudflare Workers
This skill covers the full deploy pipeline for Astro v6 + Cloudflare Workers projects. Use it when:
- Setting up a new project for deployment
- Connecting GitHub repo via Workers Builds (push-to-deploy)
- Deploying to preview or production
- Debugging 500 errors, build failures, or wrangler issues after deploy
- Updating dependencies and checking compatibility
- A deploy that previously worked starts failing
Key Facts
- Astro v6 +
@astrojs/cloudflarev13 targets Workers only (Pages support was removed from the adapter) astro devruns on the realworkerdruntime — if it works locally, it works in production- Static assets served by Workers are free and unlimited — only SSR requests count against quota
- Astro v6 includes Zod 4 built-in (
import { z } from 'astro/zod') — no separate Zod dependency needed - Astro Sessions auto-configure with Workers KV for multi-step form state persistence
- Use Astro Actions for type-safe form handling with built-in validation
- The
fix-wrangler.mjshack from Pages deployments is no longer needed — delete it
More from soborbo/claudeskills
astro-seo
SEO markup patterns for Astro lead generation sites. Meta tags, Open Graph, Schema.org, sitemap, robots. Use for all SEO implementation.
37astro-architecture
Technical architecture for Astro lead generation websites. Use when setting up new projects, configuring build tools, or establishing project foundations. For images use astro-images skill. For SEO use astro-seo skill.
20astro-performance
Core Web Vitals and performance optimization for Astro sites. LCP preloading, font strategy, image patterns, critical path, third-party scripts, Cloudflare Tag Gateway. Use for performance tuning.
18astro-animations
Animation patterns for Astro sites. Scroll animations, micro-interactions, transitions, loading states. Performance-focused, accessibility-aware.
17astro-images
Width-based responsive image patterns for Astro. Local processing, AVIF/WebP/JPG, face-focus, OG generation. Includes Picture and FixedImage components.
14astro-a11y
Accessibility patterns for Astro lead generation sites. WCAG 2.1 AA compliance, screen readers, keyboard navigation, focus management, ARIA. Use for all accessibility implementation.
14