prisma

192 mods across 8 repositories, 48k stars between them.

prisma/orm

Cursor rule Codex

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

48k +7 yesterday A 0 tokens original Apache-2.0

object-hasown

50

prisma/orm

Cursor rule Codex

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

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

Enforce omitting "should" in test descriptions.

48k +7 yesterday A 148 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

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

48k +7 yesterday A 685 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

PostgreSQL LATERAL and jsonagg rendering patterns.

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

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

48k +7 yesterday A 0 tokens original Apache-2.0

prisma/orm

Cursor rule Codex

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

48k +7 yesterday A 437 tokens original Apache-2.0

prefer-to-throw

58

prisma/orm

Cursor rule Codex

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

48k +7 yesterday A 0 tokens original Apache-2.0

query-patterns

59

prisma/orm

Cursor rule Codex

Standard patterns for working with Prisma Next queries.

48k +7 yesterday A 0 tokens original Apache-2.0

read-agents-md

60

prisma/orm

Cursor rule Codex

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

48k +7 yesterday A 31 tokens original Apache-2.0

adr-writing

62

prisma/prisma-next

Cursor rule Codex

ADR writing guidelines (clarity, flow, examples).

421 7d ago A 0 tokens copy · 88% Apache-2.0 archived

arktype-usage

63

prisma/prisma-next

Cursor rule Codex

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

421 7d ago A 0 tokens copy · 100% Apache-2.0 archived

prisma/prisma-next

Cursor rule Codex

Cursor rule "as-contract-cast-smell" from prisma/prisma-next, covering as contract casts are a serializer-bypass smell, the smell, the fix, lint scope and where the cast is allowed (allowlist).

421 7d ago A 0 tokens copy · 100% Apache-2.0 archived

prisma/prisma-next

Cursor rule Codex

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

421 7d ago A 273 tokens copy · 100% Apache-2.0 archived