cloudflare-deploy

Originally fromopenai/skills
Installation
SKILL.md

Cloudflare Deploy

Use cf for Cloudflare operations. Use the decision trees below to pick a product, then read its runtime/API references and the current cf CLI guide.

Prerequisites

  • Node.js 24+ and pnpm. Install the npm package cf, not @cloudflare/cf.
  • Keep cf in project devDependencies and commit the lockfile. The checked example uses cf@1.0.0-beta.5 and @cloudflare/vite-plugin@beta; recheck help and types when upgrading.
  • Workers use cloudflare.config.ts. For an existing Wrangler project, run cf migrate --dry-run, then cf migrate and resolve its follow-up items before project commands. Automatic configuration does not import the old bindings.

Authentication (Required Before Deploy)

Verify auth before publishing or mutating account resources:

pnpm exec cf auth whoami

See authentication. Use pnpm exec cf auth login locally; cf has its own login credentials. In CI set CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID. A deploy dry run needs no credentials.

Installs
64
Repository
mizchi/skills
GitHub Stars
416
First Seen
Apr 27, 2026