Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Cursor rules for full-stack SaaS applications on Cloudflare Workers with Hono APIs, Angular frontends, typed RPC, D1/Neon, and production observability.
.claude/skills/amariahak-cursor-rules-for-full-stack-saas-applications-on-cloudflare-workers-with-hono-ap/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | 63% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 4% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 39% | 0% |
Cursor rules for full-stack SaaS applications on Cloudflare Workers with Hono APIs, Angular frontends, typed RPC, D1/Neon, and production observability.
Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/cloudflare-workers-hono-angular-saas-cursorrules-prompt-file.mdc.
Full-stack SaaS on Cloudflare Workers with Hono API, Angular frontend, and enterprise integrations.
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
any (use unknown), prefer interface over typereadonly when not reassigned, undefined over nulleslint.config.ts) + typescript-eslint + Prettierapp.use().get().post() preserves typeshc<AppType>(BASE_URL) for typed client@hono/zod-validator on ALL request bodiesapp.onError() + app.notFound() centralizedapp.route('/path', subApp){ error: string, code?: string, details?: unknown }createFactory<{ Bindings: Env }>() for reusable middleware chainsGET /health returns { status, version, timestamp }signal(), computed(), effect(), linkedSignal(), resource()HttpResource for data fetching@if/@for/@switch/@defer (not *ngIf/*ngFor)providedIn: 'root'sqliteTable for D1, plural snake_case tables$inferSelect/$inferInsert for typescreateInsertSchema/createSelectSchema from drizzle-orm/zodBEGIN — D1 doesn't support transactions)ctx.waitUntil() for async post-response workctx.passThroughOnException() for graceful degradationEnv interfaceeventType('name', { schema: z.object({...}) }) per-event (v4 breaking)inngest/cloudflare adapter + inngest.setEnvVars(c.env) for Workersstep.run(), step.sleep(), step.waitForEvent(), step.sendEvent()step.ai.infer() offloads inference (zero compute during wait)step.realtime.publish() for durable pub/subwaitFor/toBeVisible()data-testid > role > textPROD_URL env var for production testingbashnpx 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}'
typescriptimport { 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;
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-11 | pass→pass | 19,542 | 12,949 | -34% | 1 | 1 | 0% | 3,862 | 4,245 | +10% | 0 | 0 | — |
case-12 | fail→pass | 12,678 | 11,394 | -10% | 1 | 1 | 0% | 2,394 | 3,912 | +63% | 0 | 0 | — |
case-13 | fail→fail | 9,786 | 8,962 | -8% | 1 | 1 | 0% | 1,778 | 3,380 | +90% | 0 | 0 | — |
case-19 | pass→pass | 19,949 | 13,545 | -32% | 1 | 1 | 0% | 4,175 | 4,391 | +5% | 0 | 0 | — |
case-20 | pass→pass | 15,477 | 12,233 | -21% | 1 | 1 | 0% | 3,146 | 4,014 | +28% | 0 | 0 | — |
case-05 | pass→pass | 12,206 | 10,383 | -15% | 1 | 1 | 0% | 2,448 | 3,200 | +31% | 0 | 0 | — |
case-01 | fail→pass | 11,859 | 10,969 | -8% | 1 | 1 | 0% | 2,639 | 3,990 | +51% | 0 | 0 | — |
case-02 | fail→pass | 24,595 | 19,258 | -22% | 1 | 1 | 0% | 5,826 | 6,070 | +4% | 0 | 0 | — |
case-03 | fail→pass | 15,621 | 13,670 | -12% | 1 | 1 | 0% | 3,266 | 4,471 | +37% | 0 | 0 | — |
case-04 | pass→pass | 14,515 | 11,103 | -24% | 1 | 1 | 0% | 3,273 | 4,059 | +24% | 0 | 0 | — |
case-06 | pass→pass | 11,891 | 9,704 | -18% | 1 | 1 | 0% | 2,683 | 3,561 | +33% | 0 | 0 | — |
case-07 | fail→fail | 12,047 | 8,963 | -26% | 1 | 1 | 0% | 2,473 | 3,347 | +35% | 0 | 0 | — |
case-08 | pass→pass | 9,543 | 4,921 | -48% | 1 | 1 | 0% | 1,931 | 2,326 | +20% | 0 | 0 | — |
case-09 | fail→pass | 15,828 | 12,831 | -19% | 1 | 1 | 0% | 3,071 | 4,263 | +39% | 0 | 0 | — |
case-10 | fail→pass | 9,822 | 6,216 | -37% | 1 | 1 | 0% | 2,294 | 2,737 | +19% | 0 | 0 | — |
case-14 | pass→pass | 6,159 | 6,632 | +8% | 1 | 1 | 0% | 1,153 | 2,704 | +135% | 0 | 0 | — |
case-15 | pass→pass | 17,145 | 10,202 | -40% | 1 | 1 | 0% | 2,792 | 3,631 | +30% | 0 | 0 | — |
case-16 | pass→pass | 10,461 | 7,068 | -32% | 1 | 1 | 0% | 2,006 | 2,983 | +49% | 0 | 0 | — |
case-17 | pass→pass | 6,206 | 5,496 | -11% | 1 | 1 | 0% | 1,288 | 2,590 | +101% | 0 | 0 | — |
case-18 | fail→pass | 10,853 | 12,859 | +18% | 1 | 1 | 0% | 2,060 | 4,436 | +115% | 0 | 0 | — |
case-21 | fail→pass | 15,503 | 12,387 | -20% | 1 | 1 | 0% | 2,982 | 4,261 | +43% | 0 | 0 | — |
case-22 | pass→pass | 12,905 | 9,552 | -26% | 1 | 1 | 0% | 2,767 | 3,668 | +33% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +36 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.