Cursor rule Cursor
Backend deletion mutations must remove owned dependencies in a single transaction. Apply when writing or changing delete mutations.
🚀 Fastest fullstack monorepo template for your SaaS. Built with vite, oxc, tsgo, pnpm. E2E typesafety, builds Desktop and Web, Browser Extensions and Mobile applications.
Cursor rule Cursor
Backend deletion mutations must remove owned dependencies in a single transaction. Apply when writing or changing delete mutations.
Cursor rule Cursor
Backend errors should flow through centralized middleware - NEVER use try/catch to swallow errors.
Cursor rule Cursor
Backend feature vertical architecture rules.
Cursor rule Cursor
Backend Hono file upload middleware rules. Apply when adding or changing file upload routes.
Cursor rule Cursor
Use the typed frontendUrl() helper when building links to the frontend from backend code (email links, OAuth redirects).
Cursor rule Cursor
Backend tech stack and general coding rules.
Cursor rule Cursor
Backend testing conventions - integration tests against real Docker services.
Cursor rule Cursor
Use HyperFetch SDK for all API and WebSocket communication in client apps (frontend, admin, mobile, extension).
Cursor rule Cursor
Database schema change workflow - Prisma migrations, client regeneration, test DB sync. Apply whenever changing schema.prisma or database structure.
Cursor rule Cursor
Bug-fixing discipline - build a red feedback loop before hypothesizing, ship every fix with a regression test. Apply whenever diagnosing or fixing a bug, failure, or regression.
Cursor rule Cursor
Canonical domain vocabulary and architecture decision records.
Cursor rule Cursor
Client app feature vertical architecture rules (frontend, admin, mobile, extension).
Cursor rule Cursor
Client app styling and UI component conventions (frontend, admin, mobile, extension).
Cursor rule Cursor
Client app testing conventions - real hooks and SDK with HyperFetch setMock at the network boundary.
Cursor rule Cursor
Commit message convention and pnpm/Nx monorepo rules.
Cursor rule Cursor
Paraglide i18n for all user-facing strings, and rules for generated code.
Cursor rule Cursor
Module design principles - deep modules, no speculative generality, vertical slices, self-review smells.
Cursor rule Cursor
Shared testing philosophy for all apps - test real code, mock only unavailable third parties.
Cursor rule Cursor
When and whether to write tests during feature work.
Cursor rule Cursor
Run verification after making changes.