Agent Skill

Cloudflare Wrangler CLI
Command-line tool for deploying, developing, and managing Cloudflare Workers, KV, R2, D1, Vectorize, AI, Queues, Workflows, and platform services
What is Cloudflare Wrangler CLI?
This skill provides agents with comprehensive knowledge of Wrangler, the official command-line interface for Cloudflare Workers and related platform services. It covers initializing new projects with appropriate templates, developing locally with hot reload and debugging, deploying Workers to production environments, managing KV namespaces for key-value storage, interacting with R2 object storage buckets, administering D1 SQLite databases with schema migrations, configuring Vectorize indexes for vector search, leveraging Workers AI for inference, managing Queues for asynchronous message processing, orchestrating Workflows for durable execution, handling secrets securely, and interpreting wrangler configuration files. The agent learns the proper syntax for commands and flags, understanding when to use interactive mode versus scripted automation, and how to troubleshoot common deployment issues. The skill establishes boundaries between local development workflows and production deployment considerations, emphasizing testing strategies and environment management. Trade-offs include choosing between different binding types for service integration, balancing between local simulation and remote testing for accuracy, and understanding the limitations of the local development server compared to production Workers runtime. The skill emphasizes consulting current Cloudflare documentation since command syntax evolves.
