What problem does it solve? TypeScript codebases drift into inconsistent patterns for imports, exports, naming, type usage, and error handling, making code harder to review and maintain. This Skill encodes Google's TypeScript Style Guide so an agent can write and review TypeScript against a single authoritative set of conventions. ## Core Features & Use Cases - Module and import conventions: Enforces named exports, ES6 module syntax, relative import paths, and bans namespaces, default exports, and mutable exports. - Type-system guidance: Covers type inference, interfaces over type aliases, unknown over any, avoiding {} and wrapper types, and safe handling of type and non-nullability assertions. - Code quality rules: Covers const/let usage, readonly properties, accessor rules, switch statement defaults, strict equality, throwing only Error subclasses, and JSDoc documentation of top-level exports. - Use Case: While reviewing a pull request that adds a new TypeScript service, the agent flags a default export, a var declaration, and an as Foo assertion on an object literal, and suggests the compliant alternatives. ## Quick Start Review this TypeScript file using the google-typescript-style skill and list every violation of Google's TypeScript style conventions.