什么是 durable-objects?
创建并查看 SQLite 支持的 Cloudflare 持久对象。在构建有状态协调(聊天室、多人游戏、预订系统)、实施 RPC 方法、SQLite 存储 API、PITR 恢复、警报、WebSocket 休眠、服务绑定或审查 DO 代码以获得最佳实践时使用。全面覆盖 SQL 查询、事务、命名空间 API 和测试。 来源:null-shot/cloudflare-skills。
创建并查看 SQLite 支持的 Cloudflare 持久对象。在构建有状态协调(聊天室、多人游戏、预订系统)、实施 RPC 方法、SQLite 存储 API、PITR 恢复、警报、WebSocket 休眠、服务绑定或审查 DO 代码以获得最佳实践时使用。全面覆盖 SQL 查询、事务、命名空间 API 和测试。
通过命令行快速安装 durable-objects AI 技能到你的开发环境
来源:null-shot/cloudflare-skills。
Build stateful, coordinated applications on Cloudflare's edge using Durable Objects.
Important: This guide focuses on SQLite-backed Durable Objects (recommended for all new projects). Configure with newsqliteclasses in migrations. Legacy KV-backed Durable Objects exist for backwards compatibility but are not covered in detail here to avoid confusion.
Search: sql.exec, getByName, transactionSync, ctx.storage.sql, blockConcurrencyWhile
创建并查看 SQLite 支持的 Cloudflare 持久对象。在构建有状态协调(聊天室、多人游戏、预订系统)、实施 RPC 方法、SQLite 存储 API、PITR 恢复、警报、WebSocket 休眠、服务绑定或审查 DO 代码以获得最佳实践时使用。全面覆盖 SQL 查询、事务、命名空间 API 和测试。 来源:null-shot/cloudflare-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/null-shot/cloudflare-skills --skill durable-objects创建并查看 SQLite 支持的 Cloudflare 持久对象。在构建有状态协调(聊天室、多人游戏、预订系统)、实施 RPC 方法、SQLite 存储 API、PITR 恢复、警报、WebSocket 休眠、服务绑定或审查 DO 代码以获得最佳实践时使用。全面覆盖 SQL 查询、事务、命名空间 API 和测试。 来源:null-shot/cloudflare-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/null-shot/cloudflare-skills --skill durable-objects 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/null-shot/cloudflare-skills