cloudflare-durable-objects

Scaffold Cloudflare Durable Objects projects with configuration guidance and error prevention.

54|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/dennislee928/Ethic-Latex --skill cloudflare-durable-objects-dennislee928
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-durable-objects
Source: https://github.com/dennislee928/Ethic-Latex/tree/main/.claude/skills/cloudflare-durable-objects
Command: npx skills add https://github.com/dennislee928/Ethic-Latex --skill cloudflare-durable-objects-dennislee928

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and templates (resource) components.

What problem does it solve?

This Skill simplifies the creation and management of Cloudflare Durable Objects, enabling developers to build highly scalable, stateful applications without common pitfalls.

Core Features & Use Cases

  • Stateful Applications: Build real-time apps, WebSocket servers, coordination services, and persistent state management.
  • Error Prevention: Avoids over 20 documented errors related to class export, migrations, state loss, and configuration.
  • Use Case: Implement a real-time chat application where each chat room is a Durable Object managing user connections and messages, ensuring persistent state and scalability.

Quick Start

Use the cloudflare-durable-objects skill to scaffold a new Durable Object project.

Frequently Asked Questions about cloudflare-durable-objects

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

FAQPage Schema
How do I build stateful serverless applications with Cloudflare Durable Objects?

Stateful serverless applications use Cloudflare Durable Objects to manage persistent state, real-time WebSocket connections, and alarms. This skill provides project templates and configuration guidance to scaffold and deploy these coordination services.

How do I prevent state loss and configuration errors when setting up Cloudflare Durable Objects?

To prevent state loss and configuration errors, this skill automatically avoids over 20 documented pitfalls related to class exports, migrations, and WebSocket hibernation. It provides templates and error prevention guidance for seamless Durable Object deployment.

Can I use Cloudflare Durable Objects for real-time WebSocket servers?

Yes, Cloudflare Durable Objects are designed for real-time WebSocket servers. This skill simplifies implementing WebSocket hibernation and managing user connections, enabling you to build scalable real-time applications like persistent chat rooms.

What is the best way to manage migrations and alarms in Cloudflare Durable Objects?

The best way to manage migrations and alarms in Cloudflare Durable Objects is by using configuration guidance and templates. This skill helps you correctly configure alarms and handle migrations to ensure stateful applications run without common errors.

Why does my Cloudflare Durable Object lose state during WebSocket connections?

Your Cloudflare Durable Object may lose state due to common class export or WebSocket hibernation configuration errors. This skill prevents over 20 documented errors related to state loss, ensuring your persistent state management remains stable.