cloudflare
ดัชนีทักษะแพลตฟอร์ม Cloudflare ที่เกี่ยวข้องกับ repo นี้ โหลดเมื่อทำงานกับสิ่งใดก็ตามที่เกี่ยวข้องกับ Workers, Durable Objects, wrangler, sandbox SDK, …
npx skills add https://github.com/cloudflare/computer --skill cloudflareCloudflare 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 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.