Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Get Started

A step-by-step guide to initializing, developing locally, and deploying a static site or full-stack application on Cloudflare Workers using the C3 CLI and Wrangler.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Get Started

A step-by-step guide to initializing, developing locally, and deploying a static site or full-stack application on Cloudflare Workers using the C3 CLI and Wrangler.

When To Use

Use when you need to initialize a new Cloudflare Workers project from scratch, set up a local development environment, or deploy a static site to the Cloudflare network.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-static-assets-get-started-workflow-guide.mdA guide for deploying static sites using Cloudflare Workers, including local development and deployment steps.Questions about a guide for deploying static sites using Cloudflare Workers, including local development and deployment steps.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-npm-c.textThe npm command used to initialize a new Cloudflare Workers project with static assets.Exact payloads, commands, or snippets shown in The npm command used to initialize a new Cloudflare Workers project with static assets.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-get-s.textThe shell command used to initialize a new Cloudflare Workers project with static assets support.Exact payloads, commands, or snippets shown in The shell command used to initialize a new Cloudflare Workers project with static assets support.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-proje.textThe shell command used to initialize a new Cloudflare Workers project with static assets using pnpm.Exact payloads, commands, or snippets shown in The shell command used to initialize a new Cloudflare Workers project with static assets using pnpm.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-get-s-2.textA sequence of terminal commands for initializing a static site directory and preparing a Cloudflare Workers project.Exact payloads, commands, or snippets shown in A sequence of terminal commands for initializing a static site directory and preparing a Cloudflare Workers project.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-get-s-3.textThe terminal command used to start a local development server for Cloudflare Workers with static assets.Exact payloads, commands, or snippets shown in The terminal command used to start a local development server for Cloudflare Workers with static assets.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-deplo.textThe npx wrangler deploy command used to deploy Cloudflare Workers with static assets.Exact payloads, commands, or snippets shown in The npx wrangler deploy command used to deploy Cloudflare Workers with static assets.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-npm-c-2.textThe npm command used to initialize a new Cloudflare Workers project with static assets support.Exact payloads, commands, or snippets shown in The npm command used to initialize a new Cloudflare Workers project with static assets support.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-get-s-4.textThe shell command used to initialize a new Cloudflare Workers project with static assets support.Exact payloads, commands, or snippets shown in The shell command used to initialize a new Cloudflare Workers project with static assets support.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-get-s-5.textThe pnpm command used to initialize a new Cloudflare Workers project with static assets.Exact payloads, commands, or snippets shown in The pnpm command used to initialize a new Cloudflare Workers project with static assets.
examples/workers-static-assets-get-started-cloudflare-workers-static-assets-get-s-6.textA sequence of terminal commands for initializing and navigating a dynamic site directory for Cloudflare Workers static assets.Exact payloads, commands, or snippets shown in A sequence of terminal commands for initializing and navigating a dynamic site directory for Cloudflare Workers stati...

What This Skill Covers

  • For most front-end applications, you'll want to use a framework. Workers supports number of popular frameworks that come with ready-to-use components, a pre-...
  • Main sections: Deploy a static site, 1\. Create a new Worker project using the CLI, 2\. Develop locally, 3\. Deploy your project, Deploy a full-stack application.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/static-assets/get-started