cloudflare-workers

Deploy edge serverless applications on Cloudflare Workers with Wrangler CLI.

Updated Jul 23, 2025
One-click install
npx skills add https://github.com/levanminhduc/LuongHoaThoNew --skill cloudflare-workers-levanminhduc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloudflare-workers
Source: https://github.com/levanminhduc/LuongHoaThoNew/tree/main/.claude/skills/cloudflare-workers
Command: npx skills add https://github.com/levanminhduc/LuongHoaThoNew --skill cloudflare-workers-levanminhduc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill offers guidance for building and deploying Cloudflare Workers, including bindings, runtime APIs, testing, and CI/CD workflows.

Core Features & Use Cases

  • Edge deployment: Run code at the edge with fast responses.
  • Bindings & APIs: Integrate with D1, KV, R2, Durable Objects.
  • Testing & deployment: Wrangler-based workflows and logging.

Quick Start

Create a simple Worker with a fetch handler that returns a greeting and deploy to the edge.

Frequently Asked Questions about cloudflare-workers

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

FAQPage Schema
How do I deploy serverless applications to the edge with Cloudflare Workers?▼

Cloudflare Workers runs your code at the edge across 300+ cities for low-latency responses. Use Wrangler CLI to create a Worker with a fetch handler, configure bindings (D1, KV, R2, Durable Objects) for data access, then deploy to production with a single command.

What bindings and runtime APIs does Cloudflare Workers support?▼

Workers supports D1 (SQL database), KV (key-value storage), R2 (object storage), and Durable Objects (stateful compute). Runtime APIs include fetch for HTTP requests, HTMLRewriter for HTML manipulation, and cache APIs for response caching.

Can I use Cloudflare Workers for scheduled tasks and middleware?▼

Yes. Workers handles scheduled tasks through cron triggers, request/response middleware for intercepting traffic, and API endpoint creation. Deploy middleware globally to process requests before they reach your origin.

How do I test and debug Cloudflare Workers locally before production?▼

Wrangler provides local development and testing workflows. Run `wrangler dev` to test Workers locally with binding simulation, then use Wrangler's logging and observability features to monitor production deployments.

What programming formats does Cloudflare Workers require?▼

Workers requires ES Modules and Service Worker API formats. Code runs in a V8 runtime with fetch event handlers; it's compatible with modern JavaScript but does not support Node.js-specific APIs.

Does Cloudflare Workers integrate with CI/CD pipelines?▼

Yes. Wrangler integrates into CI/CD workflows for automated testing and deployment. Configure pipelines to run tests, build your project, and deploy to staging or production environments.