durable-objects
Build stateful, coordinated applications on Cloudflare's edge with persistent storage and RPC methods.
What it does
- 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/vitest-pool-workers
- Designing sharding strategies and parent-child relationships
- ./references/rules.md - Core rules, storage, concurrency, RPC, alarms
Requirements & configuration
- | Need | Example |
- Maximum global distribution needs
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Build stateful, coordinated applications on Cloudflare's edge with persistent storage and RPC methods.
Source
Repository: https://github.com/cloudflare/skills
durable-objects FAQ
What does the durable-objects skill do?
Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge. Creating new Durable Object classes for stateful coordination Implementing RPC methods, alarms, or WebSocket handlers
What does durable-objects require?
| Need | Example | Maximum global distribution needs
How do I install durable-objects?
Run: npx -y skills add https://github.com/cloudflare/skills --skill durable-objects --agent claude-code — the source lives at github.com/cloudflare/skills.
Maintain durable-objects?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/cloudflare-skills-durable-objects?ref=badge) npx agentictools info skills/cloudflare-skills-durable-objects The second line is the CLI lookup for this page — handy in READMEs and docs.