Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Deploy an existing project

How to use Wrangler to automatically detect a web framework, install necessary adapters, and generate configuration files for Cloudflare Workers deployment.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Deploy an existing project

How to use Wrangler to automatically detect a web framework, install necessary adapters, and generate configuration files for Cloudflare Workers deployment.

When To Use

Use when you need to deploy an existing web project to Cloudflare Workers without manually creating wrangler.jsonc or installing framework-specific adapters.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-workflow-guide.mdA guide explaining how Wrangler automatically detects frameworks and configures existing projects for Cloudflare Workers deployment.Questions about a guide explaining how Wrangler automatically detects frameworks and configures existing projects for Cloudflare Work...
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj.textA JSON configuration file for Wrangler demonstrating project name, main entry point, compatibility date, and assets directory settings.Exact payloads, commands, or snippets shown in A JSON configuration file for Wrangler demonstrating project name, main entry point, compatibility date, and assets d...
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-2.textA sample wrangler.toml configuration file for deploying an existing project to Cloudflare Workers with assets and observability enabled.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file for deploying an existing project to Cloudflare Workers with assets and obs...
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-3.textA package.json configuration file containing deploy and preview scripts for an existing Cloudflare Workers project.Exact payloads, commands, or snippets shown in A package.json configuration file containing deploy and preview scripts for an existing Cloudflare Workers project.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-4.textA list of files and directories generated by the wrangler files command during the deployment of an existing project.Exact payloads, commands, or snippets shown in A list of files and directories generated by the wrangler files command during the deployment of an existing project.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-5.textA text file containing the _worker.js routing configuration and routes.json structure for deploying an existing project to Cloudflare Workers.Exact payloads, commands, or snippets shown in A text file containing the worker.js routing configuration and routes.json structure for deploying an existing projec...
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-6.textThe terminal command used to deploy an existing project to Cloudflare Workers using Wrangler.Exact payloads, commands, or snippets shown in The terminal command used to deploy an existing project to Cloudflare Workers using Wrangler.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-7.textThe terminal command used to deploy an existing project to Cloudflare Workers using yarn wrangler.Exact payloads, commands, or snippets shown in The terminal command used to deploy an existing project to Cloudflare Workers using yarn wrangler.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-8.textA text snippet demonstrating the pnpm wrangler deploy command used to deploy an existing project to Cloudflare Workers.Exact payloads, commands, or snippets shown in A text snippet demonstrating the pnpm wrangler deploy command used to deploy an existing project to Cloudflare Workers.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-9.textThe terminal command used to initialize the automatic configuration for an existing project using Wrangler.Exact payloads, commands, or snippets shown in The terminal command used to initialize the automatic configuration for an existing project using Wrangler.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-10.textThe terminal command used to initialize the automatic configuration for an existing project using wrangler.Exact payloads, commands, or snippets shown in The terminal command used to initialize the automatic configuration for an existing project using wrangler.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-11.textA text command demonstrating how to use pnpm wrangler setup to deploy an existing project to Cloudflare Workers.Exact payloads, commands, or snippets shown in A text command demonstrating how to use pnpm wrangler setup to deploy an existing project to Cloudflare Workers.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-12.textA text representation of the npx wrangler setup dry-run command used to preview the deployment configuration for an existing project.Exact payloads, commands, or snippets shown in A text representation of the npx wrangler setup dry-run command used to preview the deployment configuration for an e...
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-13.textA text representation of the wrangler setup dry-run command used to preview the deployment configuration for an existing project.Exact payloads, commands, or snippets shown in A text representation of the wrangler setup dry-run command used to preview the deployment configuration for an exist...
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-14.textA text representation of the pnpm wrangler setup dry-run command used to preview the deployment configuration for an existing project.Exact payloads, commands, or snippets shown in A text representation of the pnpm wrangler setup dry-run command used to preview the deployment configuration for an...
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-15.textThe npx wrangler deploy command used to deploy an existing project to Cloudflare Workers.Exact payloads, commands, or snippets shown in The npx wrangler deploy command used to deploy an existing project to Cloudflare Workers.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-16.textThe wrangler cli command used to deploy an existing project to cloudflare workers.Exact payloads, commands, or snippets shown in The wrangler cli command used to deploy an existing project to cloudflare workers.
examples/workers-framework-guides-automatic-configuration-deploy-an-existing-proj-17.textA text file containing the pnpm wrangler deploy command used to deploy an existing project to Cloudflare Workers.Exact payloads, commands, or snippets shown in A text file containing the pnpm wrangler deploy command used to deploy an existing project to Cloudflare Workers.

What This Skill Covers

  • Wrangler can automatically detect your framework and configure your project for Cloudflare Workers. This allows you to deploy existing projects with a single...
  • Main sections: How it works, Supported frameworks, Files created and modified, wrangler.jsonc, package.json.

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/framework-guides/automatic-configuration