About this skill
Cloudflare’s Durable Objects skill. RPC, hibernation, the storage that is not KV.
Input and output contract
Input
A coordination problem on Workers.
Output
A Durable Object design.
Workflow steps
- 1RPC
- 2SQLite
- 3WebSockets
Prompt Notebook
You sayA room with presence.
It returnsOne DO per room. Hibernating WebSockets.
You sayStore the ledger.
It returnsDO SQLite. Not KV for this write pattern.
More from Cloudflare
Workers Best Practices
Communitycf-workers-practices
Cloudflare’s skill for Workers that stay up.
Wrangler
Communitycf-wrangler
Deploy and manage Workers from the skill, not a wiki.
Agents SDK
Communitycf-agents-sdk
Cloudflare’s skill for stateful agents on Workers.