typescript

Installation
SKILL.md

Google TypeScript Style Guide

Official Google TypeScript coding standards for consistent, maintainable code.

Golden Rules

  1. Use TypeScript strictly — enable strict mode in tsconfig.json
  2. Prefer interfaces over type aliases for object shapes
  3. Never use any — use unknown when type is truly unknown
  4. Use const by default, let when reassignment needed, never var
  5. Avoid non-null assertions (!) — handle nullability explicitly
  6. Use explicit return types on public functions and methods
  7. Prefer readonly for properties that should not change

Quick Reference

Naming Conventions

Installs
24
GitHub Stars
11
First Seen
May 11, 2026