Cloudflare Worker
CommunityBuild 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
Envobject. - Static Asset Serving: Outlines how to serve static assets from a
distdirectory. - Use Case: Quickly scaffold a new Cloudflare Worker that serves static assets from a
distfolder 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.