Agent skill
deploy-worker
Deploy Cloudflare Workers to production. Use when deploying main worker, search-consumer, or any Cloudflare Worker.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/deploy-worker
SKILL.md
Cloudflare Worker Deployment
Prerequisites
- Ensure CLOUDFLARE_API_TOKEN is set in environment
- Verify wrangler.toml exists in worker directory
Deployment Steps
Main Worker
cd workers/main
npm run build:worker
npx wrangler deploy
Search Consumer Worker
cd workers/search-consumer
npm run build:consumer
npx wrangler deploy
Verification
After deployment, tail logs to verify:
timeout 15 npx wrangler tail
Common Issues
- Authentication failed: Check CLOUDFLARE_API_TOKEN
- Build errors: Run
npm installfirst - Route conflicts: Check wrangler.toml routes
Rollback
If deployment fails:
npx wrangler rollback
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?