Cloudflare Workers Development

Build, test, and deploy Cloudflare Workers applications with Wrangler CLI.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/2Rds/block-drive-vault --skill cloudflare-workers-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cloudflare Workers Development
Source: https://github.com/2Rds/block-drive-vault/tree/main/cloudflare-toolkit/skills/cloudflare-workers
Command: npx skills add https://github.com/2Rds/block-drive-vault --skill cloudflare-workers-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables developers to build, test, and deploy Cloudflare Workers applications.

Core Features & Use Cases

  • Scaffold and deploy Cloudflare Workers projects with Wrangler
  • Configure Durable Objects, KV, D1, and R2 bindings for edge workloads
  • Local development and testing with wrangler dev, remote bindings, and observability
  • Best practices for security, performance, and operations at the edge

Quick Start

Install Wrangler CLI and initialize a project. Then configure wrangler.toml with bindings for KV, D1, R2, etc, build the project, and deploy to production. For example:

  • Install Wrangler CLI: npm i -g wrangler
  • Initialize project: wrangler init my-worker
  • Login: wrangler login
  • Run: wrangler dev
  • Deploy: wrangler publish

Frequently Asked Questions about Cloudflare Workers Development

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

FAQPage Schema
How do I configure D1 and R2 bindings for Cloudflare Workers?

You configure D1 and R2 bindings for Cloudflare Workers by defining them in your wrangler.toml file, enabling edge workloads to interact with these storage resources during local development and production deployment.

What is the best way to scaffold a Cloudflare Workers project?

The best way to scaffold a Cloudflare Workers project is using the Wrangler CLI to initialize the structure, then configuring wrangler.toml with necessary bindings before running local development and deploying to production.

Does local development with wrangler dev support remote bindings?

Yes, local development with wrangler dev supports remote bindings and observability, allowing you to test Cloudflare Workers locally while interacting with production KV, D1, R2, and Durable Objects resources.

How do I deploy a Worker to production using wrangler?

You deploy a Worker to production using the wrangler publish command after logging into your Cloudflare account and ensuring your wrangler.toml file has all required Durable Objects and KV bindings configured.

Do I need a Cloudflare account to test Durable Objects locally?

Yes, you need a Cloudflare account and the Wrangler CLI installed to test Durable Objects locally, as the local development environment requires authenticated bindings for KV, D1, and R2 configurations.

When should I use Durable Objects instead of KV for edge workloads?

Use Durable Objects instead of KV for edge workloads requiring strong consistency and stateful coordination, while KV is suited for eventually consistent, globally distributed read-heavy configurations.