Agent Skillscloudflare/computer › cloudflare

cloudflare

GitHub

Cloudflare平台技能索引,涵盖Workers、Durable Objects、Wrangler等核心服务。提供开发、部署及调试相关子技能的加载指引与触发场景说明。

.agents/skills/cloudflare/SKILL.md cloudflare/computer

触发场景

Cloudflare Workers Durable Object wrangler KV R2 D1

安装

npx skills add cloudflare/computer --skill cloudflare -g -y
更多选项

非标准路径

npx skills add https://github.com/cloudflare/computer/tree/main/.agents/skills/cloudflare -g -y

不安装直接使用

npx skills use cloudflare/computer@cloudflare

指定 Agent (Claude Code)

npx skills add cloudflare/computer --skill cloudflare -a claude-code -g -y

安装 repo 全部 skill

npx skills add cloudflare/computer --all -g -y

预览 repo 内 skill

npx skills add cloudflare/computer --list

SKILL.md

Frontmatter
{
    "name": "cloudflare",
    "description": "Index of Cloudflare-platform skills relevant to this repo. Load when\nworking on anything that touches Workers, Durable Objects, wrangler,\nthe sandbox SDK, the agents SDK, or other Cloudflare platform surface.\nTriggers include \"Cloudflare\", \"Workers\", \"Durable Object\", \"wrangler\",\n\"KV\", \"R2\", \"D1\", \"Vectorize\", \"Containers\", \"sandbox\"."
}

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 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/dofs is a Durable Object with SQLite storage. Load durable-objects before changing storage shape, RPC methods, or alarm handling. Load workers-best-practices for the surrounding Worker glue.
  • packages/computer runs inside the Durable Object and exposes the capnweb WorkspaceRPC to computerd. Load durable-objects for the hosting model and the capnweb skill for the RPC surface itself.
  • packages/computerd runs in a sandbox container, not in a Worker. Load sandbox-sdk if you're working on the container boundary; the FUSE and HTTP/WebSocket internals are local to the package.
  • examples/think is an agent. Load agents-sdk when changing it.
  • Deploys, secrets, bindings. Load wrangler before running wrangler commands or editing wrangler.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.

版本历史

  • 8758b51 当前 2026-08-08 07:59

同 Skill 集合

.agents/skills/capnweb/SKILL.md
.agents/skills/debugging-computerd-fuse/SKILL.md
.agents/skills/prose/SKILL.md
.agents/skills/pull-requests/SKILL.md
.agents/skills/test-driven-development/SKILL.md

元信息

文件数
0
版本
8758b51
Hash
8de1f611
收录时间
2026-08-08 07:59

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-08 21:23
浙ICP备14020137号-1 $访客地图$