[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-workers-best-practices":3,"mdc--vscejz-key":36,"related-repo-openai-workers-best-practices":1491,"related-org-openai-workers-best-practices":1611},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"workers-best-practices","review Cloudflare Workers code","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Cloudflare Workers","cloudflare-workers","tag",{"name":17,"slug":18,"type":15},"Code Review","code-review",{"name":20,"slug":21,"type":15},"Cloudflare","cloudflare",{"name":23,"slug":24,"type":15},"Serverless","serverless",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-04-06T18:39:50.474254",null,465,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fcloudflare\u002Fskills\u002Fworkers-best-practices","---\nname: workers-best-practices\ndescription: Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.\n---\n\nYour knowledge of Cloudflare Workers APIs, types, and configuration may be outdated. **Prefer retrieval over pre-training** for any Workers code task — writing or reviewing.\n\n## Retrieval Sources\n\nFetch the **latest** versions before writing or reviewing Workers code. Do not rely on baked-in knowledge for API signatures, config fields, or binding shapes.\n\n| Source | How to retrieve | Use for |\n|--------|----------------|---------|\n| Workers best practices | Fetch `https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fbest-practices\u002Fworkers-best-practices\u002F` | Canonical rules, patterns, anti-patterns |\n| Workers types | See `references\u002Freview.md` for retrieval steps | API signatures, handler types, binding types |\n| Wrangler config schema | `node_modules\u002Fwrangler\u002Fconfig-schema.json` | Config fields, binding shapes, allowed values |\n| Cloudflare docs | Search tool or `https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002F` | API reference, compatibility dates\u002Fflags |\n\n## FIRST: Fetch Latest References\n\nBefore reviewing or writing Workers code, retrieve the current best practices page and relevant type definitions. If the project's `node_modules` has an older version, **prefer the latest published version**.\n\n```bash\n# Fetch latest workers types\nmkdir -p \u002Ftmp\u002Fworkers-types-latest && \\\n  npm pack @cloudflare\u002Fworkers-types --pack-destination \u002Ftmp\u002Fworkers-types-latest && \\\n  tar -xzf \u002Ftmp\u002Fworkers-types-latest\u002Fcloudflare-workers-types-*.tgz -C \u002Ftmp\u002Fworkers-types-latest\n# Types at \u002Ftmp\u002Fworkers-types-latest\u002Fpackage\u002Findex.d.ts\n```\n\n## Reference Documentation\n\n- `references\u002Frules.md` — all best practice rules with code examples and anti-patterns\n- `references\u002Freview.md` — type validation, config validation, binding access patterns, review process\n\n## Rules Quick Reference\n\n### Configuration\n\n| Rule | Summary |\n|------|---------|\n| Compatibility date | Set `compatibility_date` to today on new projects; update periodically on existing ones |\n| nodejs_compat | Enable the `nodejs_compat` flag — many libraries depend on Node.js built-ins |\n| wrangler types | Run `wrangler types` to generate `Env` — never hand-write binding interfaces |\n| Secrets | Use `wrangler secret put`, never hardcode secrets in config or source |\n| wrangler.jsonc | Use JSONC config for non-secret settings — newer features are JSON-only |\n\n### Request & Response Handling\n\n| Rule | Summary |\n|------|---------|\n| Streaming | Stream large\u002Funknown payloads — never `await response.text()` on unbounded data |\n| waitUntil | Use `ctx.waitUntil()` for post-response work; do not destructure `ctx` |\n\n### Architecture\n\n| Rule | Summary |\n|------|---------|\n| Bindings over REST | Use in-process bindings (KV, R2, D1, Queues) — not the Cloudflare REST API |\n| Queues & Workflows | Move async\u002Fbackground work off the critical path |\n| Service bindings | Use service bindings for Worker-to-Worker calls — not public HTTP |\n| Hyperdrive | Always use Hyperdrive for external PostgreSQL\u002FMySQL connections |\n\n### Observability\n\n| Rule | Summary |\n|------|---------|\n| Logs & Traces | Enable `observability` in config with `head_sampling_rate`; use structured JSON logging |\n\n### Code Patterns\n\n| Rule | Summary |\n|------|---------|\n| No global request state | Never store request-scoped data in module-level variables |\n| Floating promises | Every Promise must be `await`ed, `return`ed, `void`ed, or passed to `ctx.waitUntil()` |\n\n### Security\n\n| Rule | Summary |\n|------|---------|\n| Web Crypto | Use `crypto.randomUUID()` \u002F `crypto.getRandomValues()` — never `Math.random()` for security |\n| No passThroughOnException | Use explicit try\u002Fcatch with structured error responses |\n\n## Anti-Patterns to Flag\n\n| Anti-pattern | Why it matters |\n|-------------|----------------|\n| `await response.text()` on unbounded data | Memory exhaustion — 128 MB limit |\n| Hardcoded secrets in source or config | Credential leak via version control |\n| `Math.random()` for tokens\u002FIDs | Predictable, not cryptographically secure |\n| Bare `fetch()` without `await` or `waitUntil` | Floating promise — dropped result, swallowed error |\n| Module-level mutable variables for request state | Cross-request data leaks, stale state, I\u002FO errors |\n| Cloudflare REST API from inside a Worker | Unnecessary network hop, auth overhead, added latency |\n| `ctx.passThroughOnException()` as error handling | Hides bugs, makes debugging impossible |\n| Hand-written `Env` interface | Drifts from actual wrangler config bindings |\n| Direct string comparison for secret values | Timing side-channel — use `crypto.subtle.timingSafeEqual` |\n| Destructuring `ctx` (`const { waitUntil } = ctx`) | Loses `this` binding — throws \"Illegal invocation\" at runtime |\n| `any` on `Env` or handler params | Defeats type safety for all binding access |\n| `as unknown as T` double-cast | Hides real type incompatibilities — fix the design |\n| `implements` on platform base classes (instead of `extends`) | Legacy — loses `this.ctx`, `this.env`. Applies to DurableObject, WorkerEntrypoint, Workflow |\n| `env.X` inside platform base class | Should be `this.env.X` in classes extending DurableObject, WorkerEntrypoint, etc. |\n\n## Review Workflow\n\n1. **Retrieve** — fetch latest best practices page, workers types, and wrangler schema\n2. **Read full files** — not just diffs; context matters for binding access patterns\n3. **Check types** — binding access, handler signatures, no `any`, no unsafe casts (see `references\u002Freview.md`)\n4. **Check config** — compatibility_date, nodejs_compat, observability, secrets, binding-code consistency\n5. **Check patterns** — streaming, floating promises, global state, serialization boundaries\n6. **Check security** — crypto usage, secret handling, timing-safe comparisons, error handling\n7. **Validate with tools** — `npx tsc --noEmit`, lint for `no-floating-promises`\n8. **Reference rules** — see `references\u002Frules.md` for each rule's correct pattern\n\n## Scope\n\nThis skill covers Workers-specific best practices and code review. For related topics:\n\n- **Durable Objects**: load the `durable-objects` skill\n- **Workflows**: see [Rules of Workflows](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkflows\u002Fbuild\u002Frules-of-workflows\u002F)\n- **Wrangler CLI commands**: load the `wrangler` skill\n\n## Principles\n\n- **Be certain.** Retrieve before flagging. If unsure about an API, config field, or pattern, fetch the docs first.\n- **Provide evidence.** Reference line numbers, tool output, or docs links.\n- **Focus on what developers will copy.** Workers code in examples and docs gets pasted into production.\n- **Correctness over completeness.** A concise example that works beats a comprehensive one with errors.\n",{"data":37,"body":38},{"name":4,"description":6},{"type":39,"children":40},"root",[41,57,64,76,206,212,232,372,378,404,410,417,542,548,615,621,693,699,747,753,827,833,902,908,1245,1251,1369,1375,1380,1436,1442,1485],{"type":42,"tag":43,"props":44,"children":45},"element","p",{},[46,49,55],{"type":47,"value":48},"text","Your knowledge of Cloudflare Workers APIs, types, and configuration may be outdated. ",{"type":42,"tag":50,"props":51,"children":52},"strong",{},[53],{"type":47,"value":54},"Prefer retrieval over pre-training",{"type":47,"value":56}," for any Workers code task — writing or reviewing.",{"type":42,"tag":58,"props":59,"children":61},"h2",{"id":60},"retrieval-sources",[62],{"type":47,"value":63},"Retrieval Sources",{"type":42,"tag":43,"props":65,"children":66},{},[67,69,74],{"type":47,"value":68},"Fetch the ",{"type":42,"tag":50,"props":70,"children":71},{},[72],{"type":47,"value":73},"latest",{"type":47,"value":75}," versions before writing or reviewing Workers code. Do not rely on baked-in knowledge for API signatures, config fields, or binding shapes.",{"type":42,"tag":77,"props":78,"children":79},"table",{},[80,104],{"type":42,"tag":81,"props":82,"children":83},"thead",{},[84],{"type":42,"tag":85,"props":86,"children":87},"tr",{},[88,94,99],{"type":42,"tag":89,"props":90,"children":91},"th",{},[92],{"type":47,"value":93},"Source",{"type":42,"tag":89,"props":95,"children":96},{},[97],{"type":47,"value":98},"How to retrieve",{"type":42,"tag":89,"props":100,"children":101},{},[102],{"type":47,"value":103},"Use for",{"type":42,"tag":105,"props":106,"children":107},"tbody",{},[108,134,160,182],{"type":42,"tag":85,"props":109,"children":110},{},[111,117,129],{"type":42,"tag":112,"props":113,"children":114},"td",{},[115],{"type":47,"value":116},"Workers best practices",{"type":42,"tag":112,"props":118,"children":119},{},[120,122],{"type":47,"value":121},"Fetch ",{"type":42,"tag":123,"props":124,"children":126},"code",{"className":125},[],[127],{"type":47,"value":128},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fbest-practices\u002Fworkers-best-practices\u002F",{"type":42,"tag":112,"props":130,"children":131},{},[132],{"type":47,"value":133},"Canonical rules, patterns, anti-patterns",{"type":42,"tag":85,"props":135,"children":136},{},[137,142,155],{"type":42,"tag":112,"props":138,"children":139},{},[140],{"type":47,"value":141},"Workers types",{"type":42,"tag":112,"props":143,"children":144},{},[145,147,153],{"type":47,"value":146},"See ",{"type":42,"tag":123,"props":148,"children":150},{"className":149},[],[151],{"type":47,"value":152},"references\u002Freview.md",{"type":47,"value":154}," for retrieval steps",{"type":42,"tag":112,"props":156,"children":157},{},[158],{"type":47,"value":159},"API signatures, handler types, binding types",{"type":42,"tag":85,"props":161,"children":162},{},[163,168,177],{"type":42,"tag":112,"props":164,"children":165},{},[166],{"type":47,"value":167},"Wrangler config schema",{"type":42,"tag":112,"props":169,"children":170},{},[171],{"type":42,"tag":123,"props":172,"children":174},{"className":173},[],[175],{"type":47,"value":176},"node_modules\u002Fwrangler\u002Fconfig-schema.json",{"type":42,"tag":112,"props":178,"children":179},{},[180],{"type":47,"value":181},"Config fields, binding shapes, allowed values",{"type":42,"tag":85,"props":183,"children":184},{},[185,190,201],{"type":42,"tag":112,"props":186,"children":187},{},[188],{"type":47,"value":189},"Cloudflare docs",{"type":42,"tag":112,"props":191,"children":192},{},[193,195],{"type":47,"value":194},"Search tool or ",{"type":42,"tag":123,"props":196,"children":198},{"className":197},[],[199],{"type":47,"value":200},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002F",{"type":42,"tag":112,"props":202,"children":203},{},[204],{"type":47,"value":205},"API reference, compatibility dates\u002Fflags",{"type":42,"tag":58,"props":207,"children":209},{"id":208},"first-fetch-latest-references",[210],{"type":47,"value":211},"FIRST: Fetch Latest References",{"type":42,"tag":43,"props":213,"children":214},{},[215,217,223,225,230],{"type":47,"value":216},"Before reviewing or writing Workers code, retrieve the current best practices page and relevant type definitions. If the project's ",{"type":42,"tag":123,"props":218,"children":220},{"className":219},[],[221],{"type":47,"value":222},"node_modules",{"type":47,"value":224}," has an older version, ",{"type":42,"tag":50,"props":226,"children":227},{},[228],{"type":47,"value":229},"prefer the latest published version",{"type":47,"value":231},".",{"type":42,"tag":233,"props":234,"children":239},"pre",{"className":235,"code":236,"language":237,"meta":238,"style":238},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Fetch latest workers types\nmkdir -p \u002Ftmp\u002Fworkers-types-latest && \\\n  npm pack @cloudflare\u002Fworkers-types --pack-destination \u002Ftmp\u002Fworkers-types-latest && \\\n  tar -xzf \u002Ftmp\u002Fworkers-types-latest\u002Fcloudflare-workers-types-*.tgz -C \u002Ftmp\u002Fworkers-types-latest\n# Types at \u002Ftmp\u002Fworkers-types-latest\u002Fpackage\u002Findex.d.ts\n","bash","",[240],{"type":42,"tag":123,"props":241,"children":242},{"__ignoreMap":238},[243,255,288,324,363],{"type":42,"tag":244,"props":245,"children":248},"span",{"class":246,"line":247},"line",1,[249],{"type":42,"tag":244,"props":250,"children":252},{"style":251},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[253],{"type":47,"value":254},"# Fetch latest workers types\n",{"type":42,"tag":244,"props":256,"children":258},{"class":246,"line":257},2,[259,265,271,276,282],{"type":42,"tag":244,"props":260,"children":262},{"style":261},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[263],{"type":47,"value":264},"mkdir",{"type":42,"tag":244,"props":266,"children":268},{"style":267},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[269],{"type":47,"value":270}," -p",{"type":42,"tag":244,"props":272,"children":273},{"style":267},[274],{"type":47,"value":275}," \u002Ftmp\u002Fworkers-types-latest",{"type":42,"tag":244,"props":277,"children":279},{"style":278},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[280],{"type":47,"value":281}," &&",{"type":42,"tag":244,"props":283,"children":285},{"style":284},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[286],{"type":47,"value":287}," \\\n",{"type":42,"tag":244,"props":289,"children":291},{"class":246,"line":290},3,[292,297,302,307,312,316,320],{"type":42,"tag":244,"props":293,"children":294},{"style":261},[295],{"type":47,"value":296},"  npm",{"type":42,"tag":244,"props":298,"children":299},{"style":267},[300],{"type":47,"value":301}," pack",{"type":42,"tag":244,"props":303,"children":304},{"style":267},[305],{"type":47,"value":306}," @cloudflare\u002Fworkers-types",{"type":42,"tag":244,"props":308,"children":309},{"style":267},[310],{"type":47,"value":311}," --pack-destination",{"type":42,"tag":244,"props":313,"children":314},{"style":267},[315],{"type":47,"value":275},{"type":42,"tag":244,"props":317,"children":318},{"style":278},[319],{"type":47,"value":281},{"type":42,"tag":244,"props":321,"children":322},{"style":284},[323],{"type":47,"value":287},{"type":42,"tag":244,"props":325,"children":327},{"class":246,"line":326},4,[328,333,338,343,348,353,358],{"type":42,"tag":244,"props":329,"children":330},{"style":261},[331],{"type":47,"value":332},"  tar",{"type":42,"tag":244,"props":334,"children":335},{"style":267},[336],{"type":47,"value":337}," -xzf",{"type":42,"tag":244,"props":339,"children":340},{"style":267},[341],{"type":47,"value":342}," \u002Ftmp\u002Fworkers-types-latest\u002Fcloudflare-workers-types-",{"type":42,"tag":244,"props":344,"children":345},{"style":284},[346],{"type":47,"value":347},"*",{"type":42,"tag":244,"props":349,"children":350},{"style":267},[351],{"type":47,"value":352},".tgz",{"type":42,"tag":244,"props":354,"children":355},{"style":267},[356],{"type":47,"value":357}," -C",{"type":42,"tag":244,"props":359,"children":360},{"style":267},[361],{"type":47,"value":362}," \u002Ftmp\u002Fworkers-types-latest\n",{"type":42,"tag":244,"props":364,"children":366},{"class":246,"line":365},5,[367],{"type":42,"tag":244,"props":368,"children":369},{"style":251},[370],{"type":47,"value":371},"# Types at \u002Ftmp\u002Fworkers-types-latest\u002Fpackage\u002Findex.d.ts\n",{"type":42,"tag":58,"props":373,"children":375},{"id":374},"reference-documentation",[376],{"type":47,"value":377},"Reference Documentation",{"type":42,"tag":379,"props":380,"children":381},"ul",{},[382,394],{"type":42,"tag":383,"props":384,"children":385},"li",{},[386,392],{"type":42,"tag":123,"props":387,"children":389},{"className":388},[],[390],{"type":47,"value":391},"references\u002Frules.md",{"type":47,"value":393}," — all best practice rules with code examples and anti-patterns",{"type":42,"tag":383,"props":395,"children":396},{},[397,402],{"type":42,"tag":123,"props":398,"children":400},{"className":399},[],[401],{"type":47,"value":152},{"type":47,"value":403}," — type validation, config validation, binding access patterns, review process",{"type":42,"tag":58,"props":405,"children":407},{"id":406},"rules-quick-reference",[408],{"type":47,"value":409},"Rules Quick Reference",{"type":42,"tag":411,"props":412,"children":414},"h3",{"id":413},"configuration",[415],{"type":47,"value":416},"Configuration",{"type":42,"tag":77,"props":418,"children":419},{},[420,436],{"type":42,"tag":81,"props":421,"children":422},{},[423],{"type":42,"tag":85,"props":424,"children":425},{},[426,431],{"type":42,"tag":89,"props":427,"children":428},{},[429],{"type":47,"value":430},"Rule",{"type":42,"tag":89,"props":432,"children":433},{},[434],{"type":47,"value":435},"Summary",{"type":42,"tag":105,"props":437,"children":438},{},[439,460,480,508,529],{"type":42,"tag":85,"props":440,"children":441},{},[442,447],{"type":42,"tag":112,"props":443,"children":444},{},[445],{"type":47,"value":446},"Compatibility date",{"type":42,"tag":112,"props":448,"children":449},{},[450,452,458],{"type":47,"value":451},"Set ",{"type":42,"tag":123,"props":453,"children":455},{"className":454},[],[456],{"type":47,"value":457},"compatibility_date",{"type":47,"value":459}," to today on new projects; update periodically on existing ones",{"type":42,"tag":85,"props":461,"children":462},{},[463,468],{"type":42,"tag":112,"props":464,"children":465},{},[466],{"type":47,"value":467},"nodejs_compat",{"type":42,"tag":112,"props":469,"children":470},{},[471,473,478],{"type":47,"value":472},"Enable the ",{"type":42,"tag":123,"props":474,"children":476},{"className":475},[],[477],{"type":47,"value":467},{"type":47,"value":479}," flag — many libraries depend on Node.js built-ins",{"type":42,"tag":85,"props":481,"children":482},{},[483,488],{"type":42,"tag":112,"props":484,"children":485},{},[486],{"type":47,"value":487},"wrangler types",{"type":42,"tag":112,"props":489,"children":490},{},[491,493,498,500,506],{"type":47,"value":492},"Run ",{"type":42,"tag":123,"props":494,"children":496},{"className":495},[],[497],{"type":47,"value":487},{"type":47,"value":499}," to generate ",{"type":42,"tag":123,"props":501,"children":503},{"className":502},[],[504],{"type":47,"value":505},"Env",{"type":47,"value":507}," — never hand-write binding interfaces",{"type":42,"tag":85,"props":509,"children":510},{},[511,516],{"type":42,"tag":112,"props":512,"children":513},{},[514],{"type":47,"value":515},"Secrets",{"type":42,"tag":112,"props":517,"children":518},{},[519,521,527],{"type":47,"value":520},"Use ",{"type":42,"tag":123,"props":522,"children":524},{"className":523},[],[525],{"type":47,"value":526},"wrangler secret put",{"type":47,"value":528},", never hardcode secrets in config or source",{"type":42,"tag":85,"props":530,"children":531},{},[532,537],{"type":42,"tag":112,"props":533,"children":534},{},[535],{"type":47,"value":536},"wrangler.jsonc",{"type":42,"tag":112,"props":538,"children":539},{},[540],{"type":47,"value":541},"Use JSONC config for non-secret settings — newer features are JSON-only",{"type":42,"tag":411,"props":543,"children":545},{"id":544},"request-response-handling",[546],{"type":47,"value":547},"Request & Response Handling",{"type":42,"tag":77,"props":549,"children":550},{},[551,565],{"type":42,"tag":81,"props":552,"children":553},{},[554],{"type":42,"tag":85,"props":555,"children":556},{},[557,561],{"type":42,"tag":89,"props":558,"children":559},{},[560],{"type":47,"value":430},{"type":42,"tag":89,"props":562,"children":563},{},[564],{"type":47,"value":435},{"type":42,"tag":105,"props":566,"children":567},{},[568,589],{"type":42,"tag":85,"props":569,"children":570},{},[571,576],{"type":42,"tag":112,"props":572,"children":573},{},[574],{"type":47,"value":575},"Streaming",{"type":42,"tag":112,"props":577,"children":578},{},[579,581,587],{"type":47,"value":580},"Stream large\u002Funknown payloads — never ",{"type":42,"tag":123,"props":582,"children":584},{"className":583},[],[585],{"type":47,"value":586},"await response.text()",{"type":47,"value":588}," on unbounded data",{"type":42,"tag":85,"props":590,"children":591},{},[592,597],{"type":42,"tag":112,"props":593,"children":594},{},[595],{"type":47,"value":596},"waitUntil",{"type":42,"tag":112,"props":598,"children":599},{},[600,601,607,609],{"type":47,"value":520},{"type":42,"tag":123,"props":602,"children":604},{"className":603},[],[605],{"type":47,"value":606},"ctx.waitUntil()",{"type":47,"value":608}," for post-response work; do not destructure ",{"type":42,"tag":123,"props":610,"children":612},{"className":611},[],[613],{"type":47,"value":614},"ctx",{"type":42,"tag":411,"props":616,"children":618},{"id":617},"architecture",[619],{"type":47,"value":620},"Architecture",{"type":42,"tag":77,"props":622,"children":623},{},[624,638],{"type":42,"tag":81,"props":625,"children":626},{},[627],{"type":42,"tag":85,"props":628,"children":629},{},[630,634],{"type":42,"tag":89,"props":631,"children":632},{},[633],{"type":47,"value":430},{"type":42,"tag":89,"props":635,"children":636},{},[637],{"type":47,"value":435},{"type":42,"tag":105,"props":639,"children":640},{},[641,654,667,680],{"type":42,"tag":85,"props":642,"children":643},{},[644,649],{"type":42,"tag":112,"props":645,"children":646},{},[647],{"type":47,"value":648},"Bindings over REST",{"type":42,"tag":112,"props":650,"children":651},{},[652],{"type":47,"value":653},"Use in-process bindings (KV, R2, D1, Queues) — not the Cloudflare REST API",{"type":42,"tag":85,"props":655,"children":656},{},[657,662],{"type":42,"tag":112,"props":658,"children":659},{},[660],{"type":47,"value":661},"Queues & Workflows",{"type":42,"tag":112,"props":663,"children":664},{},[665],{"type":47,"value":666},"Move async\u002Fbackground work off the critical path",{"type":42,"tag":85,"props":668,"children":669},{},[670,675],{"type":42,"tag":112,"props":671,"children":672},{},[673],{"type":47,"value":674},"Service bindings",{"type":42,"tag":112,"props":676,"children":677},{},[678],{"type":47,"value":679},"Use service bindings for Worker-to-Worker calls — not public HTTP",{"type":42,"tag":85,"props":681,"children":682},{},[683,688],{"type":42,"tag":112,"props":684,"children":685},{},[686],{"type":47,"value":687},"Hyperdrive",{"type":42,"tag":112,"props":689,"children":690},{},[691],{"type":47,"value":692},"Always use Hyperdrive for external PostgreSQL\u002FMySQL connections",{"type":42,"tag":411,"props":694,"children":696},{"id":695},"observability",[697],{"type":47,"value":698},"Observability",{"type":42,"tag":77,"props":700,"children":701},{},[702,716],{"type":42,"tag":81,"props":703,"children":704},{},[705],{"type":42,"tag":85,"props":706,"children":707},{},[708,712],{"type":42,"tag":89,"props":709,"children":710},{},[711],{"type":47,"value":430},{"type":42,"tag":89,"props":713,"children":714},{},[715],{"type":47,"value":435},{"type":42,"tag":105,"props":717,"children":718},{},[719],{"type":42,"tag":85,"props":720,"children":721},{},[722,727],{"type":42,"tag":112,"props":723,"children":724},{},[725],{"type":47,"value":726},"Logs & Traces",{"type":42,"tag":112,"props":728,"children":729},{},[730,732,737,739,745],{"type":47,"value":731},"Enable ",{"type":42,"tag":123,"props":733,"children":735},{"className":734},[],[736],{"type":47,"value":695},{"type":47,"value":738}," in config with ",{"type":42,"tag":123,"props":740,"children":742},{"className":741},[],[743],{"type":47,"value":744},"head_sampling_rate",{"type":47,"value":746},"; use structured JSON logging",{"type":42,"tag":411,"props":748,"children":750},{"id":749},"code-patterns",[751],{"type":47,"value":752},"Code Patterns",{"type":42,"tag":77,"props":754,"children":755},{},[756,770],{"type":42,"tag":81,"props":757,"children":758},{},[759],{"type":42,"tag":85,"props":760,"children":761},{},[762,766],{"type":42,"tag":89,"props":763,"children":764},{},[765],{"type":47,"value":430},{"type":42,"tag":89,"props":767,"children":768},{},[769],{"type":47,"value":435},{"type":42,"tag":105,"props":771,"children":772},{},[773,786],{"type":42,"tag":85,"props":774,"children":775},{},[776,781],{"type":42,"tag":112,"props":777,"children":778},{},[779],{"type":47,"value":780},"No global request state",{"type":42,"tag":112,"props":782,"children":783},{},[784],{"type":47,"value":785},"Never store request-scoped data in module-level variables",{"type":42,"tag":85,"props":787,"children":788},{},[789,794],{"type":42,"tag":112,"props":790,"children":791},{},[792],{"type":47,"value":793},"Floating promises",{"type":42,"tag":112,"props":795,"children":796},{},[797,799,805,807,813,814,820,822],{"type":47,"value":798},"Every Promise must be ",{"type":42,"tag":123,"props":800,"children":802},{"className":801},[],[803],{"type":47,"value":804},"await",{"type":47,"value":806},"ed, ",{"type":42,"tag":123,"props":808,"children":810},{"className":809},[],[811],{"type":47,"value":812},"return",{"type":47,"value":806},{"type":42,"tag":123,"props":815,"children":817},{"className":816},[],[818],{"type":47,"value":819},"void",{"type":47,"value":821},"ed, or passed to ",{"type":42,"tag":123,"props":823,"children":825},{"className":824},[],[826],{"type":47,"value":606},{"type":42,"tag":411,"props":828,"children":830},{"id":829},"security",[831],{"type":47,"value":832},"Security",{"type":42,"tag":77,"props":834,"children":835},{},[836,850],{"type":42,"tag":81,"props":837,"children":838},{},[839],{"type":42,"tag":85,"props":840,"children":841},{},[842,846],{"type":42,"tag":89,"props":843,"children":844},{},[845],{"type":47,"value":430},{"type":42,"tag":89,"props":847,"children":848},{},[849],{"type":47,"value":435},{"type":42,"tag":105,"props":851,"children":852},{},[853,889],{"type":42,"tag":85,"props":854,"children":855},{},[856,861],{"type":42,"tag":112,"props":857,"children":858},{},[859],{"type":47,"value":860},"Web Crypto",{"type":42,"tag":112,"props":862,"children":863},{},[864,865,871,873,879,881,887],{"type":47,"value":520},{"type":42,"tag":123,"props":866,"children":868},{"className":867},[],[869],{"type":47,"value":870},"crypto.randomUUID()",{"type":47,"value":872}," \u002F ",{"type":42,"tag":123,"props":874,"children":876},{"className":875},[],[877],{"type":47,"value":878},"crypto.getRandomValues()",{"type":47,"value":880}," — never ",{"type":42,"tag":123,"props":882,"children":884},{"className":883},[],[885],{"type":47,"value":886},"Math.random()",{"type":47,"value":888}," for security",{"type":42,"tag":85,"props":890,"children":891},{},[892,897],{"type":42,"tag":112,"props":893,"children":894},{},[895],{"type":47,"value":896},"No passThroughOnException",{"type":42,"tag":112,"props":898,"children":899},{},[900],{"type":47,"value":901},"Use explicit try\u002Fcatch with structured error responses",{"type":42,"tag":58,"props":903,"children":905},{"id":904},"anti-patterns-to-flag",[906],{"type":47,"value":907},"Anti-Patterns to Flag",{"type":42,"tag":77,"props":909,"children":910},{},[911,927],{"type":42,"tag":81,"props":912,"children":913},{},[914],{"type":42,"tag":85,"props":915,"children":916},{},[917,922],{"type":42,"tag":89,"props":918,"children":919},{},[920],{"type":47,"value":921},"Anti-pattern",{"type":42,"tag":89,"props":923,"children":924},{},[925],{"type":47,"value":926},"Why it matters",{"type":42,"tag":105,"props":928,"children":929},{},[930,947,960,978,1011,1024,1037,1056,1076,1095,1131,1157,1176,1218],{"type":42,"tag":85,"props":931,"children":932},{},[933,942],{"type":42,"tag":112,"props":934,"children":935},{},[936,941],{"type":42,"tag":123,"props":937,"children":939},{"className":938},[],[940],{"type":47,"value":586},{"type":47,"value":588},{"type":42,"tag":112,"props":943,"children":944},{},[945],{"type":47,"value":946},"Memory exhaustion — 128 MB limit",{"type":42,"tag":85,"props":948,"children":949},{},[950,955],{"type":42,"tag":112,"props":951,"children":952},{},[953],{"type":47,"value":954},"Hardcoded secrets in source or config",{"type":42,"tag":112,"props":956,"children":957},{},[958],{"type":47,"value":959},"Credential leak via version control",{"type":42,"tag":85,"props":961,"children":962},{},[963,973],{"type":42,"tag":112,"props":964,"children":965},{},[966,971],{"type":42,"tag":123,"props":967,"children":969},{"className":968},[],[970],{"type":47,"value":886},{"type":47,"value":972}," for tokens\u002FIDs",{"type":42,"tag":112,"props":974,"children":975},{},[976],{"type":47,"value":977},"Predictable, not cryptographically secure",{"type":42,"tag":85,"props":979,"children":980},{},[981,1006],{"type":42,"tag":112,"props":982,"children":983},{},[984,986,992,994,999,1001],{"type":47,"value":985},"Bare ",{"type":42,"tag":123,"props":987,"children":989},{"className":988},[],[990],{"type":47,"value":991},"fetch()",{"type":47,"value":993}," without ",{"type":42,"tag":123,"props":995,"children":997},{"className":996},[],[998],{"type":47,"value":804},{"type":47,"value":1000}," or ",{"type":42,"tag":123,"props":1002,"children":1004},{"className":1003},[],[1005],{"type":47,"value":596},{"type":42,"tag":112,"props":1007,"children":1008},{},[1009],{"type":47,"value":1010},"Floating promise — dropped result, swallowed error",{"type":42,"tag":85,"props":1012,"children":1013},{},[1014,1019],{"type":42,"tag":112,"props":1015,"children":1016},{},[1017],{"type":47,"value":1018},"Module-level mutable variables for request state",{"type":42,"tag":112,"props":1020,"children":1021},{},[1022],{"type":47,"value":1023},"Cross-request data leaks, stale state, I\u002FO errors",{"type":42,"tag":85,"props":1025,"children":1026},{},[1027,1032],{"type":42,"tag":112,"props":1028,"children":1029},{},[1030],{"type":47,"value":1031},"Cloudflare REST API from inside a Worker",{"type":42,"tag":112,"props":1033,"children":1034},{},[1035],{"type":47,"value":1036},"Unnecessary network hop, auth overhead, added latency",{"type":42,"tag":85,"props":1038,"children":1039},{},[1040,1051],{"type":42,"tag":112,"props":1041,"children":1042},{},[1043,1049],{"type":42,"tag":123,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":47,"value":1048},"ctx.passThroughOnException()",{"type":47,"value":1050}," as error handling",{"type":42,"tag":112,"props":1052,"children":1053},{},[1054],{"type":47,"value":1055},"Hides bugs, makes debugging impossible",{"type":42,"tag":85,"props":1057,"children":1058},{},[1059,1071],{"type":42,"tag":112,"props":1060,"children":1061},{},[1062,1064,1069],{"type":47,"value":1063},"Hand-written ",{"type":42,"tag":123,"props":1065,"children":1067},{"className":1066},[],[1068],{"type":47,"value":505},{"type":47,"value":1070}," interface",{"type":42,"tag":112,"props":1072,"children":1073},{},[1074],{"type":47,"value":1075},"Drifts from actual wrangler config bindings",{"type":42,"tag":85,"props":1077,"children":1078},{},[1079,1084],{"type":42,"tag":112,"props":1080,"children":1081},{},[1082],{"type":47,"value":1083},"Direct string comparison for secret values",{"type":42,"tag":112,"props":1085,"children":1086},{},[1087,1089],{"type":47,"value":1088},"Timing side-channel — use ",{"type":42,"tag":123,"props":1090,"children":1092},{"className":1091},[],[1093],{"type":47,"value":1094},"crypto.subtle.timingSafeEqual",{"type":42,"tag":85,"props":1096,"children":1097},{},[1098,1118],{"type":42,"tag":112,"props":1099,"children":1100},{},[1101,1103,1108,1110,1116],{"type":47,"value":1102},"Destructuring ",{"type":42,"tag":123,"props":1104,"children":1106},{"className":1105},[],[1107],{"type":47,"value":614},{"type":47,"value":1109}," (",{"type":42,"tag":123,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":47,"value":1115},"const { waitUntil } = ctx",{"type":47,"value":1117},")",{"type":42,"tag":112,"props":1119,"children":1120},{},[1121,1123,1129],{"type":47,"value":1122},"Loses ",{"type":42,"tag":123,"props":1124,"children":1126},{"className":1125},[],[1127],{"type":47,"value":1128},"this",{"type":47,"value":1130}," binding — throws \"Illegal invocation\" at runtime",{"type":42,"tag":85,"props":1132,"children":1133},{},[1134,1152],{"type":42,"tag":112,"props":1135,"children":1136},{},[1137,1143,1145,1150],{"type":42,"tag":123,"props":1138,"children":1140},{"className":1139},[],[1141],{"type":47,"value":1142},"any",{"type":47,"value":1144}," on ",{"type":42,"tag":123,"props":1146,"children":1148},{"className":1147},[],[1149],{"type":47,"value":505},{"type":47,"value":1151}," or handler params",{"type":42,"tag":112,"props":1153,"children":1154},{},[1155],{"type":47,"value":1156},"Defeats type safety for all binding access",{"type":42,"tag":85,"props":1158,"children":1159},{},[1160,1171],{"type":42,"tag":112,"props":1161,"children":1162},{},[1163,1169],{"type":42,"tag":123,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":47,"value":1168},"as unknown as T",{"type":47,"value":1170}," double-cast",{"type":42,"tag":112,"props":1172,"children":1173},{},[1174],{"type":47,"value":1175},"Hides real type incompatibilities — fix the design",{"type":42,"tag":85,"props":1177,"children":1178},{},[1179,1197],{"type":42,"tag":112,"props":1180,"children":1181},{},[1182,1188,1190,1196],{"type":42,"tag":123,"props":1183,"children":1185},{"className":1184},[],[1186],{"type":47,"value":1187},"implements",{"type":47,"value":1189}," on platform base classes (instead of ",{"type":42,"tag":123,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":47,"value":1195},"extends",{"type":47,"value":1117},{"type":42,"tag":112,"props":1198,"children":1199},{},[1200,1202,1208,1210,1216],{"type":47,"value":1201},"Legacy — loses ",{"type":42,"tag":123,"props":1203,"children":1205},{"className":1204},[],[1206],{"type":47,"value":1207},"this.ctx",{"type":47,"value":1209},", ",{"type":42,"tag":123,"props":1211,"children":1213},{"className":1212},[],[1214],{"type":47,"value":1215},"this.env",{"type":47,"value":1217},". Applies to DurableObject, WorkerEntrypoint, Workflow",{"type":42,"tag":85,"props":1219,"children":1220},{},[1221,1232],{"type":42,"tag":112,"props":1222,"children":1223},{},[1224,1230],{"type":42,"tag":123,"props":1225,"children":1227},{"className":1226},[],[1228],{"type":47,"value":1229},"env.X",{"type":47,"value":1231}," inside platform base class",{"type":42,"tag":112,"props":1233,"children":1234},{},[1235,1237,1243],{"type":47,"value":1236},"Should be ",{"type":42,"tag":123,"props":1238,"children":1240},{"className":1239},[],[1241],{"type":47,"value":1242},"this.env.X",{"type":47,"value":1244}," in classes extending DurableObject, WorkerEntrypoint, etc.",{"type":42,"tag":58,"props":1246,"children":1248},{"id":1247},"review-workflow",[1249],{"type":47,"value":1250},"Review Workflow",{"type":42,"tag":1252,"props":1253,"children":1254},"ol",{},[1255,1265,1275,1298,1308,1318,1328,1352],{"type":42,"tag":383,"props":1256,"children":1257},{},[1258,1263],{"type":42,"tag":50,"props":1259,"children":1260},{},[1261],{"type":47,"value":1262},"Retrieve",{"type":47,"value":1264}," — fetch latest best practices page, workers types, and wrangler schema",{"type":42,"tag":383,"props":1266,"children":1267},{},[1268,1273],{"type":42,"tag":50,"props":1269,"children":1270},{},[1271],{"type":47,"value":1272},"Read full files",{"type":47,"value":1274}," — not just diffs; context matters for binding access patterns",{"type":42,"tag":383,"props":1276,"children":1277},{},[1278,1283,1285,1290,1292,1297],{"type":42,"tag":50,"props":1279,"children":1280},{},[1281],{"type":47,"value":1282},"Check types",{"type":47,"value":1284}," — binding access, handler signatures, no ",{"type":42,"tag":123,"props":1286,"children":1288},{"className":1287},[],[1289],{"type":47,"value":1142},{"type":47,"value":1291},", no unsafe casts (see ",{"type":42,"tag":123,"props":1293,"children":1295},{"className":1294},[],[1296],{"type":47,"value":152},{"type":47,"value":1117},{"type":42,"tag":383,"props":1299,"children":1300},{},[1301,1306],{"type":42,"tag":50,"props":1302,"children":1303},{},[1304],{"type":47,"value":1305},"Check config",{"type":47,"value":1307}," — compatibility_date, nodejs_compat, observability, secrets, binding-code consistency",{"type":42,"tag":383,"props":1309,"children":1310},{},[1311,1316],{"type":42,"tag":50,"props":1312,"children":1313},{},[1314],{"type":47,"value":1315},"Check patterns",{"type":47,"value":1317}," — streaming, floating promises, global state, serialization boundaries",{"type":42,"tag":383,"props":1319,"children":1320},{},[1321,1326],{"type":42,"tag":50,"props":1322,"children":1323},{},[1324],{"type":47,"value":1325},"Check security",{"type":47,"value":1327}," — crypto usage, secret handling, timing-safe comparisons, error handling",{"type":42,"tag":383,"props":1329,"children":1330},{},[1331,1336,1338,1344,1346],{"type":42,"tag":50,"props":1332,"children":1333},{},[1334],{"type":47,"value":1335},"Validate with tools",{"type":47,"value":1337}," — ",{"type":42,"tag":123,"props":1339,"children":1341},{"className":1340},[],[1342],{"type":47,"value":1343},"npx tsc --noEmit",{"type":47,"value":1345},", lint for ",{"type":42,"tag":123,"props":1347,"children":1349},{"className":1348},[],[1350],{"type":47,"value":1351},"no-floating-promises",{"type":42,"tag":383,"props":1353,"children":1354},{},[1355,1360,1362,1367],{"type":42,"tag":50,"props":1356,"children":1357},{},[1358],{"type":47,"value":1359},"Reference rules",{"type":47,"value":1361}," — see ",{"type":42,"tag":123,"props":1363,"children":1365},{"className":1364},[],[1366],{"type":47,"value":391},{"type":47,"value":1368}," for each rule's correct pattern",{"type":42,"tag":58,"props":1370,"children":1372},{"id":1371},"scope",[1373],{"type":47,"value":1374},"Scope",{"type":42,"tag":43,"props":1376,"children":1377},{},[1378],{"type":47,"value":1379},"This skill covers Workers-specific best practices and code review. For related topics:",{"type":42,"tag":379,"props":1381,"children":1382},{},[1383,1401,1420],{"type":42,"tag":383,"props":1384,"children":1385},{},[1386,1391,1393,1399],{"type":42,"tag":50,"props":1387,"children":1388},{},[1389],{"type":47,"value":1390},"Durable Objects",{"type":47,"value":1392},": load the ",{"type":42,"tag":123,"props":1394,"children":1396},{"className":1395},[],[1397],{"type":47,"value":1398},"durable-objects",{"type":47,"value":1400}," skill",{"type":42,"tag":383,"props":1402,"children":1403},{},[1404,1409,1411],{"type":42,"tag":50,"props":1405,"children":1406},{},[1407],{"type":47,"value":1408},"Workflows",{"type":47,"value":1410},": see ",{"type":42,"tag":1412,"props":1413,"children":1417},"a",{"href":1414,"rel":1415},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkflows\u002Fbuild\u002Frules-of-workflows\u002F",[1416],"nofollow",[1418],{"type":47,"value":1419},"Rules of Workflows",{"type":42,"tag":383,"props":1421,"children":1422},{},[1423,1428,1429,1435],{"type":42,"tag":50,"props":1424,"children":1425},{},[1426],{"type":47,"value":1427},"Wrangler CLI commands",{"type":47,"value":1392},{"type":42,"tag":123,"props":1430,"children":1432},{"className":1431},[],[1433],{"type":47,"value":1434},"wrangler",{"type":47,"value":1400},{"type":42,"tag":58,"props":1437,"children":1439},{"id":1438},"principles",[1440],{"type":47,"value":1441},"Principles",{"type":42,"tag":379,"props":1443,"children":1444},{},[1445,1455,1465,1475],{"type":42,"tag":383,"props":1446,"children":1447},{},[1448,1453],{"type":42,"tag":50,"props":1449,"children":1450},{},[1451],{"type":47,"value":1452},"Be certain.",{"type":47,"value":1454}," Retrieve before flagging. If unsure about an API, config field, or pattern, fetch the docs first.",{"type":42,"tag":383,"props":1456,"children":1457},{},[1458,1463],{"type":42,"tag":50,"props":1459,"children":1460},{},[1461],{"type":47,"value":1462},"Provide evidence.",{"type":47,"value":1464}," Reference line numbers, tool output, or docs links.",{"type":42,"tag":383,"props":1466,"children":1467},{},[1468,1473],{"type":42,"tag":50,"props":1469,"children":1470},{},[1471],{"type":47,"value":1472},"Focus on what developers will copy.",{"type":47,"value":1474}," Workers code in examples and docs gets pasted into production.",{"type":42,"tag":383,"props":1476,"children":1477},{},[1478,1483],{"type":42,"tag":50,"props":1479,"children":1480},{},[1481],{"type":47,"value":1482},"Correctness over completeness.",{"type":47,"value":1484}," A concise example that works beats a comprehensive one with errors.",{"type":42,"tag":1486,"props":1487,"children":1488},"style",{},[1489],{"type":47,"value":1490},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1492,"total":1610},[1493,1512,1528,1540,1556,1578,1598],{"slug":1494,"name":1494,"fn":1495,"description":1496,"org":1497,"tags":1498,"stars":25,"repoUrl":26,"updatedAt":1511},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1499,1502,1505,1508],{"name":1500,"slug":1501,"type":15},"Accessibility","accessibility",{"name":1503,"slug":1504,"type":15},"Charts","charts",{"name":1506,"slug":1507,"type":15},"Data Visualization","data-visualization",{"name":1509,"slug":1510,"type":15},"Design","design","2026-06-30T19:00:57.102",{"slug":1513,"name":1513,"fn":1514,"description":1515,"org":1516,"tags":1517,"stars":25,"repoUrl":26,"updatedAt":1527},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1518,1521,1524],{"name":1519,"slug":1520,"type":15},"Agents","agents",{"name":1522,"slug":1523,"type":15},"Browser Automation","browser-automation",{"name":1525,"slug":1526,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":1529,"name":1529,"fn":1530,"description":1531,"org":1532,"tags":1533,"stars":25,"repoUrl":26,"updatedAt":1539},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1534,1535,1538],{"name":1522,"slug":1523,"type":15},{"name":1536,"slug":1537,"type":15},"Local Development","local-development",{"name":1525,"slug":1526,"type":15},"2026-04-06T18:41:17.526867",{"slug":1541,"name":1541,"fn":1542,"description":1543,"org":1544,"tags":1545,"stars":25,"repoUrl":26,"updatedAt":1555},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1546,1547,1548,1551,1552],{"name":1519,"slug":1520,"type":15},{"name":13,"slug":14,"type":15},{"name":1549,"slug":1550,"type":15},"SDK","sdk",{"name":23,"slug":24,"type":15},{"name":1553,"slug":1554,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":1557,"name":1557,"fn":1558,"description":1559,"org":1560,"tags":1561,"stars":25,"repoUrl":26,"updatedAt":1577},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1562,1565,1568,1571,1574],{"name":1563,"slug":1564,"type":15},"Frontend","frontend",{"name":1566,"slug":1567,"type":15},"React","react",{"name":1569,"slug":1570,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":1572,"slug":1573,"type":15},"UI Components","ui-components",{"name":1575,"slug":1576,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":1579,"name":1579,"fn":1580,"description":1581,"org":1582,"tags":1583,"stars":25,"repoUrl":26,"updatedAt":1597},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1584,1587,1590,1593,1596],{"name":1585,"slug":1586,"type":15},"AI Infrastructure","ai-infrastructure",{"name":1588,"slug":1589,"type":15},"Cost Optimization","cost-optimization",{"name":1591,"slug":1592,"type":15},"LLM","llm",{"name":1594,"slug":1595,"type":15},"Performance","performance",{"name":1575,"slug":1576,"type":15},"2026-04-06T18:40:44.377464",{"slug":1599,"name":1599,"fn":1600,"description":1601,"org":1602,"tags":1603,"stars":25,"repoUrl":26,"updatedAt":1609},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1604,1605,1608],{"name":1588,"slug":1589,"type":15},{"name":1606,"slug":1607,"type":15},"Database","database",{"name":1591,"slug":1592,"type":15},"2026-04-06T18:41:08.513425",600,{"items":1612,"total":1807},[1613,1634,1657,1674,1690,1705,1724,1736,1750,1764,1776,1791],{"slug":1614,"name":1614,"fn":1615,"description":1616,"org":1617,"tags":1618,"stars":1631,"repoUrl":1632,"updatedAt":1633},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1619,1622,1625,1628],{"name":1620,"slug":1621,"type":15},"Documents","documents",{"name":1623,"slug":1624,"type":15},"Healthcare","healthcare",{"name":1626,"slug":1627,"type":15},"Insurance","insurance",{"name":1629,"slug":1630,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":1635,"name":1635,"fn":1636,"description":1637,"org":1638,"tags":1639,"stars":1654,"repoUrl":1655,"updatedAt":1656},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1640,1643,1645,1648,1651],{"name":1641,"slug":1642,"type":15},".NET","dotnet",{"name":1644,"slug":1635,"type":15},"ASP.NET Core",{"name":1646,"slug":1647,"type":15},"Blazor","blazor",{"name":1649,"slug":1650,"type":15},"C#","csharp",{"name":1652,"slug":1653,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":1658,"name":1658,"fn":1659,"description":1660,"org":1661,"tags":1662,"stars":1654,"repoUrl":1655,"updatedAt":1673},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1663,1666,1669,1672],{"name":1664,"slug":1665,"type":15},"Apps SDK","apps-sdk",{"name":1667,"slug":1668,"type":15},"ChatGPT","chatgpt",{"name":1670,"slug":1671,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":1675,"name":1675,"fn":1676,"description":1677,"org":1678,"tags":1679,"stars":1654,"repoUrl":1655,"updatedAt":1689},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1680,1683,1686],{"name":1681,"slug":1682,"type":15},"API Development","api-development",{"name":1684,"slug":1685,"type":15},"CLI","cli",{"name":1687,"slug":1688,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":1691,"name":1691,"fn":1692,"description":1693,"org":1694,"tags":1695,"stars":1654,"repoUrl":1655,"updatedAt":1704},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1696,1697,1700,1701],{"name":20,"slug":21,"type":15},{"name":1698,"slug":1699,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":13,"slug":14,"type":15},{"name":1702,"slug":1703,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":1706,"name":1706,"fn":1707,"description":1708,"org":1709,"tags":1710,"stars":1654,"repoUrl":1655,"updatedAt":1723},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1711,1714,1717,1720],{"name":1712,"slug":1713,"type":15},"Productivity","productivity",{"name":1715,"slug":1716,"type":15},"Project Management","project-management",{"name":1718,"slug":1719,"type":15},"Strategy","strategy",{"name":1721,"slug":1722,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":1725,"name":1725,"fn":1726,"description":1727,"org":1728,"tags":1729,"stars":1654,"repoUrl":1655,"updatedAt":1735},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1730,1731,1733,1734],{"name":1509,"slug":1510,"type":15},{"name":1732,"slug":1725,"type":15},"Figma",{"name":1563,"slug":1564,"type":15},{"name":1670,"slug":1671,"type":15},"2026-04-12T05:06:47.939943",{"slug":1737,"name":1737,"fn":1738,"description":1739,"org":1740,"tags":1741,"stars":1654,"repoUrl":1655,"updatedAt":1749},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1742,1743,1746,1747,1748],{"name":1509,"slug":1510,"type":15},{"name":1744,"slug":1745,"type":15},"Design System","design-system",{"name":1732,"slug":1725,"type":15},{"name":1563,"slug":1564,"type":15},{"name":1572,"slug":1573,"type":15},"2026-05-10T05:59:52.971881",{"slug":1751,"name":1751,"fn":1752,"description":1753,"org":1754,"tags":1755,"stars":1654,"repoUrl":1655,"updatedAt":1763},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1756,1757,1758,1761,1762],{"name":1509,"slug":1510,"type":15},{"name":1744,"slug":1745,"type":15},{"name":1759,"slug":1760,"type":15},"Documentation","documentation",{"name":1732,"slug":1725,"type":15},{"name":1563,"slug":1564,"type":15},"2026-05-16T06:07:47.821474",{"slug":1765,"name":1765,"fn":1766,"description":1767,"org":1768,"tags":1769,"stars":1654,"repoUrl":1655,"updatedAt":1775},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1770,1771,1772,1773,1774],{"name":1509,"slug":1510,"type":15},{"name":1732,"slug":1725,"type":15},{"name":1563,"slug":1564,"type":15},{"name":1572,"slug":1573,"type":15},{"name":1652,"slug":1653,"type":15},"2026-05-16T06:07:40.583615",{"slug":1777,"name":1777,"fn":1778,"description":1779,"org":1780,"tags":1781,"stars":1654,"repoUrl":1655,"updatedAt":1790},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1782,1785,1786,1789],{"name":1783,"slug":1784,"type":15},"Animation","animation",{"name":1687,"slug":1688,"type":15},{"name":1787,"slug":1788,"type":15},"Creative","creative",{"name":1509,"slug":1510,"type":15},"2026-05-02T05:31:48.48485",{"slug":1792,"name":1792,"fn":1793,"description":1794,"org":1795,"tags":1796,"stars":1654,"repoUrl":1655,"updatedAt":1806},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1797,1798,1799,1802,1805],{"name":1787,"slug":1788,"type":15},{"name":1509,"slug":1510,"type":15},{"name":1800,"slug":1801,"type":15},"Image Generation","image-generation",{"name":1803,"slug":1804,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675]