Cloudflare Durable Objects

•
91
•

Builds stateful serverless applications using persistent storage, real-time WebSockets, and reliable coordination logic on Cloudflare Workers.

This skill empowers Claude Code with specialized knowledge for architecting, implementing, and debugging stateful Cloudflare Workers using Durable Objects. It focuses on modern 2025 best practices, including the use of the 10GB SQLite storage backend, type-safe RPC communication, and WebSocket hibernation for cost-efficient real-time apps. Whether building multiplayer games, collaborative editors, or global rate limiters, this skill ensures proper handling of migrations, bindings, and complex lifecycle events like hibernation and wake-up cycles.

主な機能

01Automated task scheduling and recovery using the Durable Objects Alarms API
02Comprehensive migration management for class exports and schema changes
0391 GitHub stars
04Type-safe RPC method definition and calling between Workers and Objects
05Optimized WebSocket hibernation patterns for cost-effective real-time scaling
06Implementation of SQLite-backed persistent state with 10GB storage capacity

ユースケース

01Building real-time collaborative applications like chat rooms or whiteboards
02Implementing complex session management and global rate limiting systems
03Developing multiplayer game servers with persistent global state