prisma/prisma-next

⛔ Moved to prisma/prisma — Prisma Next development continues there under the name Prisma ORM v8. This repository is archived.

This repository also configures its own agents. See what prisma-next tells them →

407Stars on the repository
130Mods indexed here, across every type
5d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Enforce omitting "should" in test descriptions.

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

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

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

56

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

57

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

58

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

61

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

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

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

66

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

67

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

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

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: