zod-v4-patterns

Community

Enforce Zod v4 patterns consistently.

Authorjchaselubitz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures consistent adoption of Zod v4 patterns across the codebase, preventing usage of deprecated v3 syntax and ambiguities in validation behavior.

Core Features & Use Cases

  • Enforces v4 syntax across schemas, forms, and API validators.
  • Replaces v3 patterns (e.g., message/invalid_type_error) with the v4 error option for clearer messages.
  • Supports top-level validators (z.email, z.uuid, z.url) and strict object construction (z.strictObject) for robust schemas.
  • Provides migration guidance and best practices for extending and composing schemas with .extend() and refinements.

Quick Start

Apply Zod v4 pattern rules to all schemas in the project.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: zod-v4-patterns
Download link: https://github.com/jchaselubitz/drill-app/archive/main.zip#zod-v4-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.