·durable-objects
</>

durable-objects

创建并查看 Cloudflare Durable 对象。在构建有状态协调(聊天室、多人游戏、预订系统)、实施 RPC 方法、SQLite 存储、警报、WebSocket 或审查 DO 代码以获得最佳实践时使用。涵盖 Workers 集成、wrangler 配置以及使用 Vitest 进行测试。

11安装·1热度·@elithrar

安装

$npx skills add https://github.com/elithrar/dotfiles --skill durable-objects

如何安装 durable-objects

通过命令行快速安装 durable-objects AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/elithrar/dotfiles --skill durable-objects
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:elithrar/dotfiles。

SKILL.md

查看原文

Build stateful, coordinated applications on Cloudflare's edge using Durable Objects.

Search: blockConcurrencyWhile, idFromName, getByName, setAlarm, sql.exec

| Coordination | Chat rooms, multiplayer games, collaborative docs | | Strong consistency | Inventory, booking systems, turn-based games | | Per-entity storage | Multi-tenant SaaS, per-user data | | Persistent connections | WebSockets, real-time notifications | | Scheduled work per entity | Subscription renewals, game timeouts |

创建并查看 Cloudflare Durable 对象。在构建有状态协调(聊天室、多人游戏、预订系统)、实施 RPC 方法、SQLite 存储、警报、WebSocket 或审查 DO 代码以获得最佳实践时使用。涵盖 Workers 集成、wrangler 配置以及使用 Vitest 进行测试。 来源:elithrar/dotfiles。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/elithrar/dotfiles --skill durable-objects
分类
</>开发工具
认证
收录时间
2026-02-20
更新时间
2026-03-10

Browse more skills from elithrar/dotfiles

快速解答

什么是 durable-objects?

创建并查看 Cloudflare Durable 对象。在构建有状态协调(聊天室、多人游戏、预订系统)、实施 RPC 方法、SQLite 存储、警报、WebSocket 或审查 DO 代码以获得最佳实践时使用。涵盖 Workers 集成、wrangler 配置以及使用 Vitest 进行测试。 来源:elithrar/dotfiles。

如何安装 durable-objects?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/elithrar/dotfiles --skill durable-objects 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/elithrar/dotfiles

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-20