Co-Pilot / 辅助式
更新于 a month ago

cloudflare-skill

Ddmmulroy
0.6k
dmmulroy/cloudflare-skill
76
Agent 评分

💡 摘要

该技能提供了使用Cloudflare服务与AI和LLM的全面参考文档。

🎯 适合人群

Cloudflare开发者AI/ML工程师DevOps专业人士技术写作者软件架构师

🤖 AI 吐槽:如果源代码被破坏,安装脚本可能会带来风险,导致未经授权的访问或代码执行。在运行之前,请确保验证脚本的完整性。

安全分析中风险

如果源代码被破坏,安装脚本可能会带来风险,导致未经授权的访问或代码执行。在运行之前,请确保验证脚本的完整性。

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 <available_skills> 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)
skill/cloudflare/
├── SKILL.md              # Main manifest + decision trees
├── patterns.md           # Multi-product architecture patterns
└── references/           # 60 product subdirectories
    └── <product>/
        ├── 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

五维分析
清晰度8/10
创新性6/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 涵盖多种Cloudflare产品的全面文档。
  • 支持AI和LLM集成。
  • 易于安装和使用。

缺点

  • 由于内容广泛,可能会让人感到不知所措。
  • 需要熟悉Cloudflare服务。
  • 实际实施的示例有限。

相关技能

durable-objects

A
toolCo-Pilot / 辅助式
82/ 100

“看起来很能打,但别让配置把人劝退。”

building-mcp-server-on-cloudflare

A
toolCo-Pilot / 辅助式
82/ 100

“看起来很能打,但别让配置把人劝退。”

cloudflare-docs

C
toolCo-Pilot / 辅助式
68/ 100

“看起来很能打,但别让配置把人劝退。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 dmmulroy.