zod-extract

Community

Centralize inline Zod schemas into validations.

Authorcerico
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Find inline Zod schemas defined outside validations/ and centralize them.

Core Features & Use Cases

  • Detects inline Zod schemas across a TypeScript project.
  • Creates or updates validations/[entity].ts files and exports types.
  • Updates imports and barrel exports in validations/index.ts to point to centralized schemas.

Quick Start

Run zod-extract on your TypeScript codebase to move all inline Zod schemas into the validations directory and update references accordingly.

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-extract
Download link: https://github.com/cerico/macfair/archive/main.zip#zod-extract

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.