wrangler

Deploy and manage Cloudflare Workers, bindings, and resources using the Wrangler CLI.

Updated May 23, 2026
One-click install
npx skills add https://github.com/kveperedo/website --skill wrangler-kveperedo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/kveperedo/website/tree/main/.agents/skills/wrangler
Command: npx skills add https://github.com/kveperedo/website --skill wrangler-kveperedo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wrangler.

What problem does it solve? Wrangler CLI flags, config fields, and subcommands change frequently, so relying on memorized knowledge leads to outdated commands and broken deployments. This Skill directs the AI to retrieve current Cloudflare documentation and the local config schema before writing or reviewing any Wrangler command. ## Core Features & Use Cases - Deployment & Development: Covers wrangler dev, wrangler deploy, environments, secrets management, versions, and rollback workflows. - Resource Management: Provides command references for KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Queues, Containers, Workflows, Pipelines, and Secrets Store. - Configuration Guidance: Recommends wrangler.jsonc, compatibility dates, type generation via wrangler types, and remote bindings for local development. - Use Case: You need to add a Hyperdrive binding to your Worker and deploy it to a staging environment. The Skill fetches the latest config schema, writes the correct wrangler.jsonc binding, and runs wrangler deploy --env staging with a dry run first. ## Quick Start Ask the AI to configure and deploy your Cloudflare Worker with the correct bindings using current Wrangler syntax.

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` after defining your Worker in wrangler.jsonc with a name, main entry point, and compatibility_date. Use `wrangler deploy --dry-run` to validate first, and `wrangler deploy --env staging` to target a specific environment.

How do I add secrets to a Cloudflare Worker?▼

Use `wrangler secret put API_KEY` for an interactive prompt, or `wrangler secret bulk secrets.json` for multiple secrets. Never pass secret values as command arguments or echo them, and use `.dev.vars` for local development secrets.

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

Prefer wrangler.jsonc because newer Wrangler features are JSON-only. Add the `$schema` field pointing to node_modules/wrangler/config-schema.json for validation and autocompletion.

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, which is required for Workers AI and recommended for Vectorize.

Why is my Worker binding undefined at runtime?▼

The binding name in your Worker code must exactly match the binding name in wrangler.jsonc. After changing config, run `wrangler types` to regenerate TypeScript definitions and catch mismatches.

How do I roll back a Cloudflare Worker deployment?▼

Run `wrangler rollback` to revert to the previous version, or `wrangler rollback <VERSION_ID>` for a specific version. Use `wrangler versions list` to see recent deployments and their IDs.