Cloudflare Workers Knowledge Patch
Guides modern Cloudflare Workers development, Wrangler v4 migrations, Static Assets configuration, and runtime compatibility flags.
This skill provides targeted, up-to-date domain guidance for developing, testing, and deploying serverless applications on Cloudflare Workers, bridging the gap past common LLM training cutoffs. It walks developers through critical compatibility dates, modern Wrangler v4 configuration shifts, Vite development workflows with workerd, and Workers RPC patterns. It is essential when migrating legacy Cloudflare Pages or Workers Sites to Static Assets, managing Node.js runtime parity flags, resolving subtle WebSocket compatibility behavior, and running production-grade integration tests using Wrangler test harnesses.
主な機能
01Workers RPC patterns including RpcTarget, promise pipelining, and stub lifecycles
02Compatibility-date triage for Node.js compat, request iterables, and WebSocket gates
0324 GitHub stars
04Modern Static Assets routing, SPA fallback, and Cloudflare Pages migration rules
05Step-by-step migration patterns for Wrangler v4 and deprecated CLI settings
06Testing and build workflows using the Cloudflare Vite plugin and createTestHarness
ユースケース
01Upgrading compatibility dates and debugging edge-case behavior shifts in process.env, streams, or WebSockets
02Migrating legacy Cloudflare Pages or Workers Sites projects to modern Static Assets and Wrangler v4
03Implementing service-to-service communication using Workers RPC and WorkerEntrypoint stubs