Cursor rule Cursor ✓ vendor
A green check that would also pass with the defect present proves nothing — make every verification able to fail.
Cursor rule Cursor ✓ vendor
A green check that would also pass with the defect present proves nothing — make every verification able to fail.
Cursor rule Cursor ✓ vendor
Use Object.hasOwn() instead of hasOwnProperty().
Cursor rule Cursor ✓ vendor
Enforce omitting "should" in test descriptions.
Cursor rule Cursor ✓ vendor
Don't open one-line / chore PRs on their own; batch ancillary work into in-flight PRs.
Cursor rule Cursor ✓ vendor
PostgreSQL LATERAL and jsonagg rendering patterns.
Cursor rule Cursor ✓ vendor
Prefer assertions over defensive checks when data is guaranteed to be valid.
Cursor rule Cursor needs its repo ✓ vendor
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
Cursor rule Cursor ✓ vendor
Prefer object matchers over multiple individual expect().toBe() calls.
Cursor rule Cursor ✓ vendor
Lead with PSL examples in design docs; TS authoring surface mirrors or extends PSL.
Cursor rule Cursor ✓ vendor
Use expect().toThrow() instead of manual try/catch blocks in tests.
Cursor rule Cursor ✓ vendor
Standard patterns for working with Prisma 8 queries.
Cursor rule Cursor ✓ vendor
Read AGENTS.md for repo entrypoint and high-level constraints.
Cursor rule Cursor ✓ vendor
Internal input types use required keys typed | undefined, not optional keys.
Cursor rule Cursor ✓ vendor
How to resolve cyclic dependencies when moving types or refactoring packages.
Cursor rule Cursor ✓ vendor
Honor explicitly provided base branches in review artifacts.
Cursor rule Cursor ✓ vendor
How to run tests, check for failures, and rerun specific failing tests — use the :agent variants of slow commands.
Cursor rule Cursor ✓ vendor
Read the architecture overview first.
Cursor rule Cursor ✓ vendor
Pattern for creating shared plane packages that serve both migration and runtime planes.
Cursor rule Cursor ✓ vendor
Prefer whole-result-shape assertions with explicit select projections in sql-orm-client tests.
Cursor rule Cursor ✓ vendor
Name built-and-lowered SQL units "queries", not "asts".
Cursor rule Cursor ✓ vendor
Canonical import paths for SQL types.
Cursor rule Cursor ✓ vendor
Use codec-owned storage-type hooks for control-plane type behavior.
Cursor rule Cursor ✓ vendor
Test databases created via withDevDatabase() from @repo/test-utils use pglite (an in-memory PostgreSQL implementation via @prisma/dev). Pglite does not support PostgreSQL extensions like pgvector, pgtrgm, etc.
Cursor rule Cursor ✓ vendor
Test file organization and splitting guidelines.
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: