SKILL127.2K installs3.2K

Workers Best Practices

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.

Type
Skill
Author
cloudflare
Category
Code Review
GitHub stars
3.2K
Installs
127.2K
Last updated
October 31, 2026

Install

npx skills add https://github.com/cloudflare/skills --skill workers-best-practices

Use cases


Frequently Asked Questions

Which anti-patterns does it flag?

Streaming, floating promises, global state, secrets, bindings, and observability issues.

Does it use pre-trained knowledge?

It biases toward retrieval from Cloudflare docs over pre-trained knowledge.

When should I load it?

When writing new Workers, reviewing Worker code, or configuring wrangler.jsonc.


About this skill

Reviews and authors Cloudflare Workers code against production best practices, flagging anti-patterns around streaming, floating promises, global state, secrets, bindings, and observability. Load it when writing new Workers, reviewing existing code, or configuring wrangler.jsonc. It prefers current Cloudflare docs over pre-trained knowledge.

Summary written with AI assistance from the project's public description.


Categories


More from cloudflare


Similar Skills