Apply when creating or editing TypeScript (.ts) files or shared TypeScript modules. Enforces typed, modular, readable code with strict formatting, naming, imports, configuration, validation, error handling, async patterns, and separation of concerns. This is a concise summary of…
Use SCIP (Semantic Code Intelligence Protocol) via the scip CLI to find symbol definitions, references, signatures, and audit Code Rules compliance without reading files. Prefer SCIP over grep for any question that is about a symbol, type, reference, or file structure.
Use ts-inspect for exact TypeScript semantic type information (parameters, return types, properties, signatures, definitions, type at a location) instead of reading many source files or guessing from call sites.