Cursor rule Codex
On-disk layout for packages that expose a contract space (extensions, internal monorepo packages, aggregate-root apps).
Cursor rule Codex
On-disk layout for packages that expose a contract space (extensions, internal monorepo packages, aggregate-root apps).
Cursor rule Codex
Control plane descriptor and instance implementation patterns.
Cursor rule Codex
Review markdown in Cursor — path-only file links (no :line in link targets).
Cursor rule Codex
Prefer declarative configuration over hardcoded logic.
Cursor rule Codex
Directory layout rules for SQL family vs concrete targets.
Cursor rule Codex
Keep documentation and READMEs accurate and updated.
Cursor rule Codex
Prefer requiring explicit opt-in over emitting diagnostics on intentional user paths.
Cursor rule Codex
Family instance domain action implementation patterns.
Cursor rule Codex
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.
Cursor rule Codex
Generic parameter defaults (avoid pointless defaults).
Cursor rule Codex
Git commit best practices - avoid git add -A, stage files explicitly, always sign off.
Cursor rule Codex
Import validation and package layering rules.
Cursor rule Codex
Interface-based design with factory functions (keep classes private).
Cursor rule Codex
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 Codex
Mermaid diagram compatibility guidelines for docs.
Cursor rule Codex
Patterns for refactoring large monolithic files into modular structures.
Cursor rule Codex
Use MongoDB aggregate instead of the obsolete find/findOne commands.
Cursor rule Codex
When adding mongodb-memory-server (MMS) to a package or writing tests that use it, follow these rules to prevent CI failures.
Cursor rule Codex
Guidelines for moving packages and updating relative paths.
Cursor rule Codex
Single package exposing migration/runtime/shared entrypoints via subpaths.
Cursor rule Codex
Guidelines for packages that span multiple planes.
Cursor rule Codex
Prefer clear wording for unrecognized extension namespaces.
Cursor rule Codex
Forbid hand-editing emitted contract fixtures (contract.json, contract.d.ts, expected.contract.json) — always regenerate via pnpm fixtures:emit.
Cursor rule Codex
Do not add backward-compatibility shims or migration scaffolding.