One-click install
npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill cloudflare-pages-bagelhole
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-pages
Source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/infrastructure/cloudflare/cloudflare-pages
Command: npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill cloudflare-pages-bagelhole

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wrangler, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the deployment of static sites and full-stack applications, enabling efficient development workflows with preview builds and edge functions.

Core Features & Use Cases

  • Project Deployment: Connect to Git repositories for automated builds and deployments.
  • Edge Functions: Utilize Cloudflare Workers for serverless backend logic directly on the edge.
  • Custom Domains: Easily configure custom domains for your deployed projects.
  • Use Case: Deploy a new frontend feature branch to a preview URL for team review before merging to production.

Quick Start

Use the cloudflare-pages skill to deploy the 'dist' folder to your 'my-site' project.

Frequently Asked Questions about cloudflare-pages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a static site to Cloudflare Pages?

Deploy a static site to Cloudflare Pages by connecting your Git repository, configuring build commands, and managing environment variables for automated builds and global distribution. This enables efficient deployment workflows directly from your source control.

Can I use edge functions with Cloudflare Pages for serverless backend logic?

Edge functions on Cloudflare Pages utilize Cloudflare Workers for serverless backend logic directly on the edge. This allows you to execute dynamic backend code alongside your static frontend with low latency globally.

How do I set up preview builds for feature branches on Cloudflare Pages?

Preview builds on Cloudflare Pages are generated automatically when you connect a Git repository. Deploying a feature branch creates a unique preview URL for team review before merging changes to production.

Do I need Wrangler to deploy full-stack applications on Cloudflare Pages?

Wrangler is a required dependency for deploying full-stack applications on Cloudflare Pages. It facilitates the integration with Cloudflare's infrastructure, enabling edge functions and automated project builds.

How do I configure custom domains for a deployed Cloudflare Pages project?

Custom domains for a deployed Cloudflare Pages project are easily configured through the platform. This allows you to map your own domain to the globally distributed static site or full-stack application.