Skip to content

durable-objects

Build stateful, coordinated applications on Cloudflare's edge with persistent storage and RPC methods.

— (0 ratings) 141.2K downloads cloudflare
$ npx skills add https://github.com/cloudflare/skills --skill durable-objects

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Build stateful, coordinated applications on Cloudflare's edge with persistent storage and RPC methods.

  • Designed for coordination patterns: chat rooms, multiplayer games, booking systems, and per-entity state management using deterministic routing via getByName()
  • Includes SQLite storage with synchronous sql.exec(), KV storage, alarms for scheduled per-entity work, and WebSocket support
  • Provides RPC method calls (preferred over fetch handlers), blockConcurrencyWhile() for initialization, and parent-child DO relationships for sharding
  • Covers wrangler configuration, migrations, Workers integration, and testing with Vitest; biases toward live Cloudflare docs over pre-trained knowledge

Durable Objects

Build stateful, coordinated applications on Cloudflare's edge using Durable Objects.

Retrieval Sources

Your knowledge of Durable Objects APIs and configuration may be outdated. Prefer retrieval over pre-training for any Durable Objects task.

Resource URL
Docs https://developers.cloudflare.com/durable-objects/index.md
API Reference https://developers.cloudflare.com/durable-objects/api/index.md
Best Practices https://developers.cloudflare.com/durable-objects/best-practices/index.md
Examples https://developers.cloudflare.com/durable-objects/examples/index.md
Roles and permissions https://developers.cloudflare.com/workers/authorization/durable-objects/index.md

Fetch the relevant doc page when implementing features.

When to Use


Installs: 141.2K | GitHub stars: 3.5K | First seen: Jan 19, 2026

Related skills

New

Agent workflows

microsoft-foundry

End-to-end deployment, evaluation, and management of AI agents on Microsoft Foundry.

New • 792.7K
New

Debugging & code review

azure-diagnostics

Systematic diagnosis and remediation for Azure production issues using AppLens, Monitor, and resource health.

New • 783.3K
New

DevOps & cloud

azure-prepare

Prepare Azure applications for deployment with infrastructure-as-code, configuration, and containerization.

New • 782.4K