Localized reading guide
durable-objectsPurpose, usage and source
Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.
Source retrieved:
- Source repository
- cloudflare/skills
- SKILL.md
skills/durable-objects/SKILL.md- Repository stars
- 3,222
- Repository updated
- 2026-10-31
- Categories
- Development
- Last collected
License: Apache-2.0
Workflow excerpts are reading aids, not executable instructions from Codez. No third-party Skill was run to produce this page.
The purpose and workflow passages below are upstream material, organized and translated for reading. They are distinct from the separately labeled Codez editorial analysis.
What this Skill does
Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.
How the upstream workflow works
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
Upstream passage · L24 ↗Durable Objects
Build stateful, coordinated applications on Cloudflare's edge using Durable Objects.
Upstream passage · L6 ↗Retrieval Sources
Your knowledge of Durable Objects APIs and configuration may be outdated. Prefer retrieval over pre-training for any Durable Objects task. Fetch the relevant doc page when implementing features.
Upstream passage · L10 ↗// wrangler.jsonc
{
"durable_objects": {
"bindings": [{ "name": "MY_DO", "class_name": "MyDurableObject" }]
},
"migrations": [{ "tag": "v1", "new_sqlite_classes": ["MyDurableObject"] }]
}Requirements and setup
No short requirements passage was selected from this file. This does not mean the Skill has no dependencies. Check the repository setup instructions and referenced files.
Limits and quality checks
Anti-Patterns (NEVER)
Single global DO handling all requests (bottleneck) Using blockConcurrencyWhile() on every request (kills throughput)
Start with a safe trial
- Check the supported host and the repository installation instructions. Keep the Skill directory and its referenced scripts, assets and documentation together; SKILL.md alone may omit dependencies.
- Give the agent your real input, desired output and acceptance criteria. Invocation syntax and available tools depend on the host; this site does not assume a universal install command.
- Try the source workflow in a disposable project or on a copy. Review operations that change files, remote services or billable resources before allowing them.
- Validate the output against the source quality checks and your own requirements. A successful trigger or a high repository Star count does not establish a correct result.
Read further in the source
Related Skills
Translation and scope
This reading guide selects passages from the pinned upstream SKILL.md. Translation is assisted. It is not a complete manual or a claim of tested compatibility. Read the original and its referenced files before use.
This introduction refers to the pinned version below; current repository activity and collection time are shown separately.
- Pinned source
- Read the original ↗
- Source retrieved
- Source commit
49a31e0b3229ccdffe4944be9c61bc7481d1d432- Source SHA-256
11534e2f0a5e019285ba6906ec1bbe3a00a458763fbda2307117f849d2f9b0ea