prisma

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 685 tokens copy · 100% Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

PostgreSQL LATERAL and jsonagg rendering patterns.

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

prisma/prisma-next

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 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

prefer-object-matcher

173

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 437 tokens copy · 100% Apache-2.0 archived

prefer-to-throw

175

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

query-patterns

176

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Standard patterns for working with Prisma Next queries.

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

read-agents-md

177

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 31 tokens copy · 100% Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 0 tokens original Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Honor explicitly provided base branches in review artifacts.

not rated 407 +2 5d ago A 8 tokens copy · 92% Apache-2.0 archived

running-tests

180

prisma/prisma-next

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 407 +2 5d ago A 899 tokens copy · 100% Apache-2.0 archived

shared-plane-packages

182

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 0 tokens copy · 91% Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

sql-queries-not-asts

184

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 445 tokens copy · 100% Apache-2.0 archived

sql-types-imports

185

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Canonical import paths for SQL types.

not rated 407 +2 5d ago A 0 tokens original Apache-2.0 archived

storage-type-hooks

186

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Test databases created via withDevDatabase() from @prisma-next/test-utils use pglite (an in-memory PostgreSQL implementation via @prisma/dev). Pglite does not support PostgreSQL extensions like pgvector, pgtrgm, etc.

not rated 407 +2 5d ago A 0 tokens copy · 97% Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Test file organization and splitting guidelines.

not rated 407 +2 5d ago A 0 tokens copy · 97% Apache-2.0 archived

test-import-patterns

189

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Test import patterns and conventions.

not rated 407 +2 5d ago A 0 tokens copy · 89% Apache-2.0 archived

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Tests must be readable by context (BDD-style grouping).

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

test-mocking-patterns

191

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Test-only type assertions and mocking patterns (avoid brittle mocks).

not rated 407 +2 5d ago A 0 tokens copy · 100% Apache-2.0 archived

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: