prisma/orm

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

48kStars on the repository
60Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

prisma/orm

Cursor rule Codex

A green check that would also pass with the defect present proves nothing — make every verification able to fail.

48k +7 yesterday A 0 tokens original Apache-2.0

object-hasown

50

prisma/orm

Cursor rule Codex

Use Object.hasOwn() instead of hasOwnProperty().

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

Enforce omitting "should" in test descriptions.

48k +7 yesterday A 148 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

Don't open one-line / chore PRs on their own; batch ancillary work into in-flight PRs.

48k +7 yesterday A 685 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

PostgreSQL LATERAL and jsonagg rendering patterns.

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

Prefer object matchers over multiple individual expect().toBe() calls.

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

Lead with PSL examples in design docs; TS authoring surface mirrors or extends PSL.

48k +7 yesterday A 437 tokens original Apache-2.0

prefer-to-throw

58

prisma/orm

Cursor rule Codex

Use expect().toThrow() instead of manual try/catch blocks in tests.

48k +7 yesterday A 0 tokens original Apache-2.0

query-patterns

59

prisma/orm

Cursor rule Codex

Standard patterns for working with Prisma Next queries.

48k +7 yesterday A 0 tokens original Apache-2.0

read-agents-md

60

prisma/orm

Cursor rule Codex

Read AGENTS.md for repo entrypoint and high-level constraints.

48k +7 yesterday A 31 tokens original Apache-2.0