--- name: lang-typescript description: "TypeScript language patterns and type safety rules. Extends core-coding-standards with TypeScript-specific rules. Use when writing TypeScript code." --- # Principles - Enable strict mode — no implicit any, strict null checks - Prefer discriminated unions over type assertions - Use `unknown` over `any` — narrow with type guards # Rules See `rules/` for detailed patterns.