skills.vishalvoidskills/vishalvoid
Technical & DevelopmentAdvanced

durable-objects

Stateful actor-based Durable Objects for Cloudflare Workers.

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/cloudflare/skills --skill durable-objects

Overview

What This Skill Does

Enables stateful, in-memory coordination, SQLite transactional storage, alarms, and websocket pipelines using Durable Objects.

Application

When to use this Skill

Documentation

Show Skills.md file

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/
API Reference https://developers.cloudflare.com/durable-objects/api/
Best Practices https://developers.cloudflare.com/durable-objects/best-practices/
Examples https://developers.cloudflare.com/durable-objects/examples/

Fetch the relevant doc page when implementing features.

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
Lines 1 - 25 of 181

Recommendations

Explore other random skills

All skillsMy patterns