Security Deployment
Secure and deploy Cloudflare Workers applications with secrets, least-privilege bindings, authz, tenant isolation, input validation, CORS, preview/prod separation, migrations, rollout, and rollback practices. Use before shipping Cloudflare code.
Install
npx skills add zllovesuki/cloudflare-agent-skills --skill security-deploymentgit clone --depth 1 https://github.com/zllovesuki/cloudflare-agent-skills.git /tmp/cloudflare-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cloudflare-agent-skills/skills/security-deployment ~/.claude/skills/security-deploymentPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Security and Deployment
Use this skill before shipping a Cloudflare Worker or modifying production bindings.
## Security stance
- Bindings are capabilities. Give each Worker only the bindings it needs.
- Keep secrets out of source control and `wrangler.jsonc`.
- Authenticate at the Worker boundary; authorize inside every data/tool operation.
- Validate all request input, queue messages, workflow parameters, WebSocket messages, and AI tool calls.
- Include tenant ID in every multi-tenant data access path.
- Avoid arbitrary user-controlled outbound fetches unless SSRF risk is explicitly addressed.
## Secrets and config
- Use `vars` only for non-secret values.
- Use `wrangler secret put NAME` or a secret binding for credentials.
- Rotate secrets through deployment runbooks.
- Do not echo secrets into logs, error responses, AI prompts, or queue messages.
## Authz helper pattern
```ts
type Principal = { userId: string; tenantId: string; roles: string[] };
function requireTenant(principal: Principal, tenantId: string) {
if (principal.tenantId !== tenantId) {
throw new Response("Forbidden", { status: 403 });
}
}
```
## CORS rules
- Do not use `*` for credentialed APIs.
- Keep an allowlist of origins per environment.
- Return CORS headers consistently for preflight and actual responses.
- Validate auth even when CORS permits the origin.
## Deployment checklist
- [ ] `wrangler.jsonc` has correct environment-specific bindings.Details
- Skill name
security-deployment- Repository
- zllovesuki/cloudflare-agent-skills
- Path
skills/security-deployment/SKILL.md- Repo updated
- 28 April 2026
FAQ
What does the Security Deployment skill do?
Secure and deploy Cloudflare Workers applications with secrets, least-privilege bindings, authz, tenant isolation, input validation, CORS, preview/prod separation, migrations, rollout, and rollback practices. Use before shipping Cloudflare code.
How do I install the Security Deployment skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add zllovesuki/cloudflare-agent-skills --skill security-deployment. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Security Deployment popular?
It lives in zllovesuki/cloudflare-agent-skills, which has 9 GitHub stars and 0 forks.
Related skills
Agents
9zllovesuki/cloudflare-agent-skills
Build Cloudflare Agents SDK applications for autonomous multi-step tool use, AIChatAgent chat agents, Durable Object-backed state, tools, scheduling, callable methods, WebSockets, SQL state, and constrained agent behavior. Use when RAG or Workflows are not enough.
Cloudflare Architecture
9zllovesuki/cloudflare-agent-skills
Choose Cloudflare Developer Platform primitives and architecture shapes before writing code. Use for Cloudflare Workers, Durable Objects, D1, R2, Queues, Workflows, Containers, Realtime, Workers AI, Vectorize, AI Search, Agents, cost, limits, and migration decisions.
Containers
9zllovesuki/cloudflare-agent-skills
Decide when to use Cloudflare Containers instead of Workers and design container-backed workloads, native binaries, long-running processes, image processing, larger runtime shapes, and Worker frontends. Use as an escape hatch when Workers constraints do not fit.
Wp Alerting
9morrealev/wordpress-manager
This skill should be used when the user asks about "alerting", "alerts", "Slack notifications", "email alerts", "monitoring alerts", "threshold alerts", "health reports", "escalation", "incident notifications", "uptime alerts", "error alerts", "performance alerts", "scheduled reports", or mentions setting up notification channels for WordPress monitoring events.
Realtime
9zllovesuki/cloudflare-agent-skills
Build realtime Cloudflare applications using Durable Objects with WebSockets for data realtime and Cloudflare Realtime/WebRTC for audio and video. Use for chat rooms, multiplayer, collaboration, presence, live dashboards, and media-session routing.
Wp Cicd
9morrealev/wordpress-manager
This skill should be used when the user asks about "CI/CD", "pipeline", "GitHub Actions", "GitLab CI", "Bitbucket Pipelines", "deploy automation", "quality gates", "continuous integration", "continuous deployment", or any WordPress CI/CD workflow configuration.
Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.