wrangler

Automate Cloudflare Workers deployment and management via the wrangler CLI.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/devsanthoshmk/MKS-Agency --skill wrangler-devsanthoshmk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/devsanthoshmk/MKS-Agency/tree/main/backend/.agents/skills/wrangler
Command: npx skills add https://github.com/devsanthoshmk/MKS-Agency --skill wrangler-devsanthoshmk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you reliably deploy and operate Cloudflare Workers by providing a practical, command-driven workflow for configuring projects, validating settings, generating bindings/types, and managing local and remote environments.

Core Features & Use Cases

  • Deploy and develop Workers: Run local development with wrangler dev and publish changes with wrangler deploy (including dry runs for safety).
  • Manage configuration quality: Validate projects with wrangler check, generate accurate TypeScript bindings with wrangler types, and keep compatibility settings current via compatibility_date.
  • Operate supporting Cloudflare resources: Use the CLI to manage common Workers ecosystem components like KV, R2, D1, Vectorize, Hyperdrive, Queues, Workflows, Pipelines, and Secrets Store, plus observe with wrangler tail.
  • Practical e-commerce support: For apps like MKS-Agency that use Cloudflare Workers and bound services, this Skill streamlines setting up the backend runtime and its resources so API routes work consistently from local to production.

Quick Start

Ask your AI assistant to generate a wrangler.jsonc for your Worker, then run wrangler check and wrangler types to confirm configuration correctness before deploying.

Frequently Asked Questions about wrangler

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

FAQPage Schema
How do I configure and validate a Cloudflare Worker before deployment?

To configure and validate a Cloudflare Worker, generate a wrangler.jsonc file, set the compatibility_date, and run wrangler check to confirm configuration correctness before executing wrangler deploy.

What is the best way to generate TypeScript bindings for Cloudflare Workers?

The best way to generate TypeScript bindings for Cloudflare Workers is to run the wrangler types command after configuring your wrangler.jsonc file, which produces accurate types for your bound resources.

Can I run local development for Cloudflare Workers with KV and D1 resources?

Yes, you can run local development for Cloudflare Workers with KV, R2, and D1 resources by using wrangler dev along with environment and remote options to accurately simulate binding behavior locally.

How do I manage Cloudflare Queues and Vectorize resources via the CLI?

You manage Cloudflare Queues and Vectorize resources by using the wrangler CLI to operate supporting Cloudflare ecosystem components directly from your terminal alongside your Worker deployment.

Why should I use wrangler.jsonc instead of wrangler.toml for Worker configuration?

You should use wrangler.jsonc instead of wrangler.toml because the wrangler CLI prefers JSON format for defining Worker configurations, bindings, and compatibility settings to ensure accurate type generation.

How do I test Cloudflare Worker deployments safely without pushing to production?

To test Cloudflare Worker deployments safely without pushing to production, run wrangler deploy with a dry run flag, and use wrangler tail to observe logs and verify behavior remotely.