AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cloudflare

Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without naming a Cloudflare product; then find the relevant skill or documentation.

Original source
cloudflare
License
Apache-2.0
Pinned revision
e44f580f9c4fa3bf268e284ae7706c7954ba31fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read cloudflare--cloudflare at revision e44f580f9c4fa3bf268e284ae7706c7954ba31fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 135

references/kv/gotchas.md

KV Gotchas & Troubleshooting

Read the linked explanation before applying a workaround.

| Symptom or decision | Documentation and guidance | |---------------------|----------------------------| | Stale value after a write or delete | How KV works: allow for eventual consistency; neither local read-after-write visibility nor a fixed global propagation deadline is guaranteed. | | Newly created key still appears absent | Read caching: missing-key lookups are cached too. Treat check-then-create as a race, not an atomic existence test. | | Concurrent updates overwrite each other or writes are throttled | Concurrent writes: retries do not make read-modify-write atomic. Use coordination when correctness depends on ordering. | | Missing-value errors | Read results: distinguish null from valid falsy values and distinguish absence from an operation failure. | | Slow reads, large results, or excessive operations | Read guidance: select result types and bulk reads to match the workload; increasing read cache lifetime trades freshness for cache reuse. | | Unexpected empty listing page | Pagination: use the completion flag and cursor, not page length, to determine whether to continue. | | Data present in one environment but missing in another | KV bindings and environments: check local versus remote storage and the selected namespace. | | Size, operation, or write-rate failures | Limits: retrieve current constraints before sizing values, batches, or retry policies. | | Estimate costs or explain billing | Pricing: check allowances, billable operations, storage, and bulk accounting for the actual workload. |

Confirm freshness and failure requirements before adding a cache or a permissive fallback; see patterns.md.