prisma

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

adr-writing

01

prisma/orm

Cursor rule Cursor ✓ vendor

ADR writing guidelines (clarity, flow, examples).

not rated 48k +99 changed 2d ago A 0 tokens original Apache-2.0

arktype-usage

02

prisma/orm

Cursor rule Cursor ✓ vendor

When you would otherwise reach for Zod, use Arktype. Read this any time you need to work with Arktype.

not rated 48k +99 changed 2mo ago A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

// ❌ WRONG — bypasses the family ContractSerializer seam const contract = JSON.parse(raw) as Contract; const contract = JSON.parse(raw) as Contract .

not rated 48k +99 changed 2d ago A 937 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Don't use the word "cleavage" in docs, ADRs, specs, plans, READMEs, or commit messages.

not rated 48k +99 today A 273 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Classify CI failures from evidence before acting — install state first, controls that can fail, known flake fingerprints.

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

prisma/orm

Cursor rule Cursor ✓ vendor

Patterns for CLI e2e tests using shared fixture app.

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

cli-error-handling

07

prisma/orm

Cursor rule Cursor ✓ vendor

CLI command error handling patterns.

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

cli-package-exports

08

prisma/orm

Cursor rule Cursor ✓ vendor

CLI package export patterns and import conventions.

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

prisma/orm

Cursor rule Cursor ✓ vendor

Avoid committing generated CLI test fixtures.

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

prisma/orm

Cursor rule Cursor ✓ vendor

Config validation and normalization responsibilities (defineConfig normalizes, the orm section schema validates and resolves paths, the loader reports per-section diagnostics).

not rated 48k +99 changed 2mo ago A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Validate emitted column default values.

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

prisma/orm

Cursor rule Cursor ✓ vendor

On-disk layout for packages that expose a contract space (extensions, internal monorepo packages, aggregate-root apps).

not rated 48k +99 changed yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Control plane descriptor and instance implementation patterns.

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

prisma/orm

Cursor rule Cursor ✓ vendor

Review markdown in Cursor — path-only file links (no :line in link targets).

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

declarative-config

15

prisma/orm

Cursor rule Cursor ✓ vendor

Prefer declarative configuration over hardcoded logic.

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

directory-layout

16

prisma/orm

Cursor rule Cursor ✓ vendor

Directory layout rules for families vs concrete targets.

not rated 48k +99 changed 11d ago A 0 tokens original Apache-2.0

doc-maintenance

17

prisma/orm

Cursor rule Cursor ✓ vendor

Keep documentation and READMEs accurate and updated.

not rated 48k +99 changed 2d ago A 901 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Prefer requiring explicit opt-in over emitting diagnostics on intentional user paths.

not rated 48k +99 today A 730 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor needs its repo ✓ vendor

Family instance domain action implementation patterns.

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

prisma/orm

Cursor rule Cursor ✓ vendor

A review comment names a class of defect, not a point-fix. Sweep the whole diff for the class before replying; fix every instance in one round.

not rated 48k +99 today A 403 tokens original Apache-2.0

generic-parameters

21

prisma/orm

Cursor rule Cursor ✓ vendor

Generic parameter defaults (avoid pointless defaults).

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

git-staging

22

prisma/orm

Cursor rule Cursor ✓ vendor

Git commit best practices - avoid git add -A, stage files explicitly, always sign off.

not rated 48k +99 today A 744 tokens original Apache-2.0

import-validation

23

prisma/orm

Cursor rule Cursor ✓ vendor

Import validation and package layering rules.

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

prisma/orm

Cursor rule Cursor ✓ vendor

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

not rated 48k +99 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: