cloudflare-durable-objects - Build stateful Cloudflare Durable Objects
Build stateful Durable Objects for real-time apps, WebSocket servers, coordination, persistent state, and troubleshooting.
Tags
Updated: 2026-11-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Build Durable Object classes
- Configure bindings and migrations
- Persist state with SQLite or KV
- Implement WebSocket hibernation
- Schedule alarms for background tasks
- Troubleshoot documented integration errors
Inputs
- Worker project source
- Wrangler configuration
- Storage schema
- WebSocket requirements
- Coordination requirements
Outputs
- Durable Object class code
- Wrangler binding configuration
- Storage migration configuration
- WebSocket handling code
- Troubleshooting guidance
Requirements
- Cloudflare Workers runtime
- Durable Objects support
- Wrangler 4.58.0
- Cloudflare Workers type definitions
