·zod-validation
{}

zod-validation

Zod v4 schema validation for TypeScript. Covers primitives, string formats, objects, arrays, unions, coercion, transforms, refinements, parsing, type inference, error customization, JSON Schema, file validation, and metadata. Use when writing schemas, validating input, parsing data, inferring types, or converting schemas with Zod.

25Installs·1Trend·@oakoss

Installation

$npx skills add https://github.com/oakoss/agent-skills --skill zod-validation

How to Install zod-validation

Quickly install zod-validation AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/oakoss/agent-skills --skill zod-validation
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: oakoss/agent-skills.

SKILL.md

View raw

Type-safe schema validation for TypeScript. Zod v4 introduces top-level format functions, z.stringbool(), z.iso. date formats, z.overwrite() transforms, z.file(), z.toJSONSchema(), getter-based recursive types, .meta(), and the unified error function.

| z.object({ ... }) | Define object schemas | | z.string(), z.number() | Primitive types | | z.email(), z.url(), z.uuid() | Top-level string formats (v4) | | z.iso.date(), z.iso.datetime() | ISO date/time formats (v4) | | z.int(), z.float32(), z.int32() | Fixed-width number formats (v4) | | z.templateLiteral([...]) | Template literal type validation (v4) |

| z.enum([...]), z.literal() | Enums and literals | | z.union([...]), z.discriminatedUnion() | Union types | | z.array(), z.tuple() | Array and tuple types | | z.record(), z.map() | Key-value collections | | .optional(), .nullable() | Optional and nullable modifiers | | .default(), .catch() | Default values and fallbacks |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/oakoss/agent-skills --skill zod-validation
Category
{}Data Analysis
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from oakoss/agent-skills

Quick answers

What is zod-validation?

Zod v4 schema validation for TypeScript. Covers primitives, string formats, objects, arrays, unions, coercion, transforms, refinements, parsing, type inference, error customization, JSON Schema, file validation, and metadata. Use when writing schemas, validating input, parsing data, inferring types, or converting schemas with Zod. Source: oakoss/agent-skills.

How do I install zod-validation?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/oakoss/agent-skills --skill zod-validation Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/oakoss/agent-skills