zod-extract
Installation
SKILL.md
Zod Extract
Find Zod schemas defined outside validations/ and centralize them.
Instructions
- Search for Zod usage patterns outside
validations/directory - For each inline schema found:
- Determine the appropriate validation file (existing or new)
- Generate the export with proper naming
- Generate the inferred type export
- Update the original file to import from
validations/
- Update barrel export in
validations/index.ts
What to look for
Zod patterns outside validations/: