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

Interface-based design with factory functions (keep classes private).

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

jsdoc-line-width

26

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Wrap JSDoc / block-comment prose at the same line width as the biome formatter (currently 100). Markdown is exempt — see the markdown-no-artificial-line-wraps skill.

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

mermaid-compat

27

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Mermaid diagram compatibility guidelines for docs.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Patterns for refactoring large monolithic files into modular structures.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Use MongoDB aggregate instead of the obsolete find/findOne commands.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

When adding mongodb-memory-server (MMS) to a package or writing tests that use it, follow these rules to prevent CI failures.

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

moving-packages

31

prisma/prisma-next

Cursor rule Cursor needs its repo ✓ vendor

Guidelines for moving packages and updating relative paths.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Single package exposing migration/runtime/shared entrypoints via subpaths.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Guidelines for packages that span multiple planes.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Prefer clear wording for unrecognized extension namespaces.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Forbid hand-editing emitted contract fixtures (contract.json, contract.d.ts, expected.contract.json) — always regenerate via pnpm fixtures:emit.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Do not add backward-compatibility shims or migration scaffolding.

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

no-bare-casts

37

prisma/prisma-next

Cursor rule Cursor ✓ vendor

No bare as casts in production TypeScript. Use blindCast (value) from @prisma-next/utils/casts as the auditable escape hatch, castAs (value) for declarative-only assertions, or rewrite to eliminate the cast. as const is exempt. Test files are exempt.

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

no-barrel-files

38

prisma/prisma-next

Cursor rule Cursor needs its repo ✓ vendor

Avoid barrel files and unnecessary re-exports.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Never patch raw contract data in tests; use real emitted fixtures or a user-facing authoring surface.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Never edit the pnpm lockfile manually; use pnpm install.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

The framework domain (packages/1-framework) carries no family- or target-specific vocabulary — types, fields, hooks, or strategy values. Enforced by lint:framework-vocabulary.

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

no-inline-imports

42

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Prohibit inline type imports in source files.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Never use Linear's sub-issue (parentId) feature; use standalone issues with projects, milestones, relations, and labels instead.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Never add pullrequesttarget to GitHub Actions workflows; CI lint enforces it via scripts/lint-workflow-triggers.mjs.

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

no-target-branches

45

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Never branch on target - use adapters instead.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Avoid tautological tests that only restate fixture input.

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

prisma/prisma-next

Cursor rule Cursor ✓ vendor

Forbid encoding transient project planning IDs (T1.1, TC-7, AC4, P3 R2, CKPT-2, etc.) in source code, comments, test names, identifiers, or hash fixtures.

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

object-hasown

48

prisma/prisma-next

Cursor rule Cursor ✓ vendor

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

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: