cloudflare ยท Cloudflare Workers Docs
Workers Miniflare
A guide to using Miniflare as a local simulator to develop, test, and debug Cloudflare Workers with support for runtime APIs like KV, Durable Objects, and R2.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Miniflare
A guide to using Miniflare as a local simulator to develop, test, and debug Cloudflare Workers with support for runtime APIs like KV, Durable Objects, and R2.
When To Use
Use when you need to set up a local development environment to simulate Cloudflare Workers runtime APIs, write integration tests, or manage local storage for KV, R2, and D1 bindings.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-testing-miniflare-workflow-guide.md | An overview of the Miniflare API used for simulating Cloudflare Workers environments for advanced testing use cases. | Questions about an overview of the Miniflare API used for simulating Cloudflare Workers environments for advanced testing use cases. |
What This Skill Covers
- This documentation describes the Miniflare API, which is only relevant for advanced use cases. Instead, most users should use Wrangler to build, run & deploy...
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/testing/miniflare
