Cursor rule Cursor ✓ vendor
Enforce omitting "should" in test descriptions.
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
Enforce omitting "should" in test descriptions.
Cursor rule Cursor ✓ vendor
Don't open one-line / chore PRs on their own; batch ancillary work into in-flight PRs.
Cursor rule Cursor ✓ vendor
PostgreSQL LATERAL and jsonagg rendering patterns.
Cursor rule Cursor ✓ vendor
Prefer assertions over defensive checks when data is guaranteed to be valid.
Cursor rule Cursor needs its repo ✓ vendor
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
Cursor rule Cursor ✓ vendor
Prefer object matchers over multiple individual expect().toBe() calls.
Cursor rule Cursor ✓ vendor
Lead with PSL examples in design docs; TS authoring surface mirrors or extends PSL.
Cursor rule Cursor ✓ vendor
Use expect().toThrow() instead of manual try/catch blocks in tests.
Cursor rule Cursor ✓ vendor
Standard patterns for working with Prisma 8 queries.
Cursor rule Cursor ✓ vendor
Read AGENTS.md for repo entrypoint and high-level constraints.
Cursor rule Cursor ✓ vendor
Internal input types use required keys typed | undefined, not optional keys.
Cursor rule Cursor ✓ vendor
How to resolve cyclic dependencies when moving types or refactoring packages.
Cursor rule Cursor ✓ vendor
Honor explicitly provided base branches in review artifacts.
Cursor rule Cursor ✓ vendor
How to run tests, check for failures, and rerun specific failing tests — use the :agent variants of slow commands.
Cursor rule Cursor ✓ vendor
Read the architecture overview first.
Cursor rule Cursor ✓ vendor
Pattern for creating shared plane packages that serve both migration and runtime planes.
Cursor rule Cursor ✓ vendor
Prefer whole-result-shape assertions with explicit select projections in sql-orm-client tests.
Cursor rule Cursor ✓ vendor
Name built-and-lowered SQL units "queries", not "asts".
Cursor rule Cursor ✓ vendor
Canonical import paths for SQL types.
Cursor rule Cursor ✓ vendor
Use codec-owned storage-type hooks for control-plane type behavior.
Cursor rule Cursor ✓ vendor
Test databases created via withDevDatabase() from @repo/test-utils use pglite (an in-memory PostgreSQL implementation via @prisma/dev). Pglite does not support PostgreSQL extensions like pgvector, pgtrgm, etc.
Cursor rule Cursor ✓ vendor
Test file organization and splitting guidelines.
Cursor rule Cursor ✓ vendor
Test import patterns and conventions.
Cursor rule Cursor ✓ vendor
Tests must be readable by context (BDD-style grouping).
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: