domains / families / devops / durable-objects
durable-objects
separate
Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.
When to use
- Creating new Durable Object classes for stateful coordination
- Implementing RPC methods, alarms, or WebSocket handlers
- Reviewing existing DO code for best practices
- Configuring wrangler.jsonc/toml for DO bindings and migrations
- Writing tests with Cloudflare’s Vitest integration
- Designing sharding strategies and parent-child relationships
When not to use
- Stateless request handling
- Maximum global distribution needs
- High fan-out independent requests
Skill page
Source