TypeScript

SKILL.md

When to Use

User needs TypeScript expertise — from basic typing to advanced generics. Agent handles type narrowing, inference, discriminated unions, and strict mode patterns.

Quick Reference

Topic File
Generic patterns generics.md
Utility types utility-types.md
Declaration files declarations.md
Migration from JS migration.md

Stop Using any

  • unknown forces you to narrow before use — any silently breaks type safety
  • API responses: type them or use unknown, never any
  • When you don't know the type, that's unknown, not any
Installs
7
First Seen
Apr 25, 2026