linktogo/maggie/worker-deployment

Claude Code and agent skill by linktogo/maggie

Trust tier 3
  • community
Source check pending

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

Deploy Cloudflare Workers with Wrangler, environments, secrets, and bindings

Install

npx vskill@latest install linktogo/maggie/worker-deployment

SKILL.md

The same SKILL.md was published earlier as linktogo/maggie/worker-deployment.

Cloudflare Worker deployment

Workers are configured by wrangler.toml (or wrangler.jsonc) and deployed with Wrangler. Treat that file as the source of truth — it is committed; secrets are not.

Configuration

  • Pin compatibility_date (and any needed compatibility_flags) so runtime

behavior is reproducible. Bump it deliberately, not implicitly.

  • Set main to the entry module and name to the Worker's name. Use

per-environment overrides under [env.<name>] (e.g. [env.production], [env.staging]) with their own routes and bindings.

  • Declare resource bindings in config, access them via the typed env argument —

never hardcode: KV ([[kv_namespaces]]), R2 ([[r2_buckets]]), D1 ([[d1_databases]]), Queues, Durable Objects, and service bindings to other Workers.

Deploy

bash
wrangler dev # local runtime (workerd) for iteration
wrangler deploy # deploy the top-level (default) environment
wrangler deploy --env production # deploy a named environment
wrangler versions upload # upload a version without shifting traffic
wrangler rollback # revert to the previous deployment
  • Routing: attach the Worker with a route/routes (a zone pattern) or a

workers.dev subdomain, or a Custom Domain — declared per environment.

  • Static assets / full-stack: serve a front-end via the [assets] binding or use

a framework preset rather than embedding files by hand.

Secrets & CI

  • Never put secrets in wrangler.toml. Set them with wrangler secret put <NAME>

(per environment); read them from env. Use .dev.vars for local only, and git-ignore it.

  • In CI, authenticate with a scoped CLOUDFLARE_API_TOKEN (Workers edit

permission) and CLOUDFLARE_ACCOUNT_ID from CI secrets, then run wrangler deploy --env <env>. Do not commit tokens.

Anti-patterns

  • Committing API tokens or secret values into wrangler.toml or the repo.
  • Deploying straight to production with no staging environment or version upload.
  • Reading config from process.env instead of the Worker env bindings.

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/linktogo/maggie/worker-deployment/badge)](https://verified-skill.com/skills/linktogo/maggie/worker-deployment)

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