What problem does it solve?
Zod best practices help developers build robust schemas, catch invalid data at boundaries, and maintain strong type safety in TypeScript apps.
Core Features & Use Cases
- Comprehensive guidance across categories like Schema Definition, Parsing & Validation, Type Inference, Error Handling, Object Schemas, Schema Composition, Refinements & Transforms, and Performance.
- Promotes safeParse usage, z.infer, discriminated unions, precise error reporting, and consistent error maps for multi-language UX.
- Provides actionable patterns for production-grade validation and scalable data validation at API boundaries.
Quick Start
Read the quick reference in SKILL.md and the full compiled guide in AGENTS.md, then start applying the top-priority Zod practices to your schemas.