plugin · devops · docs · plugin
workers
Guidance for writing, reviewing, or configuring Cloudflare Workers and applications deployed to Workers.
rules/workers/RULE.md · 4dd36de feat: catalog cursor mcps and rules
Cloudflare Workers
Your knowledge of Cloudflare Workers APIs, types, and configuration may be outdated. Prefer retrieval over pre-training. Use the project's installed versions, generated types, and compatibility settings as the baseline. Retrieve relevant Cloudflare documentation to verify API, configuration, runtime behavior, and limit claims.
Workers Defaults
- Keep compatibility dates current. Use today's date for new Workers. Encourage periodic updates for existing Workers, reviewing compatibility changes and running relevant tests.
- Enable logs and traces. When creating or preparing a Worker for production, set
observability.enabledandobservability.traces.enabledtotrue. The top-level setting alone does not enable traces. Use structured JSON logging and configure sampling for the workload. During reviews, flag missing logs or traces. See Workers Logs and Traces. - Keep binding types in sync. Run
wrangler typesafter changing bindings in the project's Wrangler configuration, whether JSONC, JSON, or TOML.
Shared Guidance
- Use workers-best-practices for runtime patterns, anti-patterns, configuration, and platform API checks. Read the references relevant to the task.
- Use wrangler for CLI commands and deployment configuration.
- Find documentation for products used by the Worker in the Cloudflare docs directory. Verify limits and quotas against the affected product's documentation.
Changelog
- 4dd36defeat: catalog cursor mcps and rulesErbil Nas · 11/23/2026
Used with
- mcpscloudflarehttp: https://mcp.cloudflare.com/mcp
- skillsmodern-web-guidanceSearch tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns. Trigger immediately for: modals/dialogs/popovers, tables, dark mode, anchor positioning, container queries, view transitions, scroll-driven animations, parallax/reveals, forms, validation, autofill, accessibility, custom selects, scrollbars, CWV (LCP, INP, CLS), content-visibility, fetch priority, image optimization, security, passkeys, HTML sanitization, web components, dates/timezones, built-in AI, WebAssembly, standard HTML/CSS/DOM in frameworks, etc. DO NOT trigger for: backend (SQL, ORMs, API routes), infra/scripts (CI/CD, Docker, Actions, Python/Go, Git), or tooling/trivial (Vite, tsconfig, ESLint, tests, copy/renames, 3P docs), etc.
- skillsvercel-react-best-practicesReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
- mcpsgmailhttp: https://gmailmcp.googleapis.com/mcp/v1
- mcpsgoogle-calendarhttp: https://calendarmcp.googleapis.com/mcp/v1
- mcpspostmanhttp: https://mcp.postman.com/mcp
- mcpsquiveraihttp: https://app.quiver.ai/mcp
- mcpsstripehttp: https://mcp.stripe.com