Durable Objects
Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
- Type
- Skill
- Author
- cloudflare
- Category
- Backend
- GitHub stars
- 3.2K
- Installs
- 111.5K
- Last updated
- October 31, 2026
Install
npx skills add https://github.com/cloudflare/skills --skill durable-objectsUse cases
- Build a chat room with stateful coordination across clients.
- Implement RPC methods backed by SQLite storage and alarms.
- Review existing Durable Objects code against best practices.
Frequently Asked Questions
What can Durable Objects be used for?
Stateful coordination such as chat rooms, multiplayer games, and booking systems.
Does the skill cover testing?
Yes, it covers testing with Vitest along with Workers integration and wrangler config.
Where does it source its guidance?
It biases toward retrieval from current Cloudflare docs over pre-trained knowledge.
About this skill
Creates and reviews Cloudflare Durable Objects for stateful coordination like chat rooms, multiplayer games, and booking systems. Covers RPC methods, SQLite storage, alarms, WebSockets, Workers integration, wrangler config, and Vitest testing. It prefers retrieving from current Cloudflare docs over pre-trained knowledge.
Summary written with AI assistance from the project's public description.
More from cloudflare
Cloudflare
Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flags...
by cloudflare
Wrangler
Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflow...
by cloudflare
Workers Best Practices
Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wr...
by cloudflare
Web Perf
Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), ide...
by cloudflare
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh