cloudflare-pages

Automates deployment and management of apps on Cloudflare Pages via Wrangler.

22|1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/itechmeat/llm-code --skill cloudflare-pages-itechmeat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-pages
Source: https://github.com/itechmeat/llm-code/tree/main/skills/cloudflare-pages
Command: npx skills add https://github.com/itechmeat/llm-code --skill cloudflare-pages-itechmeat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deploying and managing full-stack apps on Cloudflare Pages typically requires juggling Git workflows, Direct Uploads, Wrangler CLI, and various Pages features. This skill consolidates those tasks into a single, repeatable process, reducing setup time and drift across projects.

Core Features & Use Cases

  • Git-based deployments: automate preview and production deployments from version control.
  • Direct Upload and Wrangler integration: publish prebuilt assets and configure build outputs with minimal commands.
  • Pages Functions, bindings, and custom domains: wire serverless routes, data bindings (KV, R2, D1, etc.), and domain management for end-to-end hosting.
  • Headers/Redirects and build configuration: manage routing and edge configurations to optimize delivery. Use Case: You are releasing a new static site with serverless endpoints; use this Skill to deploy the app from a branch and expose development previews to stakeholders.

Quick Start

Use the Cloudflare Pages skill to bootstrap and deploy a project with Wrangler:

  • Create a project: npx wrangler pages project create my-project
  • Deploy to production: npx wrangler pages deploy ./dist
  • Publish a preview: npx wrangler pages deploy ./dist --branch=feature-x

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 full-stack app to Cloudflare Pages using Wrangler?

To deploy a full-stack app to Cloudflare Pages, create a project with Wrangler and run `npx wrangler pages deploy ./dist` to publish prebuilt assets directly. This applies to both Git-based workflows and Direct Upload scenarios.

Can I use Git-based deployments for preview and production environments on Cloudflare Pages?

Yes, Cloudflare Pages supports Git-based deployments to automate preview and production builds from version control branches. You can publish previews by deploying to a specific branch name like `--branch=feature-x`.

Does Cloudflare Pages support serverless functions and data bindings?

Cloudflare Pages supports serverless routing through Pages Functions and allows you to wire data bindings like KV, R2, and D1. This enables full-stack application hosting with edge data access.

What is the best way to manage headers and redirects for a static site on Cloudflare Pages?

The best way to manage headers and redirects for Cloudflare Pages is through build configuration and edge configurations. This optimizes content delivery and manages routing rules for your deployed project.

How do I configure a custom domain for an existing Cloudflare Pages deployment?

To configure a custom domain for Cloudflare Pages, use the ongoing management features to wire domain management settings for end-to-end hosting. This is supported alongside Pages Functions and bindings.