01
It starts by itself
PR touches Durable Objects. Runs in GitHub Actions or Claude Code routine.
- ↻ PR touches Durable Objects
pull_request paths: wrangler.jsonc, wrangler.toml, files extending DurableObject
Durable Object code stays safe.
Install the Durable Objects skill and make it a habit: follow https://gethabit.dev/skills/cloudflare/durable-objects.md
107K installs3K starsApache-2.0 licenceSource on GitHub ↗

Durable Objects
by cloudflare · 107K installs
The skill
The durable objects skill helps agents build, debug and review Cloudflare Durable Objects code for persistent state and coordination, with current docs, wrangler config, storage, alarms and Vitest testing.
Only when you ask.
The habit
Durable Object code stays safe.
↻ Runs by itselfPR touches Durable Objects
When does it start? How does it check its work? What does it remember?
One pull request per run, no retries.
Pull the Durable Objects docs, API reference and best practices pages instead of relying on old knowledge.
Check the change against references/rules.md, references/workers.md and references/testing.md.
Look for one DO per coordination atom, getByName() routing, SQLite storage, persist-first writes and one alarm per DO.
Flag a single global DO, state kept only in memory, and await between related storage writes.
Run the Vitest suite with the Cloudflare integration and record the result.
Write new findings to the board and close the ones the change fixed.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Durable Objects skill helps.
The skill says model knowledge of Durable Objects may be outdated and prefers retrieval.
No. It reviews and tests the change only.
The skill says Durable Objects follow the Worker that implements them, so the review checks the Worker's role scope.
Copy the prompt at the top into your agent. It installs the skill from cloudflare/skills and sets up the habit. Or run npx skills add cloudflare/skills --skill durable-objects.
Yes. It is published under Apache-2.0. Habit is free too.
Install the Durable Objects skill and make it a habit: follow https://gethabit.dev/skills/cloudflare/durable-objects.md
All cloudflare skills →More code skills →
Works in
Made by cloudflare, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?