← Explore all skills

CLOUD DEVELOPMENT / Cloudflare

Cloudflare Durable Objects

Designs per-entity state and coordination with explicit persistence, concurrency and runtime-test guidance.

“Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.”

01 / THE REASONING

Why this made the selection.

  • Defines where Durable Objects fit and where stateless Workers or independent requests fit better.
  • The testing reference distinguishes repeat calls from actual persistence recovery and asks for independent object identities.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/durable-objects/SKILL.md
  • skills/durable-objects/references/rules.md
  • skills/durable-objects/references/testing.md
  • LICENSE

Our findings

  • The rules require persisting important state before relying on memory and warn against holding initialization locks over external I/O.
  • The guide explains that setting a new alarm replaces the previous scheduled alarm for that object.
  • The testing reference requires checking installed integration/isolation behavior before changing an existing suite.

Not established by this review

  • Source inspection only; no skill installation or workflow execution was performed.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add https://github.com/cloudflare/skills/tree/b052c32bab7dd493513260228a36c88294f343f1/skills/durable-objects

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

  1. Install the complete skill directory with its references and helpers; a copied SKILL.md alone may be incomplete.
  2. Choose the intended agent and project scope in the installer, then review its permissions before using the skill.

Before you start

  • Node.js/npm for this installer
  • An agent that supports the Agent Skills format
  • Bindings, migrations and a matching configured runtime
  • A Cloudflare account for deployed resource testing

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/cloudflare/skills/blob/b052c32bab7dd493513260228a36c88294f343f1/skills/durable-objects/SKILL.md

    Supports: summary, upstreamDescription, whySelected, bestFor, limitations, review, compatibility, access

  2. https://github.com/cloudflare/skills/blob/b052c32bab7dd493513260228a36c88294f343f1/skills/durable-objects/references/rules.md

    Supports: review, limitations, access

  3. https://github.com/cloudflare/skills/blob/b052c32bab7dd493513260228a36c88294f343f1/skills/durable-objects/references/testing.md

    Supports: review, limitations, access

  4. https://github.com/cloudflare/skills/blob/b052c32bab7dd493513260228a36c88294f343f1/LICENSE

    Supports: license

  5. https://github.com/cloudflare/skills/blob/b052c32bab7dd493513260228a36c88294f343f1/README.md

    Supports: install, compatibility, access

  6. https://github.com/vercel-labs/skills/blob/7407f3893ad4dceab546ac002c3ef806e4000c73/README.md

    Supports: install

  7. https://github.com/vercel-labs/skills/blob/7407f3893ad4dceab546ac002c3ef806e4000c73/src/git.ts

    Supports: install