workers-best-practices
Installation
SKILL.md
Cloudflare Workers Best Practices
Your knowledge of Cloudflare Workers APIs, types, and configuration may be outdated. Prefer retrieval over pre-training for any Workers code task.
Core Workflows
Choose the appropriate reference based on your current task:
- Writing or Refactoring Code: Need the canonical rules, code patterns, and anti-patterns for Workers (e.g., streaming, floating promises, bindings).
- Read references/rules.md.
- Code Review: Need the checklist for type validation, config validation, and the structured review process.
- Read references/review.md.
FIRST: Fetch Latest References
Before reviewing or writing Workers code, retrieve the current best practices page and relevant type definitions.