cloudflare-production-builder
Skill171 starsChanged 8 months agoMITView on GitHub
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.
- Reads credentials
In this repository99 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accelevents-apiSkill
- accelevents-speaker-syncSkill
- agents-sdkSkill
- ai-devblogSkill
- ai-engineeringSkill
- ai-readmeSkill
- align-meSkill
- antislop-codebaseSkill
- app-ux-paradigmsSkill
- autoreviewSkill
- babysit-runsSkill
- blog-system-designSkill
- cassandra-creatorSkill
- ceo-creatorSkill
- claude-session-introspectSkill
- cli-uxSkill
- cloudflare-do-turn-based-multiplayerSkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflareSkill
- conference-developer-endpointsSkill
- conference-transcribeSkill
- coordinateSkill
- data-chatbotsSkill
- data-visualization-qualitySkill
- deep-trajectory-analysisSkill
- design-apps-with-imagegenSkill
- design-preferencesSkill
- diy-netlifySkill
- download-videoSkill
- download-x-videoSkill
- durable-objectsSkill
- europe-developer-apiSkill
- face-matchingSkill
- forgeSkill
- future-onlySkill
- generalizeSkill
- gsuite-setupSkill
- keep-it-simpleSkill
- latent-space-thumbnail-directorSkill
- live-ai-pipelinesSkill
- location-inputSkill
- long-running-operation-uxSkill
- media-heavy-workflowsSkill
- media-to-wiki-pipelineSkill
- media-transformSkill
- mobile-nativeSkill
- mobile-webapp-uxSkill
- multimodal-extractionSkill
- new-mac-setupSkill
- next-stepsSkill
- observability-hardeningSkill
- person-profile-writingSkill
- podcast-publishing-assistantSkill
- productionize-app-with-servicesSkill
- programmatic-agentsSkill
- provision-model-keysSkill
- public-qa-chatbotSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Do not mix recovery and refactoring in one production operation.
- Distinctive: line 27
Treat source, build, upload, configuration, migration, traffic, route, stateful lifecycle, and live behavior as separate facts only when …
- Distinctive: line 30
Prefer immutable artifacts and conditional pointer changes.
- Very specific: line 38
Verify the owning live path and exact identity after a production mutation.
- Very specific: line 39
Use precise language such as version uploaded, traffic switched, and live smoke passed.
- Distinctive: line 60
Keep concurrency and transient retries bounded.
- Distinctive: line 74
Run focused local or remote checks that can falsify the change.
- Distinctive: line 76
When authorized to deploy, upload and inspect before switching when the provider supports it.
- Distinctive: line 78
After mutation, verify only the affected rollout axes plus the user-visible capability.
- Distinctive: line 81
When a cutover temporarily retains an old Worker, Durable Object namespace, or container application as the exact rollback target, leave it …
- Distinctive: line 85
Remove the old artifact only in a separate bounded cleanup after live and rollback compatibility have been proven.
- Distinctive: line 95
When a preview or newly launched Cloudflare capability materially improves the design, use it deliberately rather than trusting remembered …
- Distinctive: line 104
Put the preview surface behind a narrow adapter so churn does not spread through domain code.
- Distinctive: line 117
Do not claim production behavior until the exact uploaded artifact, bindings, routes, migrations, and owning live path have passed smoke …
- Distinctive: line 120
Treat type casts between preview packages as an adapter concern and test the runtime seam.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Identify authoritative state, the coordination key, the durability boundary, and user-visible completion.
- Treat source, build, upload, configuration, migration, traffic, route, stateful lifecycle, and live behavior as separate facts only when the task depends on those surfaces.
- Prefer immutable artifacts and conditional pointer changes. Make external mutations idempotent, fenced, conditional, or compensatable.
- 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.
- Preserve accepted work across handoff failures. Use a durable record and a repair path when an initiating request can disappear.
- Verify the owning live path and exact identity after a production mutation.
Use precise language such as
version uploaded,traffic switched, andlive 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
- Inspect current code and provisioned state for the touched surface. Resolve the exact account, environment, resource, bindings, and live version before mutation.
- State the intended authority and repair/rollback path. For simple work, one sentence is enough.
- Run focused local or remote checks that can falsify the change. Do not add unrelated global gates.
- When authorized to deploy, upload and inspect before switching when the provider supports it. Use a verification path supported by the topology.
- 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.
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:
- Retrieve current first-party docs and changelog entries at action time. Note the capability's maturity, launch date, documented limits, and production support status.
- Inspect the installed package's
package.json, README/examples, exports, and.d.tsfiles. Installed types are the compilation contract; marketing docs are not. - 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.
- 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.
- 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.
- 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. - 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

