durable-objects

Coordinate Cloudflare Durable Objects stateful workloads with SQLite and RPCs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/9miya20/zatommy --skill durable-objects-9miya20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: durable-objects
Source: https://github.com/9miya20/zatommy/tree/main/apps/auth/.agents/skills/durable-objects
Command: npx skills add https://github.com/9miya20/zatommy --skill durable-objects-9miya20

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Coordinating state across edge compute and per-entity storage for real-time collaboration, games, and complex workflows using Durable Objects.

Core Features & Use Cases

  • One durable object per coordination unit (chat room, game session, tenant) to maintain strong consistency and isolation.
  • RPC-style methods and WebSocket support for interactive, low-latency workflows, plus SQLite storage for persistent state.
  • Wrangler configuration, migrations, and testing workflows to validate behavior across multiple instances and lifecycles.

Quick Start

Define a Durable Object class, configure wrangler to bind it, and interact with per-entity instances via the binding's getByName and RPC-style methods.

Frequently Asked Questions about durable-objects

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

FAQPage Schema
How do I coordinate stateful workloads using Cloudflare Durable Objects?

You can coordinate stateful workloads by assigning one Durable Object per coordination unit, such as a chat room or game session, to maintain strong consistency and isolation at the edge.

How do I build a real-time chat room with Cloudflare Workers and SQLite?

Build a real-time chat room by defining a Durable Object class that uses WebSocket support for interactive workflows and SQLite storage to persist per-entity state for the chat session.

Does Cloudflare Durable Objects support RPC-style methods and WebSockets?

Yes, Durable Objects supports RPC-style methods and WebSocket connections for interactive, low-latency workflows, allowing you to interact with instances via bindings using getByName.

What is the best way to test Durable Objects across multiple instances?

The best way to test Durable Objects across multiple instances is by using Vitest-based testing workflows to validate behavior and lifecycle management before deployment.

How do I configure Wrangler for per-entity storage in a multiplayer game session?

Configure Wrangler to bind your Durable Object class, then interact with per-entity instances for your multiplayer game session using the binding's getByName method and SQLite storage.