cloudflare
できること
これは、Workers、Durable Objects、ストレージなどの公式のCloudflareのガイドへ、エージェントを案内する索引です。対象は、Cloudflare上で開発する開発者です。
使う場面
- ✓Cloudflare WorkersやDurable Objectsのコードを書いたり、レビューしたりしているとき。
- ✓wrangler、KV、R2、D1、Vectorizeについて助けが必要なとき。
- ✓Cloudflare Agents SDKでエージェントを作っているとき。
スキルのリンク
https://github.com/cloudflare/computer/blob/main/.agents/skills/cloudflare/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Durable Objectを使ったWorkerを作っています。まずどのCloudflareのガイドを読むべきですか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、主なCloudflareのプラットフォームのガイドを挙げ、それぞれがいつ当てはまるかを説明します。エージェントは、作業を始める前に該当するガイドを開きます。ガイドがインストールされていなければ、リンク先から取得するか、公式のCloudflareのドキュメントを使います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Cloudflare platform skills
This repo is built on Cloudflare Workers and Durable Objects. The
authoritative platform guidance lives in the cloudflare/skills
repository rather than vendored into this repo, so it stays current.
This file is an index — open the relevant skill below when its trigger
applies and read its SKILL.md before starting work.
If a skill isn't already available in your environment, fetch it from the URL listed and load it manually. The fallback for everything is the official Cloudflare documentation at https://developers.cloudflare.com.
Primary skills
These three cover almost every change in this repo:
| Skill | Load when |
|---|---|
durable-objects |
Writing or reviewing Durable Object code: RPC methods, SQLite storage, alarms, WebSockets, hibernation. Most work in packages/dofs and packages/computer qualifies. |
workers-best-practices |
Writing or reviewing Worker code: streaming, floating promises, global state, bindings, secrets, observability, wrangler.jsonc configuration. |
agents-sdk |
Building on the Cloudflare Agents SDK: stateful agents, Workflows integration, scheduled tasks, MCP servers. Relevant to examples/think. |
Other skills
Load these when their trigger applies:
| Skill | Load when |
|---|---|
wrangler |
Running wrangler commands: deploy, dev, secrets, bindings for KV, R2, D1, Vectorize, Hyperdrive, Queues, Workflows, Containers. |
cloudflare |
General Cloudflare platform questions outside the more specific skills above — KV, R2, D1, Vectorize, networking, security, infrastructure-as-code. |
sandbox-sdk |
Building or reviewing sandboxed-execution code paths. Relevant to examples/container-legacy and to the computerd container model in general. |
web-perf |
Profiling page load, Core Web Vitals, or render-blocking issues. Rarely relevant in this repo, but listed for completeness. |
cloudflare-email-service |
Working with Cloudflare Email Routing or the Email Workers binding. Not currently used in this repo. |
How this maps to the repo
packages/dofsis a Durable Object with SQLite storage. Loaddurable-objectsbefore changing storage shape, RPC methods, or alarm handling. Loadworkers-best-practicesfor the surrounding Worker glue.packages/computerruns inside the Durable Object and exposes the capnwebWorkspaceRPCtocomputerd. Loaddurable-objectsfor the hosting model and thecapnwebskill for the RPC surface itself.packages/computerdruns in a sandbox container, not in a Worker. Loadsandbox-sdkif you're working on the container boundary; the FUSE and HTTP/WebSocket internals are local to the package.examples/thinkis an agent. Loadagents-sdkwhen changing it.- Deploys, secrets, bindings. Load
wranglerbefore runningwranglercommands or editingwrangler.jsonc.
When to escalate
If you're about to write something that crosses two Cloudflare surfaces — say, a Worker that wakes a Durable Object that talks to a container — load both relevant skills before starting. The skills are small; loading two is cheaper than fixing an architectural mistake.
よくある質問
どのガイドが最初ですか?
Durable Objects、Workersのベストプラクティス、Agents SDKのガイドが、ほとんどのCloudflareの作業を扱います。
ガイドがインストールされていない場合はどうなりますか?
エージェントはリンク先から取得するか、公式のCloudflareのドキュメントを使えます。
Cloudflareのドキュメントのコピーですか?
いいえ。最新のガイドを指す索引なので、内容は最新に保たれます。
詳細
作者による元の説明
Index of Cloudflare-platform skills relevant to this repo. Load when working on anything that touches Workers, Durable Objects, wrangler, the sandbox SDK, the agents SDK, or other Cloudflare platform surface. Triggers include "Cloudflare", "Workers", "Durable Object", "wrangler", "KV", "R2", "D1", "Vectorize", "Containers", "sandbox".
repo: cloudflare/computer
人気
- GitHubのスター
- 9.8k
- ランキング
- #12205
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
prose
9.8kエージェントに、コードのコメント、コミットメッセージ、READMEやドキュメントで平易な英語を書く方法を教えます。専門用語、頭字語、お役所的な言い回しを避けます。
pull-requests
9.8kエージェントに、変更の物語、解決する問題、確認の方法を示す、明快なプルリクエストの説明を書く方法を教えます。
test-driven-development
9.8kエージェントに、コードを変える前に、失敗するテストを先に書く方法を教えます。バグもテストで先に再現します。変更が本当に動くことを確かめる助けになります。
gardener-tasks
9.8kGitHub Actionsから実行されるAIのメンテナンスの仕事を定めた、Gardenerのタスクファイルの書き方と確認の方法を、各仕事が変えてよいものへの制限とともに説明します。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。