Bun Cloudflare Workers
Guide for building and deploying Cloudflare Workers with Bun, covering wrangler setup, bindings, and secure installs.
- CCM score
- 52 of 100
- skills.sh installs
- 425
- GitHub stars
- 257
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers project scaffolding with
bunx create-cloudflare, local dev viabun run dev, and production deploys viawrangler deploy - Includes worked patterns for KV, D1, Durable Objects, R2, Hono routing, Bun testing, and Miniflare
- Enforces supply chain hygiene: post-install scripts blocked, a 7-day
minimumReleaseAgecooldown, and Socket package audits - Designed for developers deploying edge APIs and serverless backends who already use Bun for tooling
Install
$ npx -y skills add secondsky/claude-skills --skill bun-cloudflare-workers -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Bun Cloudflare Workers
Build and deploy Cloudflare Workers using Bun for development.
Quick Start
# Create new Workers project
bunx create-cloudflare my-worker
cd my-worker
# Install dependencies
bun install
# Development
bun run dev
# Deploy
bun run deploy
Secure Installation
Scaffolding tools like bunx create-cloudflare download and execute remote code. Before running, follow supply chain security best practices:
- Block post-install scripts — Bun disables them by default; allow specific packages via
trustedDependenciesinpackage.json - Cooldown period — Configure
minimumReleaseAgeinbunfig.tomlto wait 7 days for new versions - Audit before installing — Run
socket package score npm <pkg>or usesocket npm install <pkg>to check packages
Load the dependency-upgrade skill for full security configuration including Socket CLI integration, cooldown setup, lockfile validation, and CI enforcement.
Project Setup
package.json
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the bun-cloudflare-workers skill do?
bun-cloudflare-workers guides an agent through building and deploying Cloudflare Workers with Bun for development. It covers wrangler setup, Hono routing, KV, D1, Durable Objects and R2 storage, plus Bun-based testing and production builds.
How do I install the bun-cloudflare-workers skill?
Run npx -y skills add secondsky/claude-skills --skill bun-cloudflare-workers -y in a project to install it. The skill then lets the agent scaffold a Workers project with bunx create-cloudflare and deploy it with wrangler.
Which Cloudflare bindings does bun-cloudflare-workers cover?
bun-cloudflare-workers includes worked examples for KV namespaces, D1 databases, Durable Objects and R2 buckets in its wrangler configuration. It also shows Cron-triggered scheduled Workers and how to handle environment variables and secrets safely.
Is bun-cloudflare-workers listed in the DevOps and Cloud category?
bun-cloudflare-workers sits in the DevOps and Cloud category on Claude Marketplaces. Its sibling skills there include azure-diagnostics and azure-deploy, but bun-cloudflare-workers focuses on Cloudflare Workers with Bun rather than Azure.
More from secondsky/claude-skills
All 116- Bun Workers425
- Bun Http Server424
- Bun Bundler423
- Turborepo423
- Api Versioning Strategy421
- Recommendation System421
- Logging Best Practices419
- Bun Hot Reloading418
- Claude Hook Writer418
- Claude Code Bash Patterns417
- Plan Interview417
- Bun React Ssr416
- Bun Shell416
- Bun Websocket Server414
- Bun Redis412
- Ml Pipeline Automation412
- Nuxt Core411
- Nuxt Data411
- Bun Ffi409
- Bun Nuxt409
- Bun Jest Migration408
- Bun Macros407
- Multi Ai Consultant407
- Model Deployment405
Similar to Bun Cloudflare Workers
More DevOps & Cloudturboreposecondsky/claude-skills423 installs| Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI
aws-architecture-diagramawslabs/agent-plugins422 installsGenerate validated AWS architecture diagrams as draw.io XML using official AWS4 icon libraries. Use this skill whenever the user wants to create, generate, or d
env-varsvercel/vercel-plugin422 installsenv vars
multi-cloud-strategyaj-geddes/useful-ai-prompts421 installsDesign and implement multi-cloud strategies spanning AWS, Azure, and GCP with vendor lock-in avoidance, hybrid deployments, and federation.
azure-functionsmicrosoftdocs/agent-skills421 installsExpert knowledge for Azure Functions development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, se
distributed-tracingaj-geddes/useful-ai-prompts420 installsImplement distributed tracing with Jaeger and Zipkin for tracking requests across microservices. Use when debugging distributed systems, tracking request flows,