wrangler

Deploy Cloudflare Workers and manage bindings, secrets, and environments via wrangler.jsonc.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/brandonjjon/astro-starter-cf --skill wrangler-brandonjjon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/brandonjjon/astro-starter-cf/tree/main/.agents/skills/wrangler
Command: npx skills add https://github.com/brandonjjon/astro-starter-cf --skill wrangler-brandonjjon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wrangler provides a unified command-line interface to develop, deploy, and manage Cloudflare Workers and related resources (KV, R2, D1, AI, and more), enabling teams to ship edge applications with confidence and repeatable workflows.

Core Features & Use Cases

  • Create and deploy Workers projects to Cloudflare with a single, deterministic workflow.
  • Manage bindings, secrets, and multiple environments (staging, production) with config-driven deployments.
  • Local development and testing with wrangler dev to simulate edge behavior before going live.

Quick Start

Install Wrangler, initialize a project with wrangler init, and deploy to Cloudflare with wrangler deploy.

Frequently Asked Questions about wrangler

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

FAQPage Schema
How do I deploy Cloudflare Workers using wrangler.jsonc config?

To deploy Cloudflare Workers, configure wrangler.jsonc with bindings and compatibility dates, then run wrangler deploy to push your edge application to the target environment. This config-driven workflow manages staging and production deployments deterministically.

How do I manage secrets and environment bindings for Cloudflare Workers?

Manage Cloudflare Workers secrets and environment bindings by defining them within your wrangler.jsonc configuration. This approach enables safe secret handling and resource bindings across local, staging, and production workflows without exposing sensitive data.

Can I simulate edge behavior locally before deploying to Cloudflare Workers?

Yes, you can simulate edge behavior locally before deploying by running wrangler dev. This local development command tests your Cloudflare Workers and resource bindings to verify functionality before going live in the production edge environment.

What resources can I bind to Cloudflare Workers through wrangler?

Through wrangler, you can bind resources like KV, R2, D1, and AI to your Cloudflare Workers. These bindings are declared in your wrangler.jsonc config, allowing edge applications to interact directly with Cloudflare storage and AI services.

Does wrangler support separate staging and production environments for Workers?

Yes, wrangler supports separate staging and production environments for Cloudflare Workers. By using environment-based deployments in your wrangler.jsonc, you maintain distinct configurations, resource bindings, and secrets for each target.

Why do I need a compatibility date when deploying Cloudflare Workers?

A compatibility date is required when deploying Cloudflare Workers to specify the runtime features your code expects. Wrangler uses this date in wrangler.jsonc to ensure the edge runtime behaves consistently with your intended feature set.