{"enrichment":{"faq":[{"a":"Wrangler is Cloudflare's CLI tool for deploying Workers to the edge. After setting up your project with `wrangler init`, define your Worker code and configure bindings in `wrangler.toml`. Run `wrangler deploy` to push your Worker to Cloudflare's edge network. Wrangler handles authentication, versioning, and rollout automatically.","q":"How do I deploy Cloudflare Workers using wrangler?"},{"a":"Wrangler provides `wrangler dev` to run your Worker locally with live reload, `wrangler deploy` to publish to production, and `wrangler tail` for streaming live logs. Use `wrangler secret put` and `wrangler secret delete` for managing secrets, and `wrangler kv:namespace create` for KV storage setup. Each command supports flags for environment-specific configuration.","q":"What are the main wrangler CLI commands for local development?"},{"a":"Wrangler simplifies local setup: install it via npm, run `wrangler init` to scaffold a project, then use `wrangler dev` to start a local server. Your local environment mirrors production bindings\u2014KV namespaces, R2 buckets, D1 databases, and AI models all work locally. Configure them in `wrangler.toml` and Wrangler handles the rest.","q":"How do I set up wrangler local development environment?"},{"a":"Wrangler manages bindings through `wrangler.toml`. Define KV namespaces with `[[kv_namespaces]]`, R2 buckets with `[[r2_buckets]]`, D1 databases with `[[d1_databases]]`, and AI with `[env.production.ai]`. Each binding gets a name you reference in your Worker code. Wrangler automatically injects these at runtime, both locally and on the edge.","q":"How do I configure KV, R2, D1, and AI bindings in wrangler?"},{"a":"Wrangler stores secrets securely using `wrangler secret put KEY` for production and `wrangler secret put KEY --env staging` for other environments. Secrets never appear in `wrangler.toml`. For non-sensitive config, use `[env.production]` variables in `wrangler.toml`. Access both via `env.VARIABLE_NAME` in your Worker code.","q":"What's the best way to manage secrets and environment variables?"},{"a":"Wrangler's `wrangler tail` streams live logs to diagnose runtime errors. For slow startup, check binding configuration in `wrangler.toml`\u2014misconfigured namespaces or database IDs cause delays. Run `wrangler dev --debug` for verbose output. Verify credentials and environment names match your Cloudflare account settings.","q":"How do I troubleshoot wrangler startup time and binding issues?"}],"shadow_tags":["edge-computing","serverless-deployment","infrastructure-as-code","cli-tooling","database-bindings","object-storage","vector-search","workflow-automation","local-development"],"summary_rewrite":"Wrangler is Cloudflare's command-line tool for building and deploying Workers across the edge platform. It handles local development, deployment, and management of Workers alongside bindings for KV storage, R2 buckets, D1 databases, Vectorize indexes, and Workers AI. The skill prioritizes current documentation over cached knowledge to ensure commands and config syntax stay accurate."},"files":[{"bytes":18359,"path":"skills/wrangler/SKILL.md","sha256":"42abe11ba6c0cb0c135deed1d591d844838fe0b61fc8c6d675a832435508a61b","url":"https://skillfed.io/files/cloudflare/skills/wrangler/bbe4f053/SKILL.md"}],"id":"cloudflare/skills/wrangler","links":{"html":"https://skillfed.io/cloudflare/skills/wrangler","md":"https://skillfed.io/cloudflare/skills/wrangler.md","repo":"https://github.com/cloudflare/skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":235,"language":"Shell","last_updated":"2026-07-24","license":"Apache-2.0","name":"wrangler","publisher":"cloudflare","stars":2499},"relations":{"similar":[{"id":"null-shot/cloudflare-skills/wrangler"},{"id":"pedronauck/skills/wrangler"},{"id":"pedronauck/skills/cloudflare"},{"id":"fcakyon/claude-codex-settings/cloudflare-deploy"},{"id":"dmmulroy/cloudflare-skill/cloudflare"},{"id":"cloudflare/skills/cloudflare"},{"id":"connorads/dotfiles/cloudflare"},{"id":"deepagent-ltd/deepagent-code/cloudflare"},{"id":"FrancescoStabile/numasec/cloudflare"},{"id":"shobcoder/shob/cloudflare"}]},"slug":{"owner":"cloudflare","repo":"skills","skill":"wrangler"},"version":"bbe4f053"}
