deploying-cloudflare-web-application
Installation
SKILL.md
Deploying a web application to Cloudflare
Overview
Deploy static web apps with Cloudflare Workers Builds: connect GitHub in the dashboard, run a build command on push, then npx wrangler deploy. No separate deploy pipeline in the repository.
Agent workflow
Run these steps in order before generating or editing deployment files. Works wherever the agent can read and write repository files.
Steps
-
Discovery — Resolve the deploy target, build command, output path, SPA mode, build-time env vars, and monorepo root directory. Ask the user when multiple apps or ambiguous builds exist. Follow discovering-application.md.
-
Validate locally — Confirm the build produces files in the expected output directory: