cloudflare-deploy

Deploy applications and infrastructure to Cloudflare using Workers, Pages, and platform services.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill cloudflare-deploy-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-deploy
Source: https://github.com/CHENHUI-X/toolbox/tree/main/codex-skill/codex/cloudflare-deploy
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill cloudflare-deploy-chenhui-x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Choosing and configuring the right Cloudflare product for a deployment is difficult because the platform spans dozens of compute, storage, AI, networking, and security services. This Skill routes deployment requests to the correct Cloudflare product and provides the configuration, authentication, and troubleshooting guidance needed to ship. ## Core Features & Use Cases - Product Decision Trees: Route requests to the right service across compute (Workers, Pages, Durable Objects, Workflows, Containers), storage (KV, D1, R2, Queues, Vectorize), AI (Workers AI, AI Gateway, Agents SDK), networking (Tunnel, Spectrum), and security (WAF, DDoS, Bot Management). - Authentication & Deployment Guidance: Verify Wrangler authentication via wrangler whoami, configure CLOUDFLARE_API_TOKEN for CI/CD, and handle sandbox network escalation for blocked deploys. - Deep Product References: Load detailed per-product references covering configuration, APIs, patterns, and gotchas for over 50 Cloudflare services. - Use Case: A user asks to host a full-stack app with a database on Cloudflare. The Skill routes to Pages for the frontend, D1 for the database, walks through Wrangler authentication, and deploys with the correct wrangler.jsonc bindings. ## Quick Start Deploy this app to Cloudflare using Workers or Pages and return the URL, configuration, and required environment variables.

Frequently Asked Questions about cloudflare-deploy

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

FAQPage Schema
How do I deploy an app to Cloudflare Workers or Pages?

Authenticate with wrangler login or set the CLOUDFLARE_API_TOKEN environment variable, then run wrangler deploy for Workers or wrangler pages deploy for Pages. Verify authentication first with npx wrangler whoami.

Which Cloudflare service should I use for my project?

Use Workers for serverless functions, Pages for full-stack web apps with Git deploys, Durable Objects for stateful coordination, KV for key-value config, D1 for relational SQL, R2 for object storage, and Workers AI for model inference. The Skill's decision trees map each requirement to the right product.

Cloudflare Workers vs Pages: which should I choose?

Choose Workers for standalone serverless functions and APIs at the edge. Choose Pages when you need Git-based continuous deployment for a full-stack web application with static assets and optional Pages Functions.

Why does my Cloudflare deployment fail with network errors?

Sandboxed environments can block outbound deployment requests, causing timeouts, DNS errors, or connection resets. Rerun the deploy command with escalated permissions using sandbox_permissions=require_escalated.

Can I manage Cloudflare infrastructure with Terraform or Pulumi?

Yes, the Skill includes references for the Cloudflare Terraform provider (v5) and Pulumi for infrastructure as code. Use cf-terraforming to import existing resources, and never mix Terraform with wrangler.jsonc for the same resources.

How do I store data in a Cloudflare Worker?

Use KV for eventually-consistent key-value config and caching, D1 for serverless SQLite relational data, R2 for S3-compatible object storage, Queues for async messaging, or Durable Objects for strongly-consistent per-entity state.