prisma

270 mods in 3 plugins, 8 repositories, 49k stars between them.

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +5 today A 0 tokens original Apache-2.0

object-hasown

50

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Enforce omitting "should" in test descriptions.

not rated 48k +5 today A 148 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +5 today A 685 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

PostgreSQL LATERAL and jsonagg rendering patterns.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Prefer assertions over defensive checks when data is guaranteed to be valid.

not rated 48k +5 changed today A 0 tokens original Apache-2.0

prisma/orm

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.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +5 today A 437 tokens original Apache-2.0

prefer-to-throw

58

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +5 today A 0 tokens original Apache-2.0

query-patterns

59

prisma/orm

Cursor rule Cursor ✓ vendor

Standard patterns for working with Prisma 8 queries.

not rated 48k +5 changed 1mo ago A 0 tokens original Apache-2.0

read-agents-md

60

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +5 today A 31 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Internal input types use required keys typed | undefined, not optional keys.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

How to resolve cyclic dependencies when moving types or refactoring packages.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Honor explicitly provided base branches in review artifacts.

not rated 48k +5 today A 8 tokens original Apache-2.0

running-tests

64

prisma/orm

Cursor rule Cursor ✓ vendor

How to run tests, check for failures, and rerun specific failing tests — use the :agent variants of slow commands.

not rated 48k +5 changed 9d ago A 916 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Read the architecture overview first.

not rated 48k +5 today A 51 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Pattern for creating shared plane packages that serve both migration and runtime planes.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Prefer whole-result-shape assertions with explicit select projections in sql-orm-client tests.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Name built-and-lowered SQL units "queries", not "asts".

not rated 48k +5 today A 445 tokens original Apache-2.0

sql-types-imports

69

prisma/orm

Cursor rule Cursor ✓ vendor

Canonical import paths for SQL types.

not rated 48k +5 today A 0 tokens original Apache-2.0

storage-type-hooks

70

prisma/orm

Cursor rule Cursor ✓ vendor

Use codec-owned storage-type hooks for control-plane type behavior.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

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.

not rated 48k +5 today A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Test file organization and splitting guidelines.

not rated 48k +5 today A 0 tokens original Apache-2.0

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: