Lightlines
By giuseppe-trisciuoglio

zod-validation-utilities

giuseppe-trisciuoglio3.6k installs

Reusable Zod schemas for safer TypeScript input.

What it does

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.

How to use it

It changes how the agent implements validation in the project, emphasizing explicit constraints, boundary coercion, reusable schemas, and inferred types.

What you provide

  • An existing project

Latest review

What you need · 1

Requires the Zod library; the patterns use v4 APIs and must match the installed major version.


Access · 0

No additional actions listed.