What problem does it solve? TypeScript codebases drift into inconsistent patterns: enums mixed with unions, any leaking through boundaries, exceptions thrown for expected failures, and abstractions larger than the problems they solve. This Skill provides a single opinionated style guide so agents and developers write, design, and review strict, portable TypeScript consistently. ## Core Features & Use Cases - Core rules and idioms: Covers erasable TypeScript, string-literal and discriminated unions, Zod boundary validation, errors-as-values with Result<T,E>, dependency injection, and naming conventions, with copy-paste-ready code patterns. - Pre-finish checklist: A structured rubric for language, types, architecture, errors, and hygiene to run before declaring implementation or review work done. - Deep references and case studies: Conditional-loading guides for backend-neutral abstractions, stateful workflow loops, plugin/extension systems, terminal UIs, error handling, and review taste. - Use Case: When reviewing a PR that scatters if (backend.includes("x")) checks and throws on validation failures, load this Skill to get concrete review wording and the correct patterns: capability flags resolved once, and expected failures returned as typed values. ## Quick Start Ask the agent to review your TypeScript module against the typescript-style guide and apply its core rules and checklist before finishing.