typescript-patterns

Installation
SKILL.md

TypeScript Patterns Standards

Standards for TypeScript type definitions, runtime validation with Zod, generics, and type safety patterns.

When to Use

Use these standards when:

  • Defining types, interfaces, or type aliases
  • Validating API responses or user input
  • Creating generic functions or components
  • Implementing state machines or reducers
  • Writing type guards or utility types
  • Ensuring type safety at runtime

Core Principles

Zero Tolerance for any

Never use any type. Use unknown with type guards or generics instead.

Installs
1
GitHub Stars
3
First Seen
Apr 22, 2026