zod-schema-creation

Official

Create robust Zod schemas with i18n support.

Authorteocrafters
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers create Zod validation schemas with i18n integration for API request validation, ensuring consistent, localized error handling and strong typed inputs.

Core Features & Use Cases

  • Factory-pattern schema creation: a reusable function that accepts a translation function t and returns a Zod schema for a resource.
  • i18n-compliant errors: all validation messages reference translation keys rather than hard-coded strings.
  • Type export: exports a TypeScript type via z.infer<ReturnType<typeof createSchema>> for strong typing in API routes.

Quick Start

Create a Zod validation schema with i18n-aware error messages for a given resource.

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-creation
Download link: https://github.com/teocrafters/public-talk-planner/archive/main.zip#zod-schema-creation

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.