Skip to content
Skillpedia
Deploy & cloud (DevOps)33k Β· #8739

cloudflare-deploy

What it does

This skill guides deploying apps and infrastructure to Cloudflare using Workers, Pages and related services. It is for people who want to host or publish a project on Cloudflare.

When to use it

  • βœ“When you ask to publish or host a website on Cloudflare.
  • βœ“When you need to pick between Cloudflare Workers, Pages, storage or scheduled tasks.
  • βœ“When a Cloudflare deploy command needs a login or access token before it can run.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/cloudflare-deploy/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/cloudflare-deploy/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œDeploy my project to Cloudflare so it is live on the web.”

5 new skills a week. 1 minute to read.

How it works

It checks that you are logged in to Cloudflare first. Then it uses a short decision guide to choose the right Cloudflare product and follows its reference notes for the deploy.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Cloudflare Deploy

Consolidated skill for building on the Cloudflare platform. Use decision trees below to find the right product, then load detailed references.

Prerequisites

  • When sandboxing blocks the deployment network calls, rerun with sandbox_permissions=require_escalated.
  • The deployment might take a few minutes. Use appropriate timeout values.

Authentication (Required Before Deploy)

Verify auth before wrangler deploy, wrangler pages deploy, or npm run deploy:

npx wrangler whoami    # Shows account if authenticated

Not authenticated? β†’ references/wrangler/auth.md

  • Interactive/local: wrangler login (one-time OAuth)
  • CI/CD: Set CLOUDFLARE_API_TOKEN env var

Quick Decision Trees

"I need to run code"

Need to run code?
β”œβ”€ Serverless functions at the edge β†’ workers/
β”œβ”€ Full-stack web app with Git deploys β†’ pages/
β”œβ”€ Stateful coordination/real-time β†’ durable-objects/
β”œβ”€ Long-running multi-step jobs β†’ workflows/
β”œβ”€ Run containers β†’ containers/
β”œβ”€ Multi-tenant (customers deploy code) β†’ workers-for-platforms/
β”œβ”€ Scheduled tasks (cron) β†’ cron-triggers/
β”œβ”€ Lightweight edge logic (modify HTTP) β†’ snippets/
β”œβ”€ Process Worker execution events (logs/observability) β†’ tail-workers/
└─ Optimize latency to backend infrastructure β†’ smart-placement/

"I need to store data"

Need storage?
β”œβ”€ Key-value (config, sessions, cache) β†’ kv/
β”œβ”€ Relational SQL β†’ d1/ (SQLite) or hyperdrive/ (existing Postgres/MySQL)
β”œβ”€ Object/file storage (S3-compatible) β†’ r2/
β”œβ”€ Message queue (async processing) β†’ queues/
β”œβ”€ Vector embeddings (AI/semantic search) β†’ vectorize/
β”œβ”€ Strongly-consistent per-entity state β†’ durable-objects/ (DO storage)
β”œβ”€ Secrets management β†’ secrets-store/
β”œβ”€ Streaming ETL to R2 β†’ pipelines/
└─ Persistent cache (long-term retention) β†’ cache-reserve/

"I need AI/ML"

Need AI?
β”œβ”€ Run inference (LLMs, embeddings, images) β†’ workers-ai/
β”œβ”€ Vector database for RAG/search β†’ vectorize/
β”œβ”€ Build stateful AI agents β†’ agents-sdk/
β”œβ”€ Gateway for any AI provider (caching, routing) β†’ ai-gateway/
└─ AI-powered search widget β†’ ai-search/

"I need networking/connectivity"

Need networking?
β”œβ”€ Expose local service to internet β†’ tunnel/
β”œβ”€ TCP/UDP proxy (non-HTTP) β†’ spectrum/
β”œβ”€ WebRTC TURN server β†’ turn/
β”œβ”€ Private network connectivity β†’ network-interconnect/
β”œβ”€ Optimize routing β†’ argo-smart-routing/
β”œβ”€ Optimize latency to backend (not user) β†’ smart-placement/
└─ Real-time video/audio β†’ realtimekit/ or realtime-sfu/

"I need security"

Need security?
β”œβ”€ Web Application Firewall β†’ waf/
β”œβ”€ DDoS protection β†’ ddos/
β”œβ”€ Bot detection/management β†’ bot-management/
β”œβ”€ API protection β†’ api-shield/
β”œβ”€ CAPTCHA alternative β†’ turnstile/
└─ Credential leak detection β†’ waf/ (managed ruleset)

"I need media/content"

Need media?
β”œβ”€ Image optimization/transformation β†’ images/
β”œβ”€ Video streaming/encoding β†’ stream/
β”œβ”€ Browser automation/screenshots β†’ browser-rendering/
└─ Third-party script management β†’ zaraz/

"I need infrastructure-as-code"

Need IaC? β†’ pulumi/ (Pulumi), terraform/ (Terraform), or api/ (REST API)

Product Index

Compute & Runtime

Product Reference
Workers references/workers/
Pages references/pages/
Pages Functions references/pages-functions/
Durable Objects references/durable-objects/
Workflows references/workflows/
Containers references/containers/
Workers for Platforms references/workers-for-platforms/
Cron Triggers references/cron-triggers/
Tail Workers references/tail-workers/
Snippets references/snippets/
Smart Placement references/smart-placement/

Storage & Data

Product Reference
KV references/kv/
D1 references/d1/
R2 references/r2/
Queues references/queues/
Hyperdrive references/hyperdrive/
DO Storage references/do-storage/
Secrets Store references/secrets-store/
Pipelines references/pipelines/
R2 Data Catalog references/r2-data-catalog/
R2 SQL references/r2-sql/

AI & Machine Learning

Product Reference
Workers AI references/workers-ai/
Vectorize references/vectorize/
Agents SDK references/agents-sdk/
AI Gateway references/ai-gateway/
AI Search references/ai-search/

Networking & Connectivity

| Product

FAQ

How do I log in before deploying?

Run the Wrangler login command once, or set a Cloudflare API token for automated runs.

Can it help me choose between Workers and Pages?

Yes. The skill has decision guides that match your project type to a Cloudflare product.

Does it cover data storage too?

Yes. It includes options such as key-value storage for config, sessions and cache.

Details

Original description by the author

Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8739
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills