Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Playground

How to use the browser-based sandbox to preview, test, debug, and deploy Cloudflare Workers code without local setup or authentication.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Playground

How to use the browser-based sandbox to preview, test, debug, and deploy Cloudflare Workers code without local setup or authentication.

When To Use

Use when you need to quickly prototype a Worker, test specific HTTP methods and headers, or debug code using a browser-based log viewer without configuring a local development environment.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-playground-index-workflow-guide.mdAn introduction to the Cloudflare Workers Playground including browser support requirements and basic interface features.Questions about an introduction to the Cloudflare Workers Playground including browser support requirements and basic interface featu...
examples/workers-playground-index-cloudflare-workers-playground-javascript-fetch-.textA JavaScript code snippet demonstrating a basic fetch handler implementation within the Cloudflare Workers Playground environment.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating a basic fetch handler implementation within the Cloudflare Workers Playground...

What This Skill Covers

  • The Cloudflare Workers Playground is currently only supported in Firefox and Chrome desktop browsers. In Safari, it will show a PreviewRequestFailed error me...
  • Main sections: Hello Cloudflare Workers, Use the Playground, Log viewer, Share, Deploy.

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/playground/index.md