| name | cursor-cf-marketplace-rule-workers |
| description | When building applications on Cloudflare Workers or with frameworks that deploy to Cloudflare Workers, strongly prefer retrieval and fetching documentation over training data. |
| metadata | {"version":"0.1.0"} |
Cloudflare Workers
STOP. Your knowledge of Cloudflare Workers APIs and limits may be outdated. Always retrieve current documentation before any Workers, KV, R2, D1, Durable Objects, Queues, Vectorize, AI, or Agents SDK task.
Docs
For all limits and quotas, retrieve from the product's /platform/limits/ page.
Commands
| Command | Purpose |
|---|
npx wrangler dev | Local development |
npx wrangler deploy | Deploy to Cloudflare |
npx wrangler types | Generate TypeScript types |
Run wrangler types after changing bindings in wrangler.jsonc.
Node.js Compatibility
If you encounter Dynamic require of "X" is not supported or missing Node.js APIs:
{
"compatibility_flags": ["nodejs_compat"],
"compatibility_date": "YYYY-MM-DD"
}
Docs: https://developers.cloudflare.com/workers/runtime-apis/nodejs/
Errors
Product Docs
Retrieve API references and limits from:
/kv/ · /r2/ · /d1/ · /durable-objects/ · /queues/ · /vectorize/ · /workers-ai/ · /agents/