Cursor rule Cursor ✓ vendor
Test import patterns and conventions.
Cursor rule Cursor ✓ vendor
Test import patterns and conventions.
Cursor rule Cursor ✓ vendor
Tests must be readable by context (BDD-style grouping).
Cursor rule Cursor ✓ vendor
Test-only type assertions and mocking patterns (avoid brittle mocks).
Cursor rule Cursor ✓ vendor
Keep @repo/tsdown source-only exports.
Cursor rule Cursor ✓ vendor
Use tsdown dist root paths in TS test mappings.
Cursor rule Cursor ✓ vendor
Extract TypeScript types from contract.d.ts and helpers.
Cursor rule Cursor ✓ vendor
Replace blind casts with type predicates (type guards).
Cursor rule Cursor ✓ vendor
Use typed Contract from fixtures in integration tests.
Cursor rule Cursor ✓ vendor
TypeScript and architecture patterns for this codebase.
Cursor rule Cursor ✓ vendor
Use factory functions for creating AST nodes instead of manual object creation.
Cursor rule Cursor ✓ vendor
Use factory functions for creating ContractIR objects instead of manual object creation.
Cursor rule Cursor ✓ vendor
Use coreHash() and profileHash() constructors instead of 'as never' casts for branded hash types.
Cursor rule Cursor ✓ vendor
Use ifDefined() for conditional object spreads.
Cursor rule Cursor ✓ vendor
Prefer pathe over node:path in TypeScript files.
Cursor rule Cursor ✓ vendor
Use shared timeout helpers in tests.
Cursor rule Cursor ✓ vendor
The toMatchTypeOf() matcher has been deprecated in Vitest's expectTypeOf API.
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).
Cursor rule Cursor ✓ vendor
Build all packages via Turbo.
Cursor rule Cursor ✓ vendor
Run coverage for packages only.
Cursor rule Cursor ✓ vendor
Run the Todo example end-to-end demo.
Cursor rule Cursor ✓ vendor
Validate package layering and import rules.
Cursor rule Cursor ✓ vendor
Run tests for packages only.
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).
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.
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: