Cursor rule Cursor ✓ vendor
Test-only type assertions and mocking patterns (avoid brittle mocks).
The Prisma ORM: write your application in TypeScript with human-readable queries instead of SQL. Host your database on Prisma Postgres and your app on Prisma Compute.
Prisma ORM is a Node.js and TypeScript database toolkit that lets applications work with databases through a programming interface instead of writing every query directly in SQL. Developers use it with databases including PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB, and CockroachDB. The catalogue add-ons provide agent rules, skills, hooks, agents, and other workflows for using Prisma.
This repository also configures its own agents. See what orm tells them →
Cursor rule Cursor ✓ vendor
Test-only type assertions and mocking patterns (avoid brittle mocks).
Cursor rule Cursor ✓ vendor
Keep @repo/tsdown source-only exports.
Cursor rule Cursor ✓ vendor
Use tsdown dist root paths in TS test mappings.
Cursor rule Cursor ✓ vendor
Extract TypeScript types from contract.d.ts and helpers.
Cursor rule Cursor ✓ vendor
Replace blind casts with type predicates (type guards).
Cursor rule Cursor ✓ vendor
Use typed Contract from fixtures in integration tests.
Cursor rule Cursor ✓ vendor
TypeScript and architecture patterns for this codebase.
Cursor rule Cursor ✓ vendor
Use factory functions for creating AST nodes instead of manual object creation.
Cursor rule Cursor ✓ vendor
Use factory functions for creating ContractIR objects instead of manual object creation.
Cursor rule Cursor ✓ vendor
Use coreHash() and profileHash() constructors instead of 'as never' casts for branded hash types.
Cursor rule Cursor ✓ vendor
Use ifDefined() for conditional object spreads.
Cursor rule Cursor ✓ vendor
Prefer pathe over node:path in TypeScript files.
Cursor rule Cursor ✓ vendor
Use shared timeout helpers in tests.
Cursor rule Cursor ✓ vendor
The toMatchTypeOf() matcher has been deprecated in Vitest's expectTypeOf API.
Cursor rule Cursor ✓ vendor
Cannot find module '@internal/' (ERRMODULENOTFOUND) is a build/install-state issue, not a code bug — verify with require.resolve (pnpm links per-consumer, not repo root), then pnpm build (stale dist) / pnpm install (new dep).
Cursor rule Cursor ✓ vendor
Build all packages via Turbo.
Cursor rule Cursor ✓ vendor
Run coverage for packages only.
Cursor rule Cursor ✓ vendor
Run the Todo example end-to-end demo.
Cursor rule Cursor ✓ vendor
Validate package layering and import rules.
Cursor rule Cursor ✓ vendor
Run tests for packages only.
Cursor rule Cursor ✓ vendor
Work never adds to or reshapes the framework domain in packages/1-framework. A design that needs to is almost certainly wrong — stop and tell the operator at once.
Cursor rule Cursor ✓ vendor
A doc change that teaches or claims something is reviewed by fresh agents, for clarity and for facts, before it is done.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: