zod-schema

Community

Standardize and reuse Zod schemas across FE/BE.

AuthorShockwave2k
Version1.0.0
Installs0

System Documentation

Zod is the single source of truth for validation and types across our stack. Backends use it for request/response validation. Frontends use it for form validation and for inferring types from shared schemas.

What problem does it solve?

Reuses and standardizes Zod schemas to prevent duplication, drift, and inconsistent validation rules across FE and BE.

Core Features & Use Cases

  • Reuse and standardize Zod schemas across frontend and backend.
  • Convert Zod to JSON Schema via @sinclair/typemap for Fastify integration.
  • Provide clear naming conventions and separation of input/output schemas to prevent leakage of server-only fields.

Quick Start

Import the shared Zod schema (e.g., ThingSchema) into your FE and BE code and reuse it everywhere.

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-schema
Download link: https://github.com/Shockwave2k/team-claude-skills/archive/main.zip#zod-schema

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.