cloudflare-workers

Builds a minimal Cloudflare Worker API with R2, KV, and Durable Objects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/CavellTopDev/pitchey-app --skill cloudflare-workers-cavelltopdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-workers
Source: https://github.com/CavellTopDev/pitchey-app/tree/main/.claude/skills/cloudflare-workers
Command: npx skills add https://github.com/CavellTopDev/pitchey-app --skill cloudflare-workers-cavelltopdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cloudflare Workers enable developers to run code at the edge, but building robust edge APIs requires canonical patterns for request handling, storage integration, and real-time coordination. This Skill compiles reusable edge patterns to accelerate API deployment, routing, and data binding across Cloudflare's edge network.

Core Features & Use Cases

  • Basic Worker Handler for API endpoints
  • Hyperdrive/DB access, R2 storage, and KV caching
  • Durable Objects for synchronized real-time-like interactions across clients
  • Guidance on wrangler.json configuration and bindings
  • Use Case: quickly spin up a minimal edge API and progressively integrate storage and state

Quick Start

Deploy a minimal Cloudflare Worker quickly and progressively extend it with R2, KV, and Durable Objects as your API needs grow.

Frequently Asked Questions about cloudflare-workers

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

FAQPage Schema
How do I build a scalable edge API with Cloudflare Workers?

To build a scalable edge API with Cloudflare Workers, use fetch-based handler patterns to route requests and configure bindings in wrangler.json to integrate storage solutions like R2 and KV for caching and data retrieval.

What is the best way to integrate R2 storage and KV caching in a Cloudflare Worker?

Integrate R2 storage and KV caching in a Cloudflare Worker by configuring wrangler.json bindings, applying fetch-based handler patterns to route requests, and securely managing data access across Cloudflare's edge network.

How do Durable Objects enable real-time coordination at the edge?

Durable Objects enable real-time coordination at the edge by providing synchronized state management across multiple clients, allowing concurrent interactions within Cloudflare Workers without relying on external centralized databases.

Can I progressively add storage and state to a minimal Cloudflare Worker API?

Yes, you can progressively add storage and state to a minimal Cloudflare Worker API by starting with a basic fetch handler and sequentially integrating R2 for object storage, KV for caching, and Durable Objects for state.

Does this approach provide guidance on configuring wrangler.json bindings for edge routing?

Yes, this approach provides explicit guidance on configuring wrangler.json bindings, enabling secure and efficient connections between your edge routing logic and Cloudflare storage resources like R2, KV, and Durable Objects.