Engineering
cloudflare-pages avatar

cloudflare-pages

Cloudflare Pages skill for deploying JAMstack applications, managing serverless functions, and configuring Git-based CI/CD workflows.

Introduction

The Cloudflare Pages skill is a powerful automation tool designed for developers and DevOps engineers to manage full-stack JAMstack deployments on Cloudflare's global edge network. This skill streamlines the integration between Git repositories and Cloudflare infrastructure, providing a zero-configuration environment for hosting static assets and serverless functions. It is ideal for teams looking to automate the lifecycle of web applications, including preview deployments, environment variable management, and custom domain routing. By utilizing this skill, you can maintain consistency across development, staging, and production environments without manual intervention in the Cloudflare dashboard.

  • Automated deployment of static sites and full-stack JAMstack applications using Git integration (GitHub, GitLab, and Bitbucket).

  • Seamless configuration and management of serverless Pages Functions, including native bindings to Workers, KV, R2, D1, and Durable Objects.

  • Built-in support for framework-specific presets, including Next.js, Astro, SvelteKit, Remix, and more, ensuring optimized build outputs.

  • Advanced routing control using _headers, _redirects, and _routes.json files for granular traffic management at the edge.

  • Real-time management of system environment variables (CF_PAGES, CF_PAGES_COMMIT_SHA) and custom secret storage.

  • Best suited for web applications that require low latency via a global CDN and edge computing capabilities.

  • Use the skill to troubleshoot build failures, manage preview URLs for collaborative development, and configure build output directories.

  • Not recommended for general Cloudflare CDN or DNS configurations; use dedicated skills for those infrastructure tasks.

  • Ensure build commands and output directories match the specific framework requirements (e.g., dist, build, .vercel/output/static) to prevent deployment errors.

  • The skill enforces a 20-minute build timeout limit; complex projects should be optimized accordingly or modularized for serverless execution.

Repository Stats

Stars
12
Forks
2
Open Issues
11
Language
Python
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 05:52 AM
View on GitHub