Skill

Workers Best Practices

Skill

Cloudflare’s skill for Workers that stay up.

Official. Streaming, bindings, secrets, wrangler.jsonc — against the current docs, not last year’s blog.

spec·Apache-2.0·Updated this quarter·github.com/cloudflare/skills

Claude CodeCursorDesktop
Scanned
npx skills add cloudflare/skills

By Cloudflare

Input

A Worker or a wrangler.jsonc.

Output

A review against production practices.

cf-workers-practices.skill/invoke

You say

Review this Worker for floating promises.

It returns

Two un-awaited fetches. One global mutable. Patch ready.

Prompt notebook

Prompts this skill is built for.

  • You say

    Review this Worker for floating promises.

    It returns

    Two un-awaited fetches. One global mutable. Patch ready.

  • You say

    Generate Env from wrangler.

    It returns

    npx wrangler types. Stop hand-writing Env.

What it teaches

  1. 01Bindings
  2. 02Streaming
  3. 03wrangler