durable-objects

Implement, review, and test Cloudflare Durable Objects architectures with best-practice guidance.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/narduk-enterprises/myboat --skill durable-objects-narduk-enterprises
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: durable-objects
Source: https://github.com/narduk-enterprises/myboat/tree/main/.github/skills/durable-objects
Command: npx skills add https://github.com/narduk-enterprises/myboat --skill durable-objects-narduk-enterprises

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Cloudflare Durable Objects provide a mechanism for stateful coordination at the edge; this skill offers structured guidance for implementing, reviewing, and testing DO-powered architectures, with a focus on correctness, reliability, and maintainability.

Core Features & Use Cases

  • Guidance on one DO per coordination unit, proper storage patterns (SQLite), migrations, and RPC usage
  • Reference material for testing, workers patterns, and observability
  • Use cases include chat rooms, multiplayer sessions, collaborative docs, and per-entity storage

Quick Start

Review the provided references and apply the recommended patterns to structure your DO-based application.

Frequently Asked Questions about durable-objects

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure stateful coordination with Cloudflare Durable Objects?

Stateful coordination at the edge requires assigning one Durable Object per coordination unit, using deterministic routing with getByName and SQLite storage. Apply these best-practice patterns for chat rooms, multiplayer sessions, and collaborative documents.

What is the best way to manage storage and migrations in Cloudflare Durable Objects?

Managing Durable Object storage involves using SQLite for per-entity data patterns and applying structured migrations. Follow best-practice guidance for RPC methods and deterministic routing to ensure reliable, maintainable data coordination at the edge.

How do I test Cloudflare Durable Objects for multiplayer sessions and chat rooms?

Testing Durable Objects for multiplayer sessions and chat rooms requires structured reference patterns for workers and observability. Apply best-practice testing standards to validate one-object-per-coordination-unit designs and RPC interactions.

Can I use SQLite storage with Cloudflare Durable Objects for collaborative document editing?

Yes, SQLite storage is the recommended pattern for collaborative document editing within Durable Objects. It supports per-entity storage patterns, enabling reliable stateful coordination and data persistence directly at the edge.

Why does my Cloudflare Durable Object architecture need deterministic routing with getByName?

Deterministic routing with getByName is required to enforce the one-object-per-coordination-unit standard. It ensures stateful coordination requests consistently target the correct Durable Object instance, maintaining data integrity for edge applications.

What are the limitations of using Cloudflare Durable Objects for edge computing?

Durable Objects require strict adherence to standards like one-object-per-coordination-unit and deterministic routing to avoid limitations. Improper RPC patterns or skipped migrations can break stateful coordination, making secure, maintainable code essential.