Agent Skills: Zod Documentation

Local Zod documentation reference. Use when asked about Zod schema validation, TypeScript type inference, parsing, error handling, JSON Schema conversion, or schema composition.

UncategorizedID: jokejason/local-context7/zod-docs

Install this agent skill to your local

pnpm dlx add-skill https://github.com/jasonz-ncc42/local-context7/tree/HEAD/dotfiles/codex/skills/zod-docs

Skill Files

Browse the full folder contents for zod-docs.

Download Skill

Loading file tree…

dotfiles/codex/skills/zod-docs/SKILL.md

Skill Metadata

Name
zod-docs
Description
Local Zod documentation reference. Use when asked about Zod schema validation, TypeScript type inference, parsing, error handling, JSON Schema conversion, or schema composition.

Zod Documentation

Zod is a TypeScript-first schema declaration and validation library with static type inference. It enables developers to define schemas that validate data at runtime while automatically inferring TypeScript types.

Quick Reference

| File | Title | Description | |------|-------|-------------| | index.mdx | Intro | Introduction to Zod - TypeScript-first schema validation library with static type inference | | basics.mdx | Basic usage | Basic usage guide covering schema definition, parsing data, error handling, and type inference | | api.mdx | Defining schemas | Complete API reference for all Zod schema types, methods, and validation features | | codecs.mdx | Codecs | Bidirectional transformations with encode and decode | | ecosystem.mdx | Ecosystem | Overview of the Zod ecosystem including integrations, tools, and community resources | | error-customization.mdx | Customizing errors | Guide to customizing validation error messages and error handling patterns | | error-formatting.mdx | Formatting errors | Utilities for formatting and displaying Zod errors | | json-schema.mdx | JSON Schema | How to convert Zod schemas to JSON Schema | | library-authors.mdx | For library authors | Guidelines and best practices for library authors integrating with Zod | | metadata.mdx | Metadata and registries | Attaching and manipulating metadata on Zod schemas | | packages/core.mdx | Zod Core | Zod Core package - minimal core functionality for custom implementations | | packages/mini.mdx | Zod Mini | Zod Mini - a tree-shakable Zod | | packages/zod.mdx | Zod | Internals and structure of the Zod library |

When to use

Use this skill when the user asks about:

  • Zod schema validation
  • TypeScript type inference from schemas
  • Data parsing and validation
  • Error handling and custom error messages
  • JSON Schema conversion
  • Schema composition (merge, extend, pick, omit)
  • Codecs and bidirectional transformations
  • Zod Mini for smaller bundle sizes

How to find information

  1. Check the Quick Reference table above for the relevant file
  2. Read the file from references/{filename}