type-driven-zod-boundaries

Community

Type-safe boundary schemas with Zod.

Authortheodrosyimer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps developers enforce type-safe boundary contracts by pairing plain TypeScript domain types with Zod boundary schemas, ensuring a clean separation between business rules and external input validation.

Core Features & Use Cases

  • Boundary schemas validate external input at module edges and derive boundary types automatically with z.infer.
  • Operation-specific schemas (Create/Update) provide structured input for use cases without duplicating fields.
  • Form integration guidance and sample schemas support UI frameworks like React Hook Form.
  • Schema evolution guidance covers additive changes and versioned migrations to keep backwards compatibility.

Quick Start

Define your domain types as plain TypeScript, create Zod boundary schemas using zod/v4, and derive boundary types with z.infer to parse incoming data at the boundary.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: type-driven-zod-boundaries
Download link: https://github.com/theodrosyimer/.dotfiles/archive/main.zip#type-driven-zod-boundaries

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 471,000+ vetted skills library on demand.