better-result
Lightweight Result type for TypeScript with generator-based composition.
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.
$ npx -y skills add dmmulroy/cloudflare-skill --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
Repo: dmmulroy/cloudflare-skill
What's inside
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.
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
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
To update to the latest version:
/cloudflare --update-skill
The installer adds both a skill and a command:
# Skill (reference docs)
skills/cloudflare/
โโโ SKILL.md # Main manifest + decision trees
โโโ references/ # 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
The main SKILL.md contains decision trees for:
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.
MIT - see LICENSE
.gitignore
.opencode/
state/
cloudflare-skill-restructure/
prd.json
prd.md
progress.txt
AGENTS.md
cloudflare-skill.zip
command/
cloudflare.md
install.sh
LICENSE
README.md
skills/
cloudflare/
references/
agents-sdk/
api.md
configuration.md
gotchas.md
patterns.md
README.md
ai-gateway/
configuration.md
dynamic-routing.md
features.md
README.md
sdk-integration.md
troubleshooting.md
ai-search/
api.md
configuration.md
gotchas.md
patterns.md
README.md
analytics-engine/
api.md
configuration.md
gotchas.md
patterns.md
README.md
api/
api-shield/
api.md
configuration.md
gotchas.md
patterns.md
README.md
api.md
configuration.md
gotchas.md
patterns.md
README.md
argo-smart-routing/
api.md
configuration.md
gotchas.md
patterns.md
README.md
bindings/
api.md
configuration.md
gotchas.md
patterns.md
README.md
bot-management/
api.md
configuration.md
gotchas.md
patterns.md
README.md
browser-rendering/
api.md
configuration.md
gotchas.md
patterns.md
README.md
c3/
api.md
configuration.md
gotchas.md
patterns.md
README.md
cache-reserve/
api.md
configuration.md
gotchas.md
patterns.md
README.md
containers/
api.md
configuration.md
gotchas.md
patterns.md
README.md
cron-triggers/
api.md
configuration.md
gotchas.md
patterns.md
README.md
d1/
api.md
configuration.md
gotchas.md
patterns.md
README.md
ddos/
api.md
configuration.md
gotchas.md
patterns.md
README.md
do-storage/
api.md
configuration.md
gotchas.md
patterns.md
README.md
testing.md
durable-objects/
api.md
configuration.md
gotchas.md
patterns.md
README.md
email-routing/
api.md
configuration.md
gotchas.md
patterns.md
README.md
email-workers/
api.md
configuration.md
gotchas.md
patterns.md
README.md
hyperdrive/
api.md
configuration.md
gotchas.md
patterns.md
README.md
images/
api.md
configuration.md
gotchas.md
patterns.md
README.md
kv/
api.md
configuration.md
gotchas.md
patterns.md
README.md
miniflare/
api.md
configuration.md
gotchas.md
patterns.md
README.md
network-interconnect/
api.md
configuration.md
gotchas.md
patterns.md
README.md
observability/
api.md
configuration.md
gotchas.md
patterns.md
README.md
pages/
pages-functions/
api.md
configuration.md
gotchas.md
patterns.md
README.md
api.md
configuration.md
gotchas.md
patterns.md
README.md
pipelines/
api.md
configuration.md
gotchas.md
patterns.md
README.md
pulumi/
api.md
configuration.md
gotchas.md
patterns.md
README.md
queues/
api.md
configuration.md
gotchas.md
patterns.md
README.md
r2/
r2-data-catalog/
api.md
configuration.md
gotchas.md
patterns.md
README.md
r2-sql/
api.md
configuration.md
gotchas.md
patterns.md
README.md
SKILL.md.backup
api.md
configuration.md
gotchas.md
patterns.md
README.md
realtime-sfu/
api.md
configuration.md
gotchas.md
patterns.md
README.md
realtimekit/
api.md
configuration.md
gotchas.md
patterns.md
README.md
sandbox/
api.md
configuration.md
gotchas.md
patterns.md
README.md
secrets-store/
api.md
configuration.md
gotchas.md
patterns.md
README.md
smart-placement/
api.md
configuration.md
gotchas.md
patterns.md
README.md
snippets/
api.md
configuration.md
gotchas.md
patterns.md
README.md
spectrum/
api.md
configuration.md
gotchas.md
patterns.md
README.md
static-assets/
api.md
configuration.md
gotchas.md
patterns.md
README.md
stream/
api-live.md
api.md
configuration.md
gotchas.md
patterns.md
README.md
tail-workers/
api.md
configuration.md
gotchas.md
patterns.md
README.md
terraform/
api.md
configuration.md
gotchas.md
patterns.md
README.md
tunnel/
api.md
configuration.md
gotchas.md
networking.md
patterns.md
README.md
turn/
api.md
configuration.md
gotchas.md
patterns.md
README.md
turnstile/
api.md
configuration.md
gotchas.md
patterns.md
README.md
vectorize/
api.md
configuration.md
gotchas.md
patterns.md
README.md
waf/
api.md
configuration.md
gotchas.md
patterns.md
README.md
web-analytics/
configuration.md
gotchas.md
integration.md
patterns.md
README.md
workerd/
api.md
configuration.md
gotchas.md
patterns.md
README.md
workers/
workers-ai/
api.md
configuration.md
gotchas.md
patterns.md
README.md
workers-for-platforms/
api.md
configuration.md
gotchas.md
patterns.md
README.md
workers-playground/
api.md
configuration.md
gotchas.md
patterns.md
README.md
workers-vpc/
api.md
configuration.md
gotchas.md
patterns.md
README.md
api.md
configuration.md
frameworks.md
gotchas.md
patterns.md
README.md
workflows/
api.md
configuration.md
gotchas.md
patterns.md
README.md
wrangler/
api.md
auth.md
configuration.md
gotchas.md
patterns.md
README.md
zaraz/
api.md
configuration.md
gotchas.md
IMPLEMENTATION_SUMMARY.md
patterns.md
README.md
SKILL.mdLightweight Result type for TypeScript with generator-based composition.
FAQ
cloudflare-skill is a Claude Code plugin with 1 hand-picked skill for documentation work, indexed on Flowy. Install it with the command on its page. It includes cloudflare. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.