durable-objects

Originally fromcloudflare/skills
Installation
SKILL.md

Durable Objects

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

When to Use

  • Creating new Durable Object classes for stateful coordination
  • Implementing RPC methods, alarms, or WebSocket handlers
  • Reviewing existing DO code for best practices
  • Configuring wrangler.jsonc/toml for DO bindings and migrations
  • Writing tests with @cloudflare/vitest-pool-workers
  • Designing sharding strategies and parent-child relationships

Reference Documentation

  • ./references/rules.md - Core rules, storage, concurrency, RPC, alarms
  • ./references/testing.md - Vitest setup, unit/integration tests, alarm testing
  • ./references/workers.md - Workers handlers, types, wrangler config, observability
Related skills

More from elithrar/dotfiles

Installs
13
GitHub Stars
179
First Seen
Jan 24, 2026