cloudflare-stateful
Installation
SKILL.md
Cloudflare ステートフル基盤 リファレンス
Cloudflare Workers 上のステートフル 3 製品 — Durable Objects(強い一貫性を持つ単一インスタンス + 永続ストレージ)、Queues(メッセージキュー)、Workflows(耐久実行ワークフロー)— を扱う。各製品の Workers バインディング API、設定、運用、制限、料金、実例、wrangler コマンドを参照する。
対象バージョン
- 出典: developers.cloudflare.com(公式 Markdown twin)。docs にタグが無いため、
cloudflare/cloudflare-docsの production SHAd0995b91312add6db730afec4f4944cee834abc6と取得日 2026-11-03 で pin - binding 型製品のため npm パッケージの版数は無い
他スキルとの使い分け
- cloudflare-workers:
env/ bindings の概念、service bindings、RPC、ランタイム API。本スキルは Durable Objects / Queues / Workflows 固有のバインディング API のみ扱う - cloudflare-wrangler: Wrangler 全般、設定ファイルのキー仕様、Miniflare / Vitest。本スキルは製品別の
wrangler queues/workflows等のサブコマンドのみ扱う - cloudflare-storage: D1 / KV / R2 / Hyperdrive は別製品。Durable Objects の
ctx.storage(SQLite / KV API)は本スキルが担当 - cloudflare-agents: Durable Objects 上に構築するエージェント(Agents SDK)は cloudflare-agents が担当
- drizzle: Durable Objects の SQLite を Drizzle ORM で扱う場合は drizzle が担当
- upstash / inngest / bullmq: Upstash QStash、Inngest、BullMQ は別製品。Cloudflare Queues / Workflows とは別物
- cloudflare-ai / cloudflare-pages / cloudflare-sandbox-containers: Workers AI・AI Gateway・Vectorize・AI Search、Pages、Containers / Sandbox SDK(Durable Object から起動するコンテナ)は各スキル。いずれにも無い Cloudflare 製品は公式 docs(
https://developers.cloudflare.com/<product>/)を参照