Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)9.8k · #12205

cloudflare

Skill này làm gì

Đây là một mục lục đưa agent của bạn đến các hướng dẫn chính thức của Cloudflare về Workers, Durable Objects, lưu trữ và các công cụ liên quan. Dành cho lập trình viên xây dựng trên Cloudflare.

Khi nào nên dùng

  • ✓Khi bạn đang viết hoặc rà soát code Cloudflare Workers hoặc Durable Objects.
  • ✓Khi bạn cần trợ giúp về wrangler, KV, R2, D1 hoặc Vectorize.
  • ✓Khi bạn xây dựng một agent với Cloudflare Agents SDK.

Liên kết skill

https://github.com/cloudflare/computer/blob/main/.agents/skills/cloudflare/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/cloudflare/computer/blob/main/.agents/skills/cloudflare/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi đang xây dựng một Worker có Durable Object. Bạn nên đọc hướng dẫn Cloudflare nào trước?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê các hướng dẫn nền tảng chính của Cloudflare và nói khi nào mỗi hướng dẫn được áp dụng. Agent của bạn mở đúng hướng dẫn trước khi bắt đầu. Nếu một hướng dẫn chưa được cài, skill có thể lấy nó từ nguồn liên kết hoặc dùng tài liệu chính thức của Cloudflare.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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/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.

Câu hỏi thường gặp

Hướng dẫn nào đọc trước?

Các hướng dẫn về Durable Objects, thực hành tốt nhất cho Workers và Agents SDK bao quát phần lớn công việc Cloudflare.

Nếu một hướng dẫn chưa được cài thì sao?

Agent có thể lấy nó từ nguồn liên kết, hoặc dùng tài liệu chính thức của Cloudflare.

Đây có phải là bản sao tài liệu Cloudflare không?

Không. Đây là mục lục trỏ đến các hướng dẫn hiện tại, nên nội dung luôn được cập nhật.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
9.8k
Vị trí xếp hạng
#12205
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự