prisma

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

prisma/orm

Cursor rule Cursor ✓ vendor

Test import patterns and conventions.

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

prisma/orm

Cursor rule Cursor ✓ vendor

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

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

prisma/orm

Cursor rule Cursor ✓ vendor

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

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

prisma/orm

Cursor rule Cursor ✓ vendor

Use tsdown dist root paths in TS test mappings.

not rated 48k +5 today A 10 tokens original Apache-2.0

prisma/orm

Cursor rule Cursor ✓ vendor

Extract TypeScript types from contract.d.ts and helpers.

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

type-predicates

79

prisma/orm

Cursor rule Cursor ✓ vendor

Replace blind casts with type predicates (type guards).

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

prisma/orm

Cursor rule Cursor ✓ vendor

Use typed Contract from fixtures in integration tests.

not rated 48k +5 changed 9d ago A 0 tokens original Apache-2.0

typescript-patterns

81

prisma/orm

Cursor rule Cursor ✓ vendor

TypeScript and architecture patterns for this codebase.

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

use-ast-factories

82

prisma/orm

Cursor rule Cursor ✓ vendor

Use factory functions for creating AST nodes instead of manual object creation.

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

prisma/orm

Cursor rule Cursor ✓ vendor

Use factory functions for creating ContractIR objects instead of manual object creation.

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

prisma/orm

Cursor rule Cursor ✓ vendor

Use coreHash() and profileHash() constructors instead of 'as never' casts for branded hash types.

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

use-if-defined

85

prisma/orm

Cursor rule Cursor ✓ vendor

Use ifDefined() for conditional object spreads.

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

use-pathe-for-paths

86

prisma/orm

Cursor rule Cursor ✓ vendor

Prefer pathe over node:path in TypeScript files.

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

prisma/orm

Cursor rule Cursor ✓ vendor

The toMatchTypeOf() matcher has been deprecated in Vitest's expectTypeOf API.

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

prisma/orm

Cursor rule Cursor ✓ vendor

Cannot find module '@internal/' (ERRMODULENOTFOUND) is a build/install-state issue, not a code bug — verify with require.resolve (pnpm links per-consumer, not repo root), then pnpm build (stale dist) / pnpm install (new dep).

not rated 48k +5 today A 254 tokens original Apache-2.0

build

90

prisma/orm

Cursor rule Cursor ✓ vendor

Build all packages via Turbo.

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

coverage-packages

91

prisma/orm

Cursor rule Cursor ✓ vendor

Run coverage for packages only.

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

demo

92

prisma/orm

Cursor rule Cursor ✓ vendor

Run the Todo example end-to-end demo.

not rated 48k +5 today A 8 tokens original Apache-2.0

lint-deps

93

prisma/orm

Cursor rule Cursor ✓ vendor

Validate package layering and import rules.

not rated 48k +5 today A 6 tokens original Apache-2.0

test-packages

94

prisma/orm

Cursor rule Cursor ✓ vendor

Run tests for packages only.

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

adr-review

95

prisma/orm

Skill Claude CodeCodex ✓ vendor

Review one or more ADRs with fresh eyes (as a team member without prior context), identify narrative and structural issues, then rewrite them. Use when the user asks to review, improve, rewrite, or take a fresh-eyes pass on an ADR or a set of ADRs (Architecture Decision Records).

not rated 48k +5 today A Snyk: passSkillSpector: pass 64 tokens original Apache-2.0

ast-visitor-pattern

96

prisma/orm

Skill Claude CodeCodex ✓ vendor

Use the frozen-class/visitor pattern for discriminated unions that have multiple dispatch sites. Use when creating a new set of variants (commands, IR nodes, factory calls) that will be switched over in 2+ places, or when refactoring an existing union type that has grown multiple switch sites.

not rated 48k +5 today A Snyk: passSkillSpector: pass 65 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: