Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Storage

Configure and manage local storage simulators in Miniflare for Workers bindings including Cache, D1, Durable Objects, KV, and R2.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Storage

Configure and manage local storage simulators in Miniflare for Workers bindings including Cache, D1, Durable Objects, KV, and R2.

When To Use

Use when you need to set up or manage local emulations of KV, R2, D1, or Durable Objects for testing Cloudflare Workers in Miniflare.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-testing-miniflare-storage-workflow-guide.mdA documentation guide explaining how Miniflare simulates various Cloudflare Workers storage services including KV, D1, Durable Objects, and R2.Questions about a documentation guide explaining how Miniflare simulates various Cloudflare Workers storage services including KV, D1...

What This Skill Covers

  • See the attached source files for the exact documented workflow.

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/testing/miniflare/storage