Cloudflare Worker

Community

Build and deploy Cloudflare Workers

AuthorThePrimeagen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a standardized approach and best practices for developing and deploying Cloudflare Workers, particularly those leveraging Hono for routing and interacting with Cloudflare bindings like R2 and D1.

Core Features & Use Cases

  • Hono Integration: Encourages the use of Hono for efficient routing and middleware.
  • Cloudflare Bindings: Demonstrates correct usage of R2, D1, and KV bindings within the Env object.
  • Static Asset Serving: Outlines how to serve static assets from a dist directory.
  • Use Case: Quickly scaffold a new Cloudflare Worker that serves static assets from a dist folder and handles API requests using Hono, with proper integration for R2 storage.

Quick Start

Create a new Cloudflare Worker using Hono and configure it to serve static assets from the 'dist' directory.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Cloudflare Worker
Download link: https://github.com/ThePrimeagen/skills/archive/main.zip#cloudflare-worker

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.