RuleMembers

Cloudflare Workers Hono Angular SaaS Cursor rules

This rule file guides Cursor on full-stack SaaS apps that run on Cloudflare Workers with a Hono API and an Angular frontend. It suits teams on that exact stack who want typed RPC between server and client, strict TypeScript, and consistent patterns for data, auth, payments and observability.

What it does

The stack line names Hono v4.12+, Angular 21 with Ionic 8 and PrimeNG 21, D1 or Neon, Drizzle, Zod, Clerk and Stripe. Hono handlers stay inline for RPC type inference, every request body uses @hono/zod-validator, errors share one envelope, and GET /health returns status, version and timestamp. Angular is standalone and zoneless with signals.

How to use it

With globs set to **/*, add it to the repo and it applies to both Worker and Angular code.

Requirements and limits

It is tied to specific versions; older Angular or Hono releases will not match every rule.

More in Rules and the Cursor library.

What it covers

  • Stack
  • TypeScript
  • Hono API
  • Angular
  • Drizzle v1
  • CF Workers
  • Inngest v4 Background Jobs
  • Testing TDD
  • Security OWASP Top 10:2025
  • Auth Clerk

The full text is in the members library

Book a call and we will give you access to the full Cursor library: every entry in full, search by meaning, copy and download.

Source and license

Source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/cloudflare-workers-hono-angular-saas-cursorrules-prompt-file.mdc

Author: PatrickJS, Awesome cursorrules. License: CC0-1.0.

Related entries