cloudflare-wrangler

Manages Cloudflare Workers, Pages, D1, KV, and R2 resources through Wrangler CLI commands.

Updated May 6, 2026
One-click install
npx skills add https://github.com/UnionStreetAI/unionstreet --skill cloudflare-wrangler-unionstreetai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloudflare-wrangler
Source: https://github.com/UnionStreetAI/unionstreet/tree/main/plugins/cloudflare/skills/cloudflare-wrangler
Command: npx skills add https://github.com/UnionStreetAI/unionstreet --skill cloudflare-wrangler-unionstreetai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers working on the Cloudflare developer platform need to run Wrangler CLI operations correctly and safely, avoiding mistakes like accidental production deploys, leaked secrets, or misconfigured projects. ## Core Features & Use Cases - Environment Verification: Confirms Wrangler version, authenticated account via wrangler whoami, and the presence of wrangler.toml or wrangler.jsonc before any operation. - Resource Management: Lists and manages Workers, Pages, D1 databases, KV namespaces, and R2 buckets through standard Wrangler commands. - Safety Guardrails: Requires confirmation before production deploys, secret writes, D1 migrations, or destructive storage changes, and never prints API tokens or secret values. - Use Case: You are deploying a Cloudflare Worker to production. The Skill first inspects your wrangler.toml, verifies your login, runs wrangler deploy only after your confirmation, and keeps all secrets hidden. ## Quick Start Use the cloudflare-wrangler skill to check my Wrangler login status and list my D1 databases.

Frequently Asked Questions about cloudflare-wrangler

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

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

Deploy a Cloudflare Worker by running npx wrangler deploy from the project directory. First inspect wrangler.toml or wrangler.jsonc to confirm the configuration, and verify your account with npx wrangler whoami before deploying.

How to list Cloudflare D1 databases, KV namespaces, and R2 buckets?▼

Use npx wrangler d1 list for databases, npx wrangler kv namespace list for KV, and npx wrangler r2 bucket list for R2 storage. These commands require an authenticated Wrangler session via wrangler login.

Does Wrangler require a configuration file before deploying?▼

Yes, Wrangler expects a wrangler.toml or wrangler.jsonc file in the project. The Skill checks for one of these files before running deployments and inspects its contents to avoid misconfigured releases.

Can I run a local development server for Cloudflare Workers?▼

Yes, run npx wrangler dev to start a local development server for your Worker. Confirm your project configuration file exists first so the dev session uses the correct bindings and settings.

When should I avoid running Wrangler commands automatically?▼

Avoid automatic execution for production deploys, secret writes, D1 migrations, and destructive storage changes. These operations require explicit user confirmation, and API tokens or secret values must never be printed.