Skill

Durable Objects

Skill

Coordination, SQLite, and WebSockets — official.

Cloudflare’s Durable Objects skill. RPC, hibernation, the storage that is not KV.

spec·Apache-2.0·Updated this quarter·github.com/cloudflare/skills

Claude CodeCursorDesktop
Verificado
npx skills add cloudflare/durable-objects

Por Cloudflare

Entrada

A coordination problem on Workers.

Saída

A Durable Object design.

cf-durable-objects.skill/invoke

Você diz

A room with presence.

Ela devolve

One DO per room. Hibernating WebSockets.

Caderno de prompts

Prompts para os quais esta skill foi feita.

  • Você diz

    A room with presence.

    Ela devolve

    One DO per room. Hibernating WebSockets.

  • Você diz

    Store the ledger.

    Ela devolve

    DO SQLite. Not KV for this write pattern.

O que ela ensina

  1. 01RPC
  2. 02SQLite
  3. 03WebSockets