Cloudflare Architecture

Choose Cloudflare Developer Platform primitives and architecture shapes before writing code. Use for Cloudflare Workers, Durable Objects, D1, R2, Queues, Workflows, Containers, Realtime, Workers AI, Vectorize, AI Search, Agents, cost, limits, and migration decisions.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add zllovesuki/cloudflare-agent-skills --skill cloudflare-architecture
Manual install
git clone --depth 1 https://github.com/zllovesuki/cloudflare-agent-skills.git /tmp/cloudflare-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cloudflare-agent-skills/skills/cloudflare-architecture ~/.claude/skills/cloudflare-architecture

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cloudflare Architecture

Use this skill before implementing a Cloudflare application or migrating an existing system. The goal is to map requirements to primitives, not to recreate an AWS/Azure/GCP architecture one service at a time.

## Default stance

- Treat Cloudflare as a set of composable primitives: compute, coordination, storage, queues, workflows, object storage, AI, and bindings.
- Build horizontal systems. Prefer many small state partitions over one central bottleneck.
- Prefer bindings over public HTTP calls when one Worker talks to Cloudflare resources or another Worker.
- Keep stateless code in Workers and move coordination/state serialization to Durable Objects.
- Do not assume every workload belongs on Cloudflare. Reject Cloudflare early when hard runtime, protocol, memory, or operational constraints dominate.

## First-pass architecture decision

Ask and answer these in the design notes before writing code:

1. **Does the workload fit Cloudflare's hard constraints?** Check memory, CPU, body size, protocol, duration, regional/data residency, and product-specific limits.
2. **What is the coordination atom?** Identify the smallest entity that needs serialized state: user, tenant, room, document, game, checkout, import job, or workflow instance.
3. **Where does each kind of data live?** Separate relational records, blobs, cache, vector/search data, coordination state, and external database state.
Read the full skill on GitHub

Details

Skill name
cloudflare-architecture
Path
skills/cloudflare-architecture/SKILL.md
Repo updated
28 April 2026

FAQ

What does the Cloudflare Architecture skill do?

Choose Cloudflare Developer Platform primitives and architecture shapes before writing code. Use for Cloudflare Workers, Durable Objects, D1, R2, Queues, Workflows, Containers, Realtime, Workers AI, Vectorize, AI Search, Agents, cost, limits, and migration decisions.

How do I install the Cloudflare Architecture skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add zllovesuki/cloudflare-agent-skills --skill cloudflare-architecture. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cloudflare Architecture popular?

It lives in zllovesuki/cloudflare-agent-skills, which has 9 GitHub stars and 0 forks.

Related skills

Agents

9

zllovesuki/cloudflare-agent-skills

Build Cloudflare Agents SDK applications for autonomous multi-step tool use, AIChatAgent chat agents, Durable Object-backed state, tools, scheduling, callable methods, WebSockets, SQL state, and constrained agent behavior. Use when RAG or Workflows are not enough.

AI, LLMs & Agents

Containers

9

zllovesuki/cloudflare-agent-skills

Decide when to use Cloudflare Containers instead of Workers and design container-backed workloads, native binaries, long-running processes, image processing, larger runtime shapes, and Worker frontends. Use as an escape hatch when Workers constraints do not fit.

DevOps & Cloud

Cost Optimization

9

zllovesuki/cloudflare-agent-skills

Optimize Cloudflare Developer Platform costs for Workers CPU vs wall time, D1 operations, KV reads/writes, R2 storage/egress, Durable Object hotspots, Queues, Workflows, Workers AI tokens, and architecture-level trade-offs. Use during design and production reviews.

Software Development

Network Debug

5

franco-bianco/claude-skills

Inspect HTTP traffic captured by PowHTTP MCP proxy. Use when fixing request mismatches in existing code or building new API flows from browser traffic.

Software Development

Paddle Catalog Setup

9

PaddleHQ/paddle-agent-skills

Create the Paddle products and prices that other Paddle skills depend on — try MCP tools first, then the Paddle CLI, fall back to a Node SDK seed script, or dictate dashboard steps as a last resort.

Software Development

Architecture

9

sukirman1901/frontend-expert

Frontend structure — feature folders, state ownership, server/client boundary, when not to add a global store. Use for "arsitektur FE", folder structure, refactor large UI, state management choice, or modularizing an app.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.