zod
Installation
SKILL.md
Zod Schema Validation
TypeScript-first schema declaration and validation library with static type inference.
Why Zod
- Zero dependencies, 2kb gzipped
- Works in Node.js and browsers
- Immutable API - methods return new instances
- Static type inference - no redundant type declarations
- JSON Schema conversion built-in
Requirements
- TypeScript v5.5+
- Enable
strictmode in tsconfig.json