wrangler

Deploy and manage Cloudflare Workers and bindings using Wrangler CLI commands.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/involvex/dev --skill wrangler-involvex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/involvex/dev/tree/main/.claude/skills/wrangler
Command: npx skills add https://github.com/involvex/dev --skill wrangler-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers working with Cloudflare Workers often struggle to remember the correct Wrangler CLI syntax, configuration options, and binding setups across many services like KV, R2, D1, and Workers AI, leading to misconfigurations and failed deployments. ## Core Features & Use Cases - Complete CLI Command Reference: Covers core commands for dev, deploy, secrets, versions, rollback, and log tailing with correct flags and syntax. - Binding Configuration Guidance: Provides wrangler.jsonc examples for KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Queues, Containers, Workflows, Pipelines, and Secrets Store. - Local Development & Testing: Explains local vs remote bindings, .dev.vars secrets, scheduled event testing, and Vitest integration. - Use Case: When you need to add a D1 database to your Worker, this Skill guides the AI to create the database, run migrations, configure the binding in wrangler.jsonc, and regenerate TypeScript types with the correct commands. ## Quick Start Use the wrangler skill to help me create a new Cloudflare Worker with a KV namespace binding and deploy it to a staging environment.

Frequently Asked Questions about wrangler

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

FAQPage Schema
How do I deploy a Cloudflare Worker with Wrangler?▼

Run wrangler deploy from your project directory after configuring wrangler.jsonc with your Worker name, main entry point, and compatibility date. Use wrangler deploy --dry-run to validate first, or wrangler deploy --env staging for a specific environment.

How to configure D1 database bindings in wrangler.jsonc?▼

Add a d1_databases array with binding name, database_name, and database_id to wrangler.jsonc. Create the database with wrangler d1 create, then run wrangler types to generate TypeScript bindings for the DB object.

Should I use wrangler.jsonc or wrangler.toml for configuration?▼

Use wrangler.jsonc because newer Wrangler features are JSON-only and it supports comments. The TOML format still works but may not support the latest configuration options.

Does wrangler dev use real Cloudflare resources locally?▼

By default wrangler dev uses local storage simulation for bindings. Set remote: true on specific bindings in your config to connect to real resources like R2 buckets or Vectorize indexes while running locally.

Why is my binding undefined inside the Worker?▼

Bindings are undefined when the binding name in your code does not exactly match the name in wrangler.jsonc, or when types are stale. Verify the config with wrangler check and regenerate types with wrangler types.

How do I manage secrets for Cloudflare Workers?▼

Use wrangler secret put NAME to set secrets interactively or pipe values via stdin for production. For local development, place secrets in a .dev.vars file, which is never committed to version control.