techwithanirudh/gorkie/wrangler

Claude Code and agent skill by techwithanirudh/gorkie

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Cloudflare Workers CLI for deploying and developing Workers and the bindings temporary accounts support (KV, D1, Durable Objects, Hyperdrive, Queues), including static sites served as Workers assets. Use when the user asks to deploy a site, app, API, or Worker to Cloudflare, or to run/build/preview one. gorkie has no Cloudflare account, so it deploys via account-less temporary Workers deploys, never Pages, which always requires a real account. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

Install

npx vskill@latest install techwithanirudh/gorkie/wrangler

SKILL.md

Wrangler CLI

Your knowledge of Wrangler flags and config may be outdated. Prefer retrieval over pre-training for any Wrangler task.

No Auth

gorkie has no Cloudflare account and cannot log in. Never run wrangler login or wrangler whoami: they will hang waiting for a browser. For static sites, serve them as a Worker with static assets instead (see config-and-bindings.md) and deploy with wrangler deploy.

Instead use Temporary Accounts for Agents (--temporary), which only works with wrangler deploy:

bash
# Deploy without any account. Provisions a throwaway account, deploys, and prints
# a live *.workers.dev URL + a claim URL. The deployment stays live for 60 minutes.
wrangler deploy --temporary
  • The account is created automatically, no signup or token. Wrangler returns a public *.workers.dev URL and a https://dash.cloudflare.com/claim-preview?claimToken=... link.
  • Always share BOTH with the user: the live URL (to view) and the claim URL (to keep it permanently, including any bindings/databases). Unclaimed accounts auto-delete after 60 minutes.
  • To iterate, edit the code and re-run wrangler deploy --temporary within the 60-minute window: it reuses the same temporary account.
  • A fresh *.workers.dev subdomain may take a minute or two to get its TLS cert; a brief ERR_SSL_VERSION_OR_CIPHER_MISMATCH right after deploy is normal, retry shortly.
  • Temporary accounts only support Workers, Workers Static Assets, Workers KV, D1, Durable Objects, Hyperdrive, Queues, and SSL/TLS certificates. Don't reach for R2, Vectorize, Workers AI, Containers, Workflows, Pipelines, or Secrets Store: they need a real account and will fail.

Retrieval Sources

Fetch the latest information before writing or reviewing Wrangler commands and config. Do not rely on baked-in knowledge for CLI flags, config fields, or binding shapes.

SourceHow to retrieveUse for
Wrangler docshttps://developers.cloudflare.com/workers/wrangler/CLI commands, flags, config reference
Wrangler config schemanode_modules/wrangler/config-schema.jsonConfig fields, binding shapes, allowed values
Cloudflare docsSearch tool or https://developers.cloudflare.com/workers/API reference, compatibility dates/flags

Quick Start: New Worker

bash
# Initialize new project
npx wrangler init my-worker
# Or with a framework
npx create-cloudflare@latest my-app

Quick Reference: Core Commands

TaskCommand
Start local dev serverwrangler dev
Deploy to Cloudflarewrangler deploy
Deploy dry runwrangler deploy --dry-run
Generate TypeScript typeswrangler types
Profile Worker startup timewrangler check startup
View live logswrangler tail
Delete Workerwrangler delete

Configuration (wrangler.jsonc)

Minimal Config
jsonc
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "my-worker",
"main": "src/index.ts",
"compatibility_date": "2026-01-01"
}

References

For anything past a basic deploy, load the detail files (retrieval-first, confirm exact flags against the Cloudflare docs):

  • config-and-bindings.md: full wrangler.jsonc config, type generation, static assets, and the CLI for every binding a temporary account supports (KV, D1, Durable Objects, Hyperdrive, Queues).
  • operations.md: local dev, deployment (secrets, versions/rollback), observability/tail, testing, and troubleshooting.

Best Practices

  1. Use Wrangler over raw API calls: it is preinstalled (wrangler --version, v4.x+); prefer it to hand-built requests.
  2. Version control `wrangler.jsonc`: prefer JSON over TOML (newer features are JSON-only) and treat it as source of truth for Worker config.
  3. Set `compatibility_date`: use a recent date and update it periodically to pick up new runtime features. Check https://developers.cloudflare.com/workers/configuration/compatibility-dates/
  4. Generate types (`wrangler types`): after every config change, and again in CI to catch binding mismatches.
  5. Use automatic provisioning: omit resource IDs for auto-creation on deploy.
  6. Use environments: separate staging/production with env.staging, env.production.
  7. Local dev defaults to local storage: bindings use local simulation unless remote: true; test locally with wrangler dev before deploying.
  8. Use `.dev.vars` for local secrets: never commit secrets to config.
  9. Use `--dry-run` before major deploys: validate changes without deploying.
  10. Profile Worker startup: run wrangler check startup to measure startup time and catch scripts that exceed the startup time limit.
  11. Never embed secrets in commands: use interactive prompts (wrangler secret put), file-based input (wrangler secret bulk), or secure CI environment variables. Never echo, log, or pass secret values as CLI arguments.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/techwithanirudh/gorkie/wrangler/badge)](https://verified-skill.com/skills/techwithanirudh/gorkie/wrangler)

Something wrong with this skill or its page? Tell us.