cloudflare-workers-hono-angular-saas-cursorrules-prompt-file
Cursor rules for full-stack SaaS applications on Cloudflare Workers with Hono APIs, Angular frontends, typed RPC, D1/Neon, and production observability.
Install / Use
npx skills add PatrickJS/awesome-cursorrulesInstalls into whichever agent you are using.
Other
Other agent config
Quality Score
Category
SecuritySupported Platforms
Our assessment of cloudflare-workers-hono-angular-saas-cursorrules-prompt-file
cloudflare-workers-hono-angular-saas-cursorrules-prompt-file scores 89/100 on our quality scale, 509th of 1,099 Security skills we index (top 47%).
Its Other is 4.4 KB long, well organised into 14 sections with 2 code examples: a solid amount of guidance for an agent.
With 41,108 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-10-17 found the source still online.
- It is released under the CC0-1.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 98/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
cloudflare-workers-hono-angular-saas-cursorrules-prompt-file compared with similar skills
All 4 of these similar skills score higher than cloudflare-workers-hono-angular-saas-cursorrules-prompt-file; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cloudflare-workers-hono-angular-saas-cursorrules-prompt-file (this skill)by PatrickJS | 89 | 41.1k | 5mo ago | Other |
| claude-memby thedotmack | 100 | 113.5k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 97.9k | today | MCP Server |
Frequently asked questions
- How do I install cloudflare-workers-hono-angular-saas-cursorrules-prompt-file?
- Run
npx skills add PatrickJS/awesome-cursorrules. The install tabs above show the steps for each supported agent. - Which AI agents does cloudflare-workers-hono-angular-saas-cursorrules-prompt-file work with?
- It is written for Cursor and Zed, as a Other file. Other agents that read the same format can often use it too.
- Is cloudflare-workers-hono-angular-saas-cursorrules-prompt-file safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is CC0-1.0-licensed and scores 98/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is cloudflare-workers-hono-angular-saas-cursorrules-prompt-file still maintained?
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubdescription: "Cursor rules for full-stack SaaS applications on Cloudflare Workers with Hono APIs, Angular frontends, typed RPC, D1/Neon, and production observability." globs: */ alwaysApply: false
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)
Inngest v4 (Background Jobs)
eventType('name', { schema: z.object({...}) })per-event (v4 breaking)inngest/cloudflareadapter +inngest.setEnvVars(c.env)for Workers- Step functions:
step.run(),step.sleep(),step.waitForEvent(),step.sendEvent() step.ai.infer()offloads inference (zero compute during wait)step.realtime.publish()for durable pub/sub- Each step idempotent, retried independently
Testing (TDD)
- Failing test FIRST, then implement
- Playwright for E2E: 6 breakpoints (375, 390, 768, 1024, 1280, 1920)
- Vitest for unit tests
- No sleeps — use
waitFor/toBeVisible() - Selectors:
data-testid> role > text - axe-core 0 violations
PROD_URLenv var for production testing
Security (OWASP Top 10:2025)
- Must: HSTS, CSP (nonce-based strict), X-Content-Type-Options, X-Frame-Options
- Must: Referrer-Policy, Permissions-Policy, COOP, COEP, CORP
- Remove: X-XSS-Protection, Expect-CT, Server, X-Powered-By
- Turnstile on all forms, Zod validation on all inputs
- Stripe webhooks: verify signature, deduplicate via KV
Auth (Clerk)
- JWT verified per-request (no session store)
- Webhook sync: Clerk → D1 for user data
- RBAC: Clerk org roles for org-scoped, D1 for app-level
- Route layers: public → auth-only → role-gated → owner-only
Quality
- Lighthouse: a11y ≥95, perf ≥75
- WCAG 2.2 AA compliance
- LCP ≤2.5s, CLS ≤0.1, INP ≤200ms
- JS ≤200KB gz, CSS ≤50KB gz
- Functions ≤50 lines, cyclomatic complexity ≤10
Deploy
npx wrangler deploy && curl -sX POST \
"https://api.cloudflare.com/client/v4/zones/${ZONE_ID}/purge_cache" \
-H "Authorization: Bearer ${CF_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"purge_everything":true}'
Hono Worker Starter
import { Hono } from 'hono';
import { secureHeaders } from 'hono/secure-headers';
import { cors } from 'hono/cors';
interface Env {
DB: D1Database;
KV: KVNamespace;
AI: Ai;
TURNSTILE_SECRET: string;
}
const app = new Hono<{ Bindings: Env }>();
app.use('*', secureHeaders());
app.use('/api/*', cors({ origin: ['https://yourdomain.com'] }));
app.get('/health', (c) => c.json({ status: 'ok', timestamp: new Date().toISOString() }));
export default app;
Related Skills
claude-mem
113.5kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
97.9k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
