workers-best-practices

Review Cloudflare Workers code against production best practices.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/d0whc3r/hackaton-cubepath --skill workers-best-practices-d0whc3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workers-best-practices
Source: https://github.com/d0whc3r/hackaton-cubepath/tree/main/.agents/skills/workers-best-practices
Command: npx skills add https://github.com/d0whc3r/hackaton-cubepath --skill workers-best-practices-d0whc3r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

Core Features & Use Cases

  • Retrieval-driven guidance for Cloudflare Workers code reviews to identify anti-patterns and ensure alignment with best practices.
  • Comprehensive rules covering configuration, bindings, observability, security, and performance with actionable checklists.
  • Use cases include pre-deployment reviews, code audits, and creation of standardized reviewer templates.

Quick Start

Review your Worker code against the latest Cloudflare Workers best practices and apply guidelines to a new or existing project.

Frequently Asked Questions about workers-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Cloudflare Workers code for production best practices?

Identify Cloudflare Workers anti-patterns by checking for floating promises, improper global state, and missing observability. Reviewing code against strict safety checks prevents common performance and security issues before deployment.

What are common Cloudflare Workers anti-patterns to avoid?

Identify Cloudflare Workers anti-patterns by checking for floating promises, improper global state, and missing observability. Reviewing code against strict safety checks prevents common performance and security issues before deployment.

How do I validate wrangler.jsonc configuration for Cloudflare Workers?

Validate wrangler.jsonc configuration by reviewing bindings, secrets, and observability settings against current Cloudflare documentation. Retrieval-driven guidance ensures your setup avoids deprecated features and aligns with production standards.

Does this approach bias towards Cloudflare documentation over pre-trained knowledge?

Yes, this approach biases towards retrieval from Cloudflare docs over pre-trained knowledge to ensure code reviews reflect the most up-to-date references. It guides reviewers and authors with accurate, current standards.

When do I need to check Cloudflare Workers bindings and secrets?

Check Cloudflare Workers bindings and secrets during code audits and pre-deployment reviews. Validating these components ensures secure configuration and prevents unauthorized access to sensitive environment variables.