cloudflare-production-builder
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cloudflare-production-builder":https://skillpi.com/zh/skills/deepskill-471239a633f76543772170f51512f06a4bdb4a749f59a31173b2814a0769cf2a。安装前核对上游来源和版本:https://github.com/swyxio/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于设计、审查、调试、迁移或部署基于 Cloudflare Workers 及相关开发者平台(如 Durable Objects、D1、R2、队列、工作流、绑定与路由等)的生产系统。聚焦架构、持久性、发布、迁移、回滚或线上验证等决策和操作。
介绍来源: third_party · swyxio · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
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
- 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.
Retrieve current first-party Cloudflare documentation before relying on API signatures, configuration, limits, pricing, retention, or product support.
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向 Cloudflare Workers 生产系统构建,解决明确的技术痛点
- 涵盖设计、审查、调试、迁移、部署等完整生命周期
- 适用于广泛的 Cloudflare 开发者生态用户
待提升项
-
description写错位置 原报告严重程度:轻微
顶层frontmatter已有description,但skill_body内重复定义
改进建议:移除skill_body内的重复description定义,保持单一权威描述
亮点
- 触发描述完整且精准,涵盖多种操作场景
- 明确列出适用组件和边界条件
- 无歧义,易于用户理解适用场景
待提升项
-
引用文件缺失 原报告严重程度:重大
SKILL.md引用了5个reference文件但未传入ZIP包
改进建议:补全所有引用的reference文件,或移除引用链接
亮点
- 结构清晰,包含核心契约、工作流等完整章节
- 有明确的步骤划分和出口条件
- frontmatter完整,文档长度适中
亮点
- 提供详细的操作模式和核心契约
- 包含错误分类、重试策略、回滚机制
- 强调验证和证据保留,覆盖主要异常场景
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 60, 62, 113 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。