DC

dmmulroy/cloudflare-skill

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

726 stars 质量 49 趋势 21MIT

Dmmulroy/Cloudflare-Skill 是从 https://github.com/dmmulroy/cloudflare-skill. 导入的特工技能候选人。

概览

Dmmulroy/Cloudflare-Skill 是从 https://github.com/dmmulroy/cloudflare-skill. 导入的特工技能候选人。

概述(AI 翻译)

面向AI/LLM的全面Cloudflare平台参考文档。涵盖工作者、页面、存储(KV、D1、R2)、人工智能(Workers AI、Vectorize、Agents SDK)、网络、安全和基础设施即代码。

安装

本地安装(仅当前项目):

全球安装(所有项目均可使用):

用途

安装后,该技能会出现在 OpenCode 的 列表中。代理在处理 Cloudflare 任务时会自动加载该技能。

使用/cloudflare命令加载技能并获得上下文指导:

更新中

更新到最新版本:

结构

安装程序添加了技能和命令:

决策树

主SKILL.md包含以下决策树:

  • 运行代码(工作程序、页面、持久对象、工作流、容器)
  • 存储(KV、D1、R2、队列、矢量化)
  • AI/ML(工人AI、矢量化、代理SDK、AI网关)
  • 网络(隧道、频谱、WebRTC)
  • 安全(WAF、DDoS、机器人管理、闸机)
  • 媒体(图片、流、浏览器渲染)
  • 基础设施即代码(Terraform、Pulumi)

涵盖的产品

本页由 AI 翻译,技术细节请以原文为准。

README

Cloudflare Skill for OpenCode

Comprehensive Cloudflare platform reference docs for AI/LLM consumption. Covers Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking, security, and infrastructure-as-code.

Install

Local installation (current project only):

curl -fsSL https://raw.githubusercontent.com/dmmulroy/cloudflare-skill/main/install.sh | bash

Global installation (available in all projects):

curl -fsSL https://raw.githubusercontent.com/dmmulroy/cloudflare-skill/main/install.sh | bash -s -- --global

Usage

Once installed, the skill appears in OpenCode’s `` list. The agent loads it automatically when working on Cloudflare tasks.

Use the /cloudflare command to load the skill and get contextual guidance:

/cloudflare set up a D1 database with migrations

Updating

To update to the latest version:

/cloudflare --update-skill

Structure

The installer adds both a skill and a command:

# Skill (reference docs)
skills/cloudflare/
├── SKILL.md              # Main manifest + decision trees
└── references/           # Product subdirectories
    └── /
        ├── README.md         # Overview, when to use
        ├── api.md            # Runtime API reference
        ├── configuration.md  # wrangler.toml + bindings
        ├── patterns.md       # Usage patterns
        └── gotchas.md        # Pitfalls, limitations

# Command (slash command)
command/cloudflare.md     # /cloudflare entrypoint

Decision Trees

The main SKILL.md contains decision trees for:

  • Running code (Workers, Pages, Durable Objects, Workflows, Containers)
  • Storage (KV, D1, R2, Queues, Vectorize)
  • AI/ML (Workers AI, Vectorize, Agents SDK, AI Gateway)
  • Networking (Tunnel, Spectrum, WebRTC)
  • Security (WAF, DDoS, Bot Management, Turnstile)
  • Media (Images, Stream, Browser Rendering)
  • Infrastructure-as-code (Terraform, Pulumi)

Products Covered

Workers, Pages, D1, Durable Objects, KV, R2, Queues, Hyperdrive, Workers AI, Vectorize, Agents SDK, AI Gateway, Tunnel, Spectrum, WAF, DDoS, Bot Management, Turnstile, Images, Stream, Browser Rendering, Terraform, Pulumi, and 40+ more.

License

MIT - see LICENSE

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add dmmulroy/cloudflare-skill
新手?先看 mcpskill.org 教程 →