S
Seoffix.com
Sign In Get Pro Membership
Skill CommunityApache-2.0Updated this quarter

Workers Best Practices

Cloudflare’s skill for Workers that stay up.

OfficialWorkers
Open upstream 0 installs recorded Source repository Launch page

About this skill

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

Input and output contract

Input

A Worker or a wrangler.jsonc.

Output

A review against production practices.

Workflow steps

  1. 1
    Bindings
  2. 2
    Streaming
  3. 3
    wrangler

Prompt Notebook

You sayReview this Worker for floating promises.
It returnsTwo un-awaited fetches. One global mutable. Patch ready.
You sayGenerate Env from wrangler.
It returnsnpx wrangler types. Stop hand-writing Env.

More from Cloudflare

Wrangler
cf-wrangler
Community

Deploy and manage Workers from the skill, not a wiki.

SkillOfficialSkill
Agents SDK
cf-agents-sdk
Community

Cloudflare’s skill for stateful agents on Workers.

SkillOfficialWorkersLaunches 30 Nov
Community

Send and route mail on Cloudflare, the documented way.

SkillOfficialEmailLaunches 1 Dec
OK