Cursor rule Cursor ✓ vendor
Import validation and package layering rules.
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
Prisma ORM is a Node.js and TypeScript database toolkit that lets applications work with databases through a programming interface instead of writing every query directly in SQL. Developers use it with databases including PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB, and CockroachDB. The catalogue add-ons provide agent rules, skills, hooks, agents, and other workflows for using Prisma.
This repository also configures its own agents. See what orm tells them →
Cursor rule Cursor ✓ vendor
Import validation and package layering rules.
Cursor rule Cursor ✓ vendor
Interface-based design with factory functions (keep classes private).
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.
Cursor rule Cursor ✓ vendor
Mermaid diagram compatibility guidelines for docs.
Cursor rule Cursor ✓ vendor
Patterns for refactoring large monolithic files into modular structures.
Cursor rule Cursor ✓ vendor
Use MongoDB aggregate instead of the obsolete find/findOne commands.
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.
Cursor rule Cursor needs its repo ✓ vendor
Guidelines for moving packages and updating relative paths.
Cursor rule Cursor ✓ vendor
Single package exposing migration/runtime/shared entrypoints via subpaths.
Cursor rule Cursor ✓ vendor
Guidelines for packages that span multiple planes.
Cursor rule Cursor ✓ vendor
Prefer clear wording for unrecognized extension namespaces.
Cursor rule Cursor ✓ vendor
Forbid hand-editing emitted contract fixtures (contract.json, contract.d.ts, expected.contract.json) — always regenerate via pnpm fixtures:emit.
Cursor rule Cursor ✓ vendor
Do not add backward-compatibility shims or migration scaffolding.
Cursor rule Cursor ✓ vendor
No bare as casts in production TypeScript. Use blindCast (value) from @internal/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.
Cursor rule Cursor needs its repo ✓ vendor
Avoid barrel files and unnecessary re-exports.
Cursor rule Cursor ✓ vendor
Never patch raw contract data in tests; use real emitted fixtures or a user-facing authoring surface.
Cursor rule Cursor ✓ vendor
Never edit the pnpm lockfile manually; use pnpm install.
Cursor rule Cursor ✓ vendor
The framework domain (packages/1-framework) carries no family- or target-specific vocabulary — types, fields, hooks, or strategy values — and, outside the CLI and the PSL parser's grammar names, no Prisma version name before 8. Enforced by the no-family-vocabulary Biome plugin plus lint:framework-vocabulary.
Cursor rule Cursor ✓ vendor
Prohibit inline type imports in source files.
Cursor rule Cursor ✓ vendor
Never use Linear's sub-issue (parentId) feature; use standalone issues with projects, milestones, relations, and labels instead.
Cursor rule Cursor ✓ vendor
Never add pullrequesttarget to GitHub Actions workflows; CI lint enforces it via scripts/lint-workflow-triggers.mjs.
Cursor rule Cursor ✓ vendor
Never branch on target - use adapters instead.
Cursor rule Cursor ✓ vendor
Avoid tautological tests that only restate fixture input.
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.
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: