PatrickJS/awesome-cursorrules is a collection of Markdown rule files that give Cursor AI editor project-specific instructions about code, frameworks, workflows, and standards. Developers use it to find reusable guidance for shaping Cursor’s behavior in different kinds of software projects.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add rules/patrickjs/awesome-cursorrules/cloudflare-workers-hono-angular-saas-cursorrules-prompt-filegit clone --depth 1 https://github.com/PatrickJS/awesome-cursorrulesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/patrickjs/awesome-cursorrules/cloudflare-workers-hono-angular-saas-cursorrules-prompt-file)<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/cloudflare-workers-hono-angular-saas-cursorrules-prompt-file"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/cloudflare-workers-hono-angular-saas-cursorrules-prompt-file.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01335 | $0.01335 |
| Opus 5 | $0.00668 | $0.00668 |
| Sonnet 5 | $0.00267 | $0.00267 |
| Haiku 4.5 | $0.00134 | $0.00134 |
Grade A, and why
cloudflare-workers-hono-angular-saas-cursorrules-prompt-file scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
npx wrangler deploy && curl -sX POST \ How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cloudflare Workers + Hono + Angular SaaS
Full-stack SaaS on Cloudflare Workers with Hono API, Angular frontend, and enterprise integrations.
Stack
CF Workers+Hono v4.12+ | Angular 21+Ionic 8+PrimeNG 21 | D1/Neon | Drizzle v1 | Zod | Clerk Core 3 | Stripe | Inngest v4 | Resend | Bun 1.3 | Playwright v1.59+ | Vitest | ESLint+Prettier | PostHog | Sentry
TypeScript
- Strict mode, never
any(useunknown), preferinterfaceovertype readonlywhen not reassigned,undefinedovernull- Zod as source of truth for validation
- ESLint flat config (
eslint.config.ts) + typescript-eslint + Prettier
Hono API
- Inline handlers for RPC type inference (never separate controller files)
- Method chaining:
app.use().get().post()preserves types hc<AppType>(BASE_URL)for typed client@hono/zod-validatoron ALL request bodiesapp.onError()+app.notFound()centralized- Split large apps:
app.route('/path', subApp) - Error envelope:
{ error: string, code?: string, details?: unknown } createFactory<{ Bindings: Env }>()for reusable middleware chainsGET /healthreturns{ status, version, timestamp }
Angular
- Standalone only (no NgModules), Angular 21 zoneless by default
- Signals stable:
signal(),computed(),effect(),linkedSignal(),resource() HttpResourcefor data fetching- Control flow:
@if/@for/@switch/@defer(not*ngIf/*ngFor) - kebab-case files, one component per file,
providedIn: 'root' - PrimeNG for UI components
Drizzle v1
sqliteTablefor D1, plural snake_case tables$inferSelect/$inferInsertfor typescreateInsertSchema/createSelectSchemafromdrizzle-orm/zod- Batch API (not
BEGIN— D1 doesn't support transactions) - Prepared statements for repeated queries
CF Workers
- CPU limit: 10ms free / 30s paid
ctx.waitUntil()for async post-response workctx.passThroughOnException()for graceful degradation- Bindings typed via
Envinterface - D1 global read replication for latency reduction
- Workers Builds for native CI/CD (preview URLs per branch)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 118 lines · 0 tokens per session scan A 1722ee56187e
cloudflare-workers-hono-angular-saas-cursorrules-prompt-file is a cursor rule published in the GitHub repository PatrickJS/awesome-cursorrules (40,726 stars, last pushed 3mo ago), licensed CC0-1.0. It adds 1,335 tokens to every session, about $0.0067 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
snyk_rules
Snyk Security At Inception.
cursorrules
// Good: Use anyhow for application errors use anyhow::{Context, Result}.
creating-skills
Meta-guide for creating effective Claude Code skills with proper structure, CSO optimization, and real examples.
cursor-rule
This is a test rule for PRPM integration testing.
go
Go patterns: error wrapping, goroutines, interfaces.
code-review
Code review: reviewing approach, authoring PRs, feedback conventions.