api-contracts-and-zod-validation
CommunityZod schemas & TS types for API contracts
Software Engineering#typescript#validation#zod#server-actions#api-contracts#runtime-validation#form-validation
Authorhopeoverture
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill generates Zod schemas and TypeScript types for forms, API routes, and Server Actions, enabling runtime validation and strong type safety across client-server boundaries.
Core Features & Use Cases
- Generate Zod schemas from TS types: ensures bidirectional type compatibility with TypeScript.
- Form validation schemas: creates validation for React Hook Form, Formik, or native forms.
- API Route and Server Action validation: adds runtime validation at API boundaries.
- Schema generation script: automates TS <-> Zod schema generation for maintainability.
Quick Start
Define your TypeScript interfaces, then run the generation script: python scripts/generate_zod_schema.py --input types/entities.ts --output schemas/entities.ts
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 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: api-contracts-and-zod-validation Download link: https://github.com/hopeoverture/worldbuilding-app-skills/archive/main.zip#api-contracts-and-zod-validation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.