cloudflare-deploy

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

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/mewishu/awesome-skills --skill cloudflare-deploy-mewishu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-deploy
Source: https://github.com/mewishu/awesome-skills/tree/main/skills/pattern/decision-tree/cloudflare-deploy
Command: npx skills add https://github.com/mewishu/awesome-skills --skill cloudflare-deploy-mewishu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Choosing among Cloudflare's dozens of products and deploying to them correctly is confusing and error-prone. This Skill routes your deployment request to the right Cloudflare product and provides the exact configuration, authentication, and troubleshooting steps needed to ship. ## Core Features & Use Cases - Decision Trees for Product Selection: Maps needs like "run code", "store data", "AI/ML", "networking", "security", and "media" to the correct Cloudflare product (Workers, Pages, D1, R2, KV, Durable Objects, Workers AI, and more). - Authentication & Deployment Guidance: Verifies Wrangler authentication before deploys, handles CI/CD tokens, and recovers from sandbox network failures with escalated permissions. - Deep Product References: Loads detailed per-product references covering configuration, APIs, patterns, and gotchas for over 50 Cloudflare services. - Use Case: Ask to deploy a full-stack app with a database, and the Skill routes you to Pages or Workers plus D1, then walks through wrangler setup, migration, and deployment. ## Quick Start Deploy this project to Cloudflare Workers and return the live URL, configuration, and any 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 application to Cloudflare Workers?

Authenticate with wrangler login or set the CLOUDFLARE_API_TOKEN environment variable, then run wrangler deploy from your project directory. Verify authentication first with npx wrangler whoami to confirm your account.

Cloudflare Workers vs Pages: which should I use?

Use Workers for serverless functions, APIs, and edge logic; use Pages for full-stack web apps with Git-based deploys and static sites. The decision trees in this Skill map your exact need to the right product.

Which Cloudflare storage should I use for my data?

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

Why does my Cloudflare deployment fail with network errors?

Sandboxed environments can block outbound deployment requests, causing timeouts or DNS errors. Rerun the deploy command with sandbox_permissions set to require_escalated to allow the network access.

Can I deploy to Cloudflare from a CI/CD pipeline?

Yes, set the CLOUDFLARE_API_TOKEN environment variable in your CI environment instead of using interactive wrangler login. Then run wrangler deploy or npm run deploy as part of your pipeline.

How do I test Cloudflare Workers locally before deploying?

Use wrangler dev for local development with hot reload, or Miniflare for programmatic integration tests with full runtime APIs like KV, D1, and Durable Objects without internet access.