cloudflare-deploy

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

Updated Jun 14, 2026
One-click install
npx skills add https://github.com/ironkid90-s/lucky5-v7 --skill cloudflare-deploy-ironkid90-s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-deploy
Source: https://github.com/ironkid90-s/lucky5-v7/tree/main/.github/skills/cloudflare-deploy
Command: npx skills add https://github.com/ironkid90-s/lucky5-v7 --skill cloudflare-deploy-ironkid90-s

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (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 your deployment request to the correct Cloudflare product and provides the configuration steps to get it live. ## Core Features & Use Cases - Product Decision Trees: Maps requirements like running code, storing data, AI inference, networking, security, and media to the right Cloudflare service such as Workers, Pages, D1, R2, KV, or Durable Objects. - Deployment Guidance: Covers Wrangler CLI authentication, wrangler deploy, Pages deploys, and CI/CD token setup with CLOUDFLARE_API_TOKEN. - Deep Reference Library: Includes per-product references with configuration, API, patterns, and troubleshooting files for over 50 Cloudflare services. - Use Case: You have a full-stack web app and want it hosted on Cloudflare. The Skill identifies Pages for Git-based deploys or Workers for serverless functions, then walks through authentication, wrangler configuration, and deployment. ## Quick Start Deploy this project to Cloudflare using the appropriate Workers or Pages setup and return the live URL 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?

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 and edge logic executed per request. Use Pages for full-stack web apps with Git-based deployments and static asset hosting. Pages Functions adds serverless endpoints to Pages projects.

What Cloudflare storage should I use for my data?

Use KV for key-value config and sessions, D1 for relational SQLite data, R2 for S3-compatible object storage, Queues for async messaging, and Durable Objects for strongly-consistent per-entity state. The choice depends on consistency and query needs.

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. The token authenticates wrangler deploy and wrangler pages deploy commands non-interactively.

Why does my Cloudflare deployment fail with network errors?

Sandboxed environments may block outbound network calls needed for deployment, causing timeouts or DNS errors. Rerun the deploy command with escalated network permissions to allow the connection to Cloudflare's API.

Does Cloudflare support infrastructure as code deployments?

Yes, Cloudflare supports Terraform via its official provider, Pulumi, and a REST API for infrastructure as code. The Terraform provider v5 renamed many resources, so check migration notes when upgrading from v4.