Works with the AI Agents you already use

    Astro + Cloudflare Pages - Deploy

    by Joan Tomás Miralles

    2

    Automate the complete deployment of Astro projects on Cloudflare Pages: configuration, CI/CD with GitHub Actions, edge functions, SSL domains, and SSR error resolution.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Astro + Cloudflare Pages - Deploy

    Astro + Cloudflare Pages - Deploy

    Example session with this skill installed

    Set up my Astro project to deploy to Cloudflare Pages using SSR mode and GitHub Actions.

    • Read your context and instructions
    • Compiled the astro + cloudflare

    I've updated your astro.config.mjs to use the Cloudflare adapter in 'server' mode. I also created a wrangler.toml with nodejs_compat flags and a .github/workflows/deploy.yml file that handles automated builds and deployments on every push. Your SSR routes are now ready for the edge runtime.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Astro Deployment Skill

    Deploy your Astro project on Cloudflare Pages

    A complete deployment guide for Astro 5+ on Cloudflare Pages, covering everything from astro add cloudflare to production-ready CI/CD, Edge Functions, custom domains, and deployment troubleshooting.

    Included in this Skill

    Main SKILL.md

    SSG, SSR and Hybrid decision guide with a complete quick start.

    Deployment Checklist

    More than 20 validation steps covering build, deployment and production.

    GitHub Actions

    Ready-to-use CI/CD workflows with automatic deployments and preview environments.

    Troubleshooting

    Solutions for adapter issues, SSR errors, CSP, redirects and common production problems.

    Edge Functions

    Authentication, KV rate limiting, A/B testing and geolocation examples.

    Domains & SSL

    DNS configuration, HTTPS, redirects and recommended security headers.

    Deployment Script

    Automated deployment validation with a complete six-step verification process.

    Environment Validator

    Node.js script to verify required environment variables before deployment.

    Configuration Examples

    Production-ready astro.config.mjs and wrangler.toml examples.

    Technology Stack

    • Astro 5+
    • Cloudflare Pages
    • Wrangler
    • GitHub Actions
    • Tailwind CSS
    • TypeScript
    • SSR
    • Hybrid

    Who is this for?

    • Developers deploying Astro applications to Cloudflare Pages.
    • Teams migrating from Vercel or Netlify.
    • Projects using SSR, authentication or Edge Functions.

    Time Saved

    • 2–5 hours of Cloudflare documentation.
    • 1–3 hours configuring GitHub Actions.
    • 30–60 minutes per deployment issue.
    • DNS and SSL configuration completed in minutes.

    • Requires Cloudflare account and Wrangler CLI.
    • No support for Cloudflare Workers (advanced mode) legacy configurations.
    • GitHub Actions require repository secret permissions.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Accounts
    Tusitio
    Software
    astroNode.jsWrangler

    Permissions

    Terminal / Shell
    Read Files
    Network Access
    Environment Variables

    Allowed Hosts

    tusitio.com
    Listed5 months ago

    What's inside

    Creator

    Joan Tomás Miralles

    Joan Tomás Miralles

    Frequently Asked Questions

    This skill provides a comprehensive automation framework to handle the entire deployment lifecycle of Astro 5+ projects on Cloudflare Pages, solving common issues with SSR configuration, Edge Functions, and CI/CD pipeline setup.

    This skill is optimized for Astro 5+ and supports Static Site Generation (SSG), Server-Side Rendering (SSR), and Hybrid output modes using the official Cloudflare adapter.

    You receive a complete deployment toolkit including production-ready GitHub Actions workflows, a 20-step validation checklist, environment variable validators, and pre-configured wrangler.toml and astro.config.mjs examples.

    Yes, it includes specialized troubleshooting guides and configuration examples for Edge Functions, covering advanced use cases like KV rate limiting, geolocation, and A/B testing.

    This skill is compatible with any AI agent capable of processing Markdown-based instructions and executing Node.js-based scripts, such as Windsurf, Cursor, or GitHub Copilot Workspace.

    The package includes an environment validator script and a six-step deployment verification process to ensure your DNS, SSL, and security headers are correctly configured before you go live.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.