josechifflet-typescript
Installation
SKILL.md
TypeScript Patterns
Purpose
Provide opinionated TypeScript patterns for Next.js 16 + tRPC v11 applications emphasizing end-to-end type safety, type inference over manual typing, minimal type assertions, and strict compiler settings. Focus on deriving types from runtime sources (Zod, Drizzle, tRPC) for single source of truth.
When To Use This Skill
Type Derivation:
- Derive UI types from tRPC RouterOutputs
- Extract mutation input types from RouterInputs
- Infer types from Zod schemas using z.infer<>
- Generate types from Drizzle schemas
- Create utility types for domain models