본문으로 건너뛰기
cccskills
무료GitHub에 공개

cloudflare-deploy

Deploy or change a Cloudflare Worker with cf. Review config, preflight, build and dry-run; show the target and change, obtain explicit approval, deploy and verify. Covers versions, secrets, rollback and named modes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Cloudflare
설치 방법 보기

포함된 파일(1)

  • SKILL.md4.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Cloudflare: deploy with approval

Hard rule. Never run a command from the "needs approval" list unless the user has approved that account, target and change after seeing a concrete plan. Respect approval already granted for that same scope; a different target, data change or traffic change needs its own approval. A push to a branch that Workers Builds deploys is a deploy too.

Commands by risk

Safe without approval (local or read-only):

  • cf --version, cf auth whoami
  • cf dev, cf build, cf deploy --dry-run, cf migrate --dry-run
  • reading deployments: cf workers deployments list
  • listing secret names: cf workers secrets list (never secret values)
  • supported resource simulations with explicit --local
  • /cloudflare-preflight (legacy JSON/TOML; typed config is not evaluated)

Needs approval (changes the account, data, money or traffic):

  • cf deploy, cf workers versions create (upload), cf workers deployments create, cf workers triggers deploy, rollback, or deletion of a Worker/version/deployment
  • cf workers secrets update or cf workers secrets delete
  • remote D1 queries or migrations that write, KV/R2 writes or deletes, and creating/deleting resources; cf API commands are remote unless their documented --local mode was explicitly selected
  • cf auth login: the user completes the authentication flow
  • reading production traffic/logs: explain the scope and bound its duration

Use anonymous cf cli search "<action and resource type>" queries to discover resource commands, then inspect the returned command with --help and its cf schema entry. Never put names, domains, IDs, email addresses or credentials in command-search queries. Search can return an upload command for a local build request: that is still a mutation, not a substitute for cf build.

Never ask for an API token in chat or print one. Authentication stays in the user's terminal through cf auth login or their environment. Secret updates must use a documented input mechanism that keeps values out of command arguments, logs and transcripts; if unavailable, let the user enter them outside the agent session. Never invent a cf secret put compatibility alias.

Workflow

  1. Read cloudflare.config.ts and source before executing it. For a legacy project, preview cf migrate --dry-run, review the local conversion, and preserve existing resource IDs, domains, schedules and storage.
  2. Run /cloudflare-preflight if applicable. Typed TypeScript is executable; the static checker reports it as unvalidated and never imports it.
  3. Identify the exact Worker, account and named mode. Read cf auth whoami and configuration; CLOUDFLARE_ACCOUNT_ID can override accountId. Resolve an ambiguous account before any mutation. Pass --mode <name> consistently when configuration depends on it.
  4. Run project tests, cf build, then cf deploy --dry-run [--mode <name>]. Inspect the actual entry, assets, bindings, lifecycle changes and warnings. A dry run uploads nothing; it does not prove production will work.
  5. Present the exact deployment command, account/Worker/mode, code and traffic changes, any new resources or migrations, verification and rollback plan. Obtain explicit yes for any scope not already approved.
  6. Run only the approved deployment. Request the changed routes and inspect cf workers deployments list; record version/deployment IDs and URL. If it fails, retain the error and actual state before planning a retry.

Versions, rollback, secrets and data

Uploading a version (cf workers versions create) and assigning traffic (cf workers deployments create) are separate mutations. Discover exact flags and schema for the installed cf version; do not translate Wrangler flags by renaming the executable. A rollback assigns an older version to traffic and never restores storage. It needs approval and a state check.

Durable Object creation/rename/delete/transfer can be irreversible. Review the lifecycle diff and deploy it separately with approval; do not assume a gradual rollout or rollback can undo it. See cloudflare-durable-objects.

Use named --mode values or a separate staging Worker. Do not test by deploying over production. Container config can roll running instances. Keep required secret names declared with the project's current typed configuration API; values never belong in source or chat. Remote database migrations require reviewed SQL, backup/restore planning and approval.

References: cf sign-in/account selection, migration reference, projects and deployment.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Audit a page or UI against WCAG 2.2 AA. Runs a static HTML scanner and a contrast calculator, then walks the manual keyboard, zoom, screen-reader-name and form checks the tools cannot do, and reports findings with the criterion, evidence, fix and how to verify. Use for accessibility reviews, WCAG checks, contrast questions or "is this accessible".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

codewhale-hq/codewhale-plugin-marketplace52026년 10월 12일 업데이트

batch

무료

Break a large, parallelizable goal into bounded work units, coordinate existing agent/worktree machinery, integrate, and verify. Explicit-only.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

codewhale-hq/codewhale-plugin-marketplace52026년 10월 12일 업데이트

best-of-n

무료

Generate a small set of independent candidate solutions in worktrees, judge them against one explicit rubric, and apply the winner only after PASS verification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

codewhale-hq/codewhale-plugin-marketplace52026년 10월 12일 업데이트

Read and act on selected Chrome tabs and frames — their real browser, their logged-in sessions. Use for questions about the current page, filling a form the user is on, following a link they mentioned, or checking what a site actually renders. Not for throwaway automation in a clean profile.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

codewhale-hq/codewhale-plugin-marketplace52026년 10월 12일 업데이트

Look up current Cloudflare documentation (Workers, Pages, KV, R2, D1, Queues, DNS, WAF, platform APIs) through Cloudflare's official remote MCP server. Use when answering Cloudflare questions or writing Cloudflare config.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

codewhale-hq/codewhale-plugin-marketplace52026년 10월 12일 업데이트

Design and write Cloudflare Durable Objects. SQLite storage, RPC methods, WebSocket hibernation, alarms, class lifecycle (exports or migrations), and testing. Use for stateful coordination, rooms, per-user state, counters, rate limiters.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

codewhale-hq/codewhale-plugin-marketplace52026년 10월 12일 업데이트

codewhale-hq의 스킬 모두 보기

이 스킬의 문제 신고