cloudflare · Cloudflare Workers Docs
Workers Prompting
Instructions for configuring AI agents and IDEs with Cloudflare Workers context using MCP servers and specialized base prompts to improve code generation and debugging.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Prompting
Instructions for configuring AI agents and IDEs with Cloudflare Workers context using MCP servers and specialized base prompts to improve code generation and debugging.
When To Use
Use when you want to configure an AI agent or IDE like Cursor, Windsurf, or Claude Code to generate, debug, or manage Cloudflare Workers applications using specialized context and MCP servers.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-get-started-prompting-workflow-guide.md | A guide explaining how to use AI agents and editors to create Cloudflare Workers applications using prompts. | Questions about a guide explaining how to use AI agents and editors to create Cloudflare Workers applications using prompts. |
examples/workers-get-started-prompting-cloudflare-workers-prompting-backend-api-s.text | A text-based example demonstrating how to create a Cloudflare Workers application that functions as a backend API server. | Exact payloads, commands, or snippets shown in A text-based example demonstrating how to create a Cloudflare Workers application that functions as a backend API ser... |
examples/workers-get-started-prompting-cloudflare-workers-prompting-hyperdrive-po.text | A text-based example prompt demonstrating how to request instructions for connecting a Cloudflare Worker to a Postgres database using Hyperdrive. | Exact payloads, commands, or snippets shown in A text-based example prompt demonstrating how to request instructions for connecting a Cloudflare Worker to a Postgre... |
examples/workers-get-started-prompting-cloudflare-workers-agents-sdk-chat-agent-c.text | A text-based example demonstrating how to use the Cloudflare Agents SDK to create an AI chat agent that maintains conversation history. | Exact payloads, commands, or snippets shown in A text-based example demonstrating how to use the Cloudflare Agents SDK to create an AI chat agent that maintains con... |
examples/workers-get-started-prompting-cloudflare-workers-durable-objects-hiberna.text | A text-based implementation guide for building a WebSocket-based pub/sub application using Cloudflare Workers Durable Objects Hibernation APIs. | Exact payloads, commands, or snippets shown in A text-based implementation guide for building a WebSocket-based pub/sub application using Cloudflare Workers Durable... |
examples/workers-get-started-prompting-cloudflare-workers-r2-presigned-url-image-.text | A text-based guide demonstrating how to build an image upload application using Cloudflare Workers and R2 pre-signed URLs. | Exact payloads, commands, or snippets shown in A text-based guide demonstrating how to build an image upload application using Cloudflare Workers and R2 pre-signed... |
examples/workers-get-started-prompting-cloudflare-workers-prompting-system-contex.text | A system prompt template designed to instruct an AI assistant to specialize in generating Cloudflare Workers code and best practices. | Exact payloads, commands, or snippets shown in A system prompt template designed to instruct an AI assistant to specialize in generating Cloudflare Workers code and... |
What This Skill Covers
- You can create Workers applications from simple prompts in your favorite agent or editor, including Cursor, Windsurf, VS Code, Claude Code, Codex, and OpenCode.
- Main sections:
Tags,Teach your agent about Workers,Example prompts,Use a prompt,Additional uses.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/get-started/prompting/index.md
