cloudflare-worker-deployment

Automate wrangler.toml configuration for Hono/TypeScript apps on Cloudflare Workers.

2|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/AgentiveCity/SkillFactory --skill cloudflare-worker-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-worker-deployment
Source: https://github.com/AgentiveCity/SkillFactory/tree/main/.claude/skills/cloudflare-worker-deployment
Command: npx skills add https://github.com/AgentiveCity/SkillFactory --skill cloudflare-worker-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying Hono/TypeScript backends (or similar Workers) to Cloudflare Workers/Pages requires careful configuration of wrangler.toml, environments, bindings (D1, R2, KV), and release workflows. This can be complex and error-prone. This Skill automates the setup of clean, repeatable, and environment-aware deployments, saving time and reducing errors.

Core Features & Use Cases

  • Automated wrangler.toml Setup: Configure wrangler.toml for multi-environment deployments (dev, staging, production), including compatibility_date and environment-specific overrides.
  • Binding & Secret Management: Wire D1/R2/KV bindings and securely manage secrets and environment variables using Wrangler secrets and [vars].
  • Streamlined Deployment Workflows: Design deployment workflows with Wrangler, ensuring correct build and entrypoint configuration for various runtimes (Workers, Pages Functions).

Quick Start

Create wrangler.toml for this Hono + Workers app with D1 + R2 bindings, and set up dev/staging/prod environments on Cloudflare Workers.

Frequently Asked Questions about cloudflare-worker-deployment

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

FAQPage Schema
How do I deploy a Hono TypeScript app to Cloudflare Workers?

Deploy Hono TypeScript apps to Cloudflare Workers by configuring wrangler.toml with your entrypoint (app.ts or index.ts), setting compatibility_date, and running wrangler deploy. This Skill automates wrangler.toml setup, multi-environment configuration, and binding declarations to streamline the entire deployment process.

How do I set up D1, R2, KV, and Durable Objects bindings in wrangler.toml?

Bindings connect your Worker to Cloudflare services. Configure D1 databases, R2 storage, KV namespaces, and Durable Objects in wrangler.toml under the [env] sections for each environment. This Skill handles binding declarations and environment-specific overrides to ensure correct wiring across dev, staging, and production.

How do I manage secrets and environment variables in Cloudflare Workers?

Manage secrets using wrangler secret commands and environment variables via the [vars] section in wrangler.toml. This Skill automates secure secret management configuration and environment-specific variable setup so sensitive data is handled correctly across all deployment stages.

Can I deploy the same Hono app to multiple environments with different configurations?

Yes. Cloudflare Workers supports multi-environment deployments through environment-specific sections in wrangler.toml. This Skill configures dev, staging, and production environments with separate bindings, variables, and compatibility settings in a single repeatable configuration file.

What's the correct wrangler.toml structure for a TypeScript Worker with multiple environments?

Use a base configuration with [env.development], [env.staging], and [env.production] sections, each specifying route patterns, bindings, and variables. This Skill generates the complete wrangler.toml structure with proper compatibility_date, build configuration, and environment-specific overrides.

Do I need to manually configure build and entrypoint settings for Hono Workers?

Wrangler handles most build configuration automatically, but you must specify the correct entrypoint (app.ts or index.ts) in wrangler.toml. This Skill defines build and entrypoint configuration and ensures proper Wrangler-based deployment workflows for Hono backends.