What problem does it solve? Writing TypeScript that is merely valid is easy, but writing type-safe, maintainable TypeScript requires discipline. This Skill encodes proven conventions from "Effective TypeScript" and the TypeScript Handbook so generated code avoids common pitfalls like unsafe any usage, non-exhaustive switch handling, and implicit return types. ## Core Features & Use Cases - Type Safety Rules: Enforces explicit return types on exports, unknown over any, and discriminated unions for result types. - Idiomatic Patterns: Provides const assertions, exhaustive checks with never, and branded types for domain safety. - Project Conventions: Standardizes barrel exports, separate type imports, and flags anti-patterns like unjustified as assertions and enums. - Use Case: When asking an AI to implement a new service module, this Skill ensures the output uses discriminated union result types, exhaustive error handling, and clean barrel exports matching your codebase style. ## Quick Start Write a TypeScript user service with type-safe error handling following the typescript skill conventions.