Lightlines
By secondsky

zod

secondsky629 installs

Safer TypeScript data validation with Zod.

What it does

Guides implementation of Zod validation schemas with inferred TypeScript types and error handling.

When to use it

Use when implementing validation for API requests and responses, forms, environment variables, or configuration.

How to use it

It changes how the agent writes and reviews production Zod validation code in the project.

What you provide

  • An existing project

Uses

Latest review

What you need · 2

The guide requires Zod 4.x, recommends 4.4.x, and notes that z.codec() requires 4.1 or later.

Requires TypeScript 5.5 or later with strict mode enabled in tsconfig.json.


Access · 1

This skill

https://www.npmjs.com/package/zod

Read

Checks Zod versions on npm