Skill · em Publicar e operar

wrangler

Run or troubleshoot Wrangler CLI commands and configure Worker projects for local development, Previews, deployment, and Cloudflare resource management.

Procedência

Antes de instalar

1 arquivo · 10,4 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 6dc7604) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/wrangler/.

d=".claude/skills/wrangler"
u="https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/skills/wrangler"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/LICENSE"

Global: instala em ~/.claude/skills/wrangler/.

d="$HOME/.claude/skills/wrangler"
u="https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/skills/wrangler"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/LICENSE"

Codex

Neste projeto: instala em .agents/skills/wrangler/.

d=".agents/skills/wrangler"
u="https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/skills/wrangler"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/LICENSE"

Global: instala em ~/.agents/skills/wrangler/.

d="$HOME/.agents/skills/wrangler"
u="https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/skills/wrangler"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/wrangler/.

d=".agents/skills/wrangler"
u="https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/skills/wrangler"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/wrangler/.

d="$HOME/.gemini/antigravity-cli/skills/wrangler"
u="https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/skills/wrangler"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/cloudflare/skills/6dc7604903127485e7e4cb26314651ebd4a4df19/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cloudflare.skills.wrangler

Prévia do SKILL.md

---
name: wrangler
description: Run or troubleshoot Wrangler CLI commands and configure Worker projects for local development, Previews, deployment, and Cloudflare resource management.
---

# Wrangler CLI

Use the project's Wrangler version and retrieve the relevant documentation before writing commands or configuration. CLI flags and configuration fields change; do not rely on memorized examples.

## Inspect the Project

- Find the package manager, installed Wrangler version, package scripts, framework, and Wrangler config. Run commands through the project's scripts or package manager so they use its local version. Install dependencies using the existing lockfile when needed; do not silently upgrade Wrangler to match current docs. If W…
- Identify the config used by the build or deploy command, including framework-generated config. Edit its source rather than generated output.
- Establish the target account, Worker, environment, and resource before running commands that change them. For data operations, determine whether the target is local or remote.

## Retrieve What the Task Needs

Use the Cloudflare MCP `docs` tool if available, or fetch the relevant linked page directly. Follow links to the specific command or product involved; avoid loading the entire reference. If a page moves, rediscover it through the [Wrangler command index](https://developers.cloudflare.com/workers/wrangler/commands/) or …

| Task | Source |
| --- | --- |
| Discover commands and flags, including resource management, deployments, rollback, and diagnostics | Project-local `wrangler --help` and `wrangler <command> --help`; [command reference](https://developers.cloudflare.com/workers/wrangler/commands/) |
| Edit config or add a binding | Installed `wrangler/config-schema.json` (usually under `node_modules`); [configuration reference](https://developers.cloudflare.com/workers/wrangler/configuration/) |
| Deploy a framework application | [Framework guides](https://developers.cloudflare.com/workers/framework-guides/); follow the guide for the project's existing framework and adapter |
| Migrate an application to Workers when requested | [Pages to Workers](https://developers.cloudflare.com/workers/static-assets/migration-guides/migrate-from-pages/); [Vercel to Workers](https://developers.cloudflare.com/workers/static-assets/migration-guides/vercel-to-workers/) |
| Configure staging or production | [Environments](https://developers.cloudflare.com/workers/wrangler/environments/) |
…

Ver todo o marketplace