Reusable Zod schemas for safer TypeScript input.
Guides the creation of reusable TypeScript validation schemas that check untrusted input and handle errors.
When to use it
Use when defining TypeScript validation schemas, parsing untrusted input, or integrating Zod with React Hook Form.
It changes how the agent implements validation in the project, emphasizing explicit constraints, boundary coercion, reusable schemas, and inferred types.
What you provide
Requires the Zod library; the patterns use v4 APIs and must match the installed major version.
No additional actions listed.