zod-best-practices
Installation
SKILL.md
Zod Best Practices
[!IMPORTANT] Apply the
codebase-architecture:code-styleprinciples to Zod: treat a schema as the owned contract at an untrusted data boundary that defines accepted wire values, produces trusted domain values, and makes invalid input an explicit, intentional outcome.
Library Sources
- GitHub repository ID:
colinhacks/zod - Context7 library ID:
/colinhacks/zod - DeepWiki repository ID:
colinhacks/zod
Use Context7 for current documentation and DeepWiki for implementation details.
References
Read the references that apply to the current task before defining or reviewing Zod schemas and parsing code.