linktogo/maggie/worker-deployment
Claude Code and agent skill by linktogo/maggie
- community
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-deploymentSKILL.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 neededcompatibility_flags) so runtime
behavior is reproducible. Bump it deliberately, not implicitly.
- Set
mainto the entry module andnameto 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
envargument —
never hardcode: KV ([[kv_namespaces]]), R2 ([[r2_buckets]]), D1 ([[d1_databases]]), Queues, Durable Objects, and service bindings to other Workers.
Deploy
- 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 withwrangler 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.tomlor the repo. - Deploying straight to production with no staging environment or version upload.
- Reading config from
process.envinstead of the Workerenvbindings.
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
- SKILL.md in the repositoryCheckingskills/cloudflare/worker-deployment/SKILL.md
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
[](https://verified-skill.com/skills/linktogo/maggie/worker-deployment)