wrangler

Run and troubleshoot Wrangler CLI commands for Cloudflare Workers configuration and deployment.

1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/filippolmt/skills --skill wrangler-filippolmt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/filippolmt/skills/tree/main/skills/wrangler
Command: npx skills add https://github.com/filippolmt/skills --skill wrangler-filippolmt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Wrangler CLI flags and configuration fields change frequently, so relying on memorized syntax leads to broken commands and misconfigured Workers. This Skill grounds every command and config edit in the project's installed Wrangler version and current Cloudflare documentation. ## Core Features & Use Cases - Project Inspection: Detects the package manager, installed Wrangler version, framework, and active config file before running any command, so changes target the right source. - Documentation-Grounded Commands: Retrieves the relevant Cloudflare docs or local wrangler --help output for deployments, secrets, environments, bindings, and rollbacks instead of guessing syntax. - Safe Configuration Changes: Handles environment inheritance, Vite plugin environments, dashboard reconciliation, secret handling, and type regeneration with wrangler types. - Use Case: You need to add a KV binding to a staging environment and deploy. The Skill checks environment inheritance, edits the correct config source, runs a dry-run deploy, and regenerates TypeScript types. ## Quick Start Use the wrangler skill to add a KV namespace binding to my staging environment and validate the change with a dry-run deploy.

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 the project's build workflow, then use wrangler deploy with the intended config and environment. A dry-run deploy validates the build and packaging, but does not confirm remote resources or runtime behavior work.

How do I set secrets for a Cloudflare Worker?

Use wrangler secret put with interactive input or a protected file/stdin mechanism, keeping values out of command arguments and logs. Note that secret put deploys immediately; use wrangler versions secret for staged changes.

Does Wrangler config apply to staging and production environments separately?

Yes, some fields must be specified per environment and are not inherited. A working default config does not establish that staging is configured, so check environment inheritance before adding bindings or variables.

Why does my Wrangler command fail with an unknown flag error?

CLI flags and config fields change between Wrangler versions, so memorized examples may not match your installed version. Check the project-local wrangler --help output and installed config-schema.json for supported options.

Can I migrate a Cloudflare Pages or Vercel project to Workers?

Yes, Cloudflare publishes migration guides for Pages to Workers and Vercel to Workers covering static assets and configuration. Follow the guide matching your project's existing framework and adapter.