Agent skill

Cloudflare Production Builder

by swyxio in swyxio/skills

Design, review, debug, migrate, or deploy production systems on Cloudflare Workers and related Developer Platform products.

MITAuto-check: notesDevOps & Cloud

Install Cloudflare Production Builder

skills CLI
$ npx skills add swyxio/skills --skill cloudflare-production-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install swyxio/skills cloudflare-production-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cloudflare-production-builder .claude/skills/cloudflare-production-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cloudflare-production-builder
GitHub stars
176
Token cost
~2.1k tokens
SKILL.md length
1,035 words
Files
8 (incl. references)
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Design, review, debug, migrate, or deploy production systems on Cloudflare Workers and related Developer Platform products.

  • Works in 6 steps: Identify authoritative state, the… → Treat source, build, upload,… → Prefer immutable artifacts and… → …
  • Material architecture
  • SKILL.md covers Choose the operating mode, Core contract, Prefer provider-native hot paths and Proportional workflow, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cloudflare Production Builder is an agent skill from swyxio/skills. Design, review, debug, migrate, or deploy production systems on Cloudflare Workers and related Developer Platform products. Use for material architecture, durability, release, migration, rollback, or live-verification decisions across Workers, Durable Objects, D1, R2, Queues, Workflows, bindings, and routes.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `agents/openai.yaml`, `references/deployments-and-migrations.md` and `references/durable-execution.md`).

It sits in DevOps & Cloud, covering Design review and critique. It works with Cloudflare, Cloudflare Durable Objects and Cloudflare Workers. The repository describes itself as: Agent skills for Claude Code and other AI agents. The licence is MIT.

When your agent uses it

  • Material architecture
  • Live-verification decisions across Workers
  • Durable Objects

Example prompts

  • “/cloudflare-production-builder”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Identify authoritative state, the coordination key, the durability boundary,
  2. Treat source, build, upload, configuration, migration, traffic, route,
  3. Prefer immutable artifacts and conditional pointer changes. Make external
  4. Classify errors before retrying. Persist terminal domain failures; bound
  5. Preserve accepted work across handoff failures. Use a durable record and a
  6. Verify the owning live path and exact identity after a production mutation.

What it can do on your machine

Read from SKILL.md and the folder at commit 038ef34. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cloudflare Production Builder loads about 2.1k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 1,035 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~15k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:113
    Scan the final bundle for `.dev.vars*`, `.env*`, credentials, and unexpected

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from swyxio/skills at commit 038ef34, republished under its MIT licence (© swyxio). 1,035 words, ~2,102 tokens.

Download SKILL.mdSave it as .claude/skills/cloudflare-production-builder/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
cloudflare-production-builder
description
Design, review, debug, migrate, or deploy production systems on Cloudflare Workers and related Developer Platform products. Use for material architecture, durability, release, migration, rollback, or live-verification decisions across Workers, Durable Objects, D1, R2, Queues, Workflows, bindings, and routes.

Cloudflare Production Builder

Apply this guidance proportionally. It is a production reasoning aid, not a mandatory ceremony layer. Stay within the user's requested operation and do not turn a diagnosis or recovery into an architecture program.

Choose the operating mode

  • Answer or diagnose: inspect only the evidence needed to explain the behavior. Do not mutate or design a replacement unless asked.
  • Recover: restore a known-good capability with the smallest supported, reversible operation. Preserve evidence and defer refactoring.
  • Change or migrate: design compatibility, durability, rollout, verification, and rollback for the surfaces actually affected.

Do not mix recovery and refactoring in one production operation.

Core contract

  1. Identify authoritative state, the coordination key, the durability boundary, and user-visible completion.
  2. Treat source, build, upload, configuration, migration, traffic, route, stateful lifecycle, and live behavior as separate facts only when the task depends on those surfaces.
  3. Prefer immutable artifacts and conditional pointer changes. Make external mutations idempotent, fenced, conditional, or compensatable.
  4. Classify errors before retrying. Persist terminal domain failures; bound transient retries; read authoritative provider state after an ambiguous mutation before replay. Do not turn artifact verification into a resumable controller unless the product operation itself requires durable execution.
  5. Preserve accepted work across handoff failures. Use a durable record and a repair path when an initiating request can disappear.
  6. Verify the owning live path and exact identity after a production mutation. Use precise language such as version uploaded, traffic switched, and live smoke passed.

For SHA-derived, write-once release artifacts, reconcile means bounded provider readback and a fail-closed decision. Adopt an existing artifact only when every immutable property matches. Never repair a mismatch in place, add a durable current-artifact pointer, or create another publication authority merely to make image, host, application, namespace, or version creation retryable. Traffic publication and rollback should switch one recorded immutable pointer when the topology supports it; build-time artifact preparation stays outside that publication path.

Prefer provider-native hot paths

For a measured Cloudflare bottleneck, identify the existing binding, bulk API, or authenticated REST operation before starting Wrangler or making a network round trip per item. Consider R2 bindings or direct REST uploads with an existing scoped token, D1 batch() or set-based SQL, KV bulk writes, Queue sendBatch(), direct Workers version/deployment readbacks, content-addressed asset reuse, and coalesced Durable Object writes when semantics permit.

Keep concurrency and transient retries bounded; preserve credential scope, provider limits, metadata, immutable verification, publication ordering, and rollback. Do not introduce S3 credentials, broader permissions, or a new service merely to optimize transport. Keep Wrangler for infrequent complex deployment mutations unless a supported API preserves every safety invariant; verify provider response schemas with a real canary.

Proportional workflow

  1. Inspect current code and provisioned state for the touched surface. Resolve the exact account, environment, resource, bindings, and live version before mutation.
  2. State the intended authority and repair/rollback path. For simple work, one sentence is enough.
  3. Run focused local or remote checks that can falsify the change. Do not add unrelated global gates.
  4. When authorized to deploy, upload and inspect before switching when the provider supports it. Use a verification path supported by the topology.
  5. After mutation, verify only the affected rollout axes plus the user-visible capability. Record exact identities and rollback evidence.

When a cutover temporarily retains an old Worker, Durable Object namespace, or container application as the exact rollback target, leave it byte-for-byte and configuration-for-configuration unchanged through the rollback-compatibility window. Retention is temporary compatibility, not permanent dual-running. Remove the old artifact only in a separate bounded cleanup after live and rollback compatibility have been proven; do not hide that deletion inside the cutover or ordinary artifact garbage collection.

Pause when the exact production target, current state, retry safety, or rollback target cannot be resolved. A blocker in an unrelated surface is not permission to broaden the operation.

Show full SKILL.md (398 more words)Show less

Integrate preview and newly launched capabilities safely

When a preview or newly launched Cloudflare capability materially improves the design, use it deliberately rather than trusting remembered APIs:

  1. Retrieve current first-party docs and changelog entries at action time. Note the capability's maturity, launch date, documented limits, and production support status.
  2. Inspect the installed package's package.json, README/examples, exports, and .d.ts files. Installed types are the compilation contract; marketing docs are not.
  3. Put the preview surface behind a narrow adapter so churn does not spread through domain code. Keep a supported fallback or an explicit failure mode when the capability is not production-suitable.
  4. Pin the exact package version during the proving release. Compile and build immediately after wiring each preview primitive; do not defer integration feedback until the full system exists.
  5. Inspect generated artifacts, not just source: Worker entrypoint, generated Wrangler config, asset directories, binding names, Durable Object migrations, and the path the release system will actually upload.
  6. Scan the final bundle for .dev.vars*, .env*, credentials, and unexpected local files. Fail or scrub the build before packaging; a clean Git ignore is not evidence that build output is clean.
  7. Record the exact version and local evidence separately from live evidence. Do not claim production behavior until the exact uploaded artifact, bindings, routes, migrations, and owning live path have passed smoke verification.

Treat type casts between preview packages as an adapter concern and test the runtime seam. Structurally similar workspace, loader, or RPC types from different package versions can compile only after a cast while still disagreeing at runtime.

Load references selectively

  • primitive-selection.md: use when the product or coordination primitive is genuinely undecided.
  • durable-execution.md: use for asynchronous handoffs, retries, queues, Workflows, or long-running external work.
  • storage-and-caching.md: use for storage, cache, and authorization boundaries.
  • deployments-and-migrations.md: use for multi-surface rollout, schema or Durable Object lifecycle, and rollback.
  • multitenant-hosting-and-security.md: use when customer-controlled code, public-fork changes, or another adversarial execution boundary requires tenant isolation. Do not load it solely because a preview comes from a same-repository PR by trusted collaborators.
  • observability-testing-and-cost.md: use when adding or reviewing telemetry, test layers, or spend controls, including CI build artifacts. Default large temporary build packages to three-day retention; keep small release receipts longer. The reference covers local validation, batched pushes, and selecting builds by actual dependencies.

Retrieve current first-party Cloudflare documentation before relying on API signatures, configuration, limits, pricing, retention, or product support.

© swyxio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in cloudflare-production-builder of swyxio/skills.

  • SKILL.md
  • agents/openai.yaml
  • references/deployments-and-migrations.md
  • references/durable-execution.md
  • references/multitenant-hosting-and-security.md
  • references/observability-testing-and-cost.md
  • references/primitive-selection.md
  • references/storage-and-caching.md

Open the folder on GitHubat commit 038ef34

Compare with similar skills

Cloudflare Production Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cloudflare Production Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cloudflare Production Builder this skillswyxio/skills176—~2.1kAutomated safety check: NotesMIT
Cloudflarehodgef/apiker1277 repos~2.2kAutomated safety check: PassMIT
Lunora Deployanolilab/lunora284—~2.9kAutomated safety check: PassCustom licence
Cloudflareericrisco/rsc-harness180—~2.6kAutomated safety check: PassMIT
Nextjs On Cloudflarecloudflare/skills3k2 repos~678Automated safety check: PassApache-2.0
Cloudflaredmmulroy/cloudflare-skill727—~1.6kAutomated safety check: PassMIT

Similar skills

  • Cloudflare

    hodgef/apiker

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…

    127 GitHub starsUsed in 7 repos~2.2k tokens
    DevOps & CloudAuto-check passed
  • Lunora Deploy

    anolilab/lunora

    Deploys a Lunora app to Cloudflare Workers + Durable Objects and gets wrangler.jsonc, remote resources and secrets to line up.

    284 GitHub stars~2.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Cloudflare

    ericrisco/rsc-harness

    A skill your agent uses when working on Cloudflare's edge platform — wrangler.jsonc bindings, choosing between D1/KV/R2/Durable Objects/Queues, deploying a Worker or SPA via Static Assets, or…

    180 GitHub stars~2.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Nextjs On Cloudflare

    cloudflare/skills

    Official

    Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext.

    3k GitHub starsUsed in 2 repos~678 tokens
    DevOps & CloudAuto-check passed
  • Cloudflare

    dmmulroy/cloudflare-skill

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and…

    727 GitHub stars~1.6k tokensUpdated 8 mo ago
    DevOps & CloudAuto-check passed
  • Observability Triage

    every-app/open-seo

    Triage OpenSEO production errors in Cloudflare Workers Observability — verified query recipes, counting gotchas, and a known-noise filter list applied automatically.

    23k GitHub stars~1.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from swyxio/skills

All 89 skills in this repo
  • Programmatic Agents

    swyxio/skills

    Run a selected coding-agent CLI programmatically, with latency, error, usage, cost, and trace logging.

    176 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Design, implement, audit, or refresh protected username and handle namespaces for public products.

    176 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed
  • New Mac Setup

    swyxio/skills

    Fully automated new Mac setup for fullstack web developers and AI engineers.

    176 GitHub stars~4.3k tokensUpdated 5 days ago
    Auto-check passed
  • Youtube API

    swyxio/skills

    Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info…

    176 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Batch YouTube Studio upload workflow for videos sourced from Airtable, Google Drive, Loom, YouTube, or local files.

    176 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check: warnings
  • Reconstruct and visually analyze paired agent, game, or policy trajectories to determine whether changed actions produced their intended effects.

    176 GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check passed

Questions about Cloudflare Production Builder

What does Cloudflare Production Builder do?

Design, review, debug, migrate, or deploy production systems on Cloudflare Workers and related Developer Platform products. Cloudflare Production Builder is an agent skill from swyxio/skills. Design, review, debug, migrate, or deploy production systems on Cloudflare Workers and related Developer Platform products.

When should I use Cloudflare Production Builder?

Cloudflare Production Builder fits situations like: material architecture; live-verification decisions across Workers; durable Objects.

How do I install Cloudflare Production Builder in Claude Code?

Run `npx skills add swyxio/skills --skill cloudflare-production-builder -a claude-code`. Or copy the skill folder (cloudflare-production-builder in swyxio/skills) into .claude/skills/cloudflare-production-builder in your project. Claude Code loads it when a task matches its description.

How do I install Cloudflare Production Builder in Codex?

Run `npx skills add swyxio/skills --skill cloudflare-production-builder -a codex`. Or copy the skill folder (cloudflare-production-builder in swyxio/skills) into .agents/skills/cloudflare-production-builder in your project. Codex loads it when a task matches its description.

Can I use Cloudflare Production Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add swyxio/skills --skill cloudflare-production-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloudflare-production-builder, .gemini/skills/cloudflare-production-builder, .github/skills/cloudflare-production-builder and .opencode/skills/cloudflare-production-builder in your project.

What does Cloudflare Production Builder need to run?

SKILL.md names no scripts, command-line tools or credentials: Cloudflare Production Builder is instructions for the agent only.

Does Cloudflare Production Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cloudflare Production Builder safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Cloudflare Production Builder use?

Cloudflare Production Builder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cloudflare Production Builder use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Cloudflare Production Builder?

Skills that share tags, products or a category with Cloudflare Production Builder: Cloudflare (hodgef/apiker, 127 stars), Lunora Deploy (anolilab/lunora, 284 stars), Cloudflare (ericrisco/rsc-harness, 180 stars) and Nextjs On Cloudflare (cloudflare/skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cloudflare Production Builder?

swyxio (a GitHub user) maintains it in swyxio/skills, which has 176 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 5, 2026.

Source: swyxio/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.