TypeScript and React code quality rules — single source of truth, derived state, type safety without escape hatches, deep modules, minimal diffs, and React 19 / TanStack / Tailwind conventions. Use when writing, reviewing, or refactoring TypeScript, TSX, React, or Next.js code, i.e. load this on basically any TS work unless told not to.