What problem does it solve?
Durable Object design and review is often error-prone and can lead to bottlenecks, data loss, or subtle concurrency bugs when deployed at the edge. This Skill guides developers to model coordination atoms correctly, configure Durable Object bindings and migrations, and apply safe storage and concurrency patterns so stateful edge services remain consistent and scalable.
Core Features & Use Cases
- Design guidance for modeling one Durable Object per coordination atom (chat room, game session, tenant) and for parent-child relationships.
- Storage & migrations recommendations for using SQLite storage, creating migration tables, and ensuring atomic schema upgrades.
- Concurrency & reliability rules for blockConcurrencyWhile usage, write coalescing, RPC method design, alarm scheduling, and WebSocket handling.
- Testing & integration patterns for Vitest, runInDurableObject utilities, and wrangler configuration for deployments.
Quick Start
Use the durable-objects skill to scaffold a Durable Object class, produce the corresponding wrangler bindings and migration entries, and generate a Vitest test that verifies storage and alarm behavior.