Skip to content

workers-best-practices

Curated third-party skill source. Run external-skill-auditor before repo promotion.

workers-best-practices18 wordsCuratedinstall-now-after-trust-gate
Curated third-party skill source. Run external-skill-auditor before repo promotion.

Quick Start

Install:

npx skills add cloudflare/skills --skill cloudflare --skill wrangler --skill workers-best-practices --skill durable-objects --skill agents-sdk -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode

Use: /workers-best-practices

Works with Claude Code, Gemini CLI, OpenCode, and other agentskills.io-compatible agents.

workers-best-practices encodes production rules and anti-patterns for authoring/reviewing Cloudflare Workers code: streaming responses, waitUntil usage, no global request state, no floating promises, binding access via generated types, crypto for randomness, secrets handling, observability config, and wrangler.jsonc practices. Retrieval-first; tells agents to fetch latest best-practices page and types before flagging.

Targets verified harnesses: antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode.

Portable multi-harness install command:

Terminal window
npx skills add cloudflare/skills --skill cloudflare --skill wrangler --skill workers-best-practices --skill durable-objects --skill agents-sdk -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode

Trust tier: Curated (curated-trust-gated)

Curated status: install-now-after-trust-gate

Risk notes: Curated third-party skill source. Run external-skill-auditor before repo promotion.

Entry maintained via authoring + research for compose-external-wave-14; provenance and audit notes are authoritative there (research context is advisory).

Part of npx skills add cloudflare/skills --skill workers-best-practices ...

FieldValue
Source Typecurated-external
Display Sourcecloudflare/skills
Source Kindgithub
Installabilityportable command
Review Statecurated
Trust Tiercurated-trust-gated
Target Agentsantigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode
Curated catalog entry
docs/src/authoring/skills/workers-best-practices.mdx (full SSOT excerpt)
---
name: "workers-best-practices"
description: "Curated third-party skill source. Run external-skill-auditor before repo promotion."
title: "Workers Best Practices"
source_kind: "curated-external"
source: "cloudflare/skills"
install_source: "cloudflare/skills"
status: "install-now-after-trust-gate"
trust_tier: "curated-trust-gated"
provenance_status: "verified-install-command"
install_command: "npx skills add cloudflare/skills --skill cloudflare --skill wrangler --skill workers-best-practices --skill durable-objects --skill agents-sdk -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode"
target_agents: [antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode]
source_url: "https://github.com/cloudflare/skills"
notes: "Curated third-party skill source. Run external-skill-auditor before repo promotion."
risk_notes: "Curated third-party skill source. Run external-skill-auditor before repo promotion."
promotion_policy: "Install only after trust gate; audit again before repo promotion."
provenance_evidence: "Curated `npx skills add` command with named `--skill` selectors under `install-now-after-trust-gate` in config/external-skills.md."
---
{/* GENERATED-AUTHORING: source=config/external-skills.md; entry=workers-best-practices; re-run migration to refresh */}
Curated third-party skill source. Run external-skill-auditor before repo promotion.

Install / provenance (from authoring frontmatter + research):

FieldValue
install_commandnpx skills add cloudflare/skills --skill cloudflare --skill wrangler --skill workers-best-practices --skill durable-objects --skill agents-sdk -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode
sourcecloudflare/skills
source_urlhttps://github.com/cloudflare/skills
trust_tiercurated-trust-gated
curated_statusinstall-now-after-trust-gate
target_agentsantigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode