Schema validation with Zod
Created by CodeCraft LLCBuild, advise on, and review runtime validation with Zod
Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.
by Jace (@jamick)v1.0.1 · updated 2026-10-03Report copyright infringement
Description
Build, advise on, and review runtime validation with Zod — schemas at trust boundaries (API inputs, Server Actions, route handlers, env vars, forms, webhooks, LLM output), parse vs safeParse, type inference (z.infer/z.input/z.output), coercion and transforms, refinements, discriminated unions, error formatting (z.treeifyError/z.flattenError/z.prettifyError), Zod 4 API changes from v3, zod/mini, and JSON Schema export. Use whenever zod is in package.json, code imports from "zod", the user validates input or env vars, types an API response, or hits Zod 3→4 migration errors — even if they just say "validate this form" or "make sure this payload is safe".
Included with all-access
$5.00 value as a single download
AiSkillz is in preview: browse the catalogue now - skill downloads and subscriptions open soon.
All skills are included with the all-access subscription
Changelog
v1.0.1Oct 3, 2026Latest
Changed
- Renamed the title to describe what the skill does with the product, so it doesn't read as an official or endorsed edition.
- Added a trademark notice to the README.
v1.0.0Oct 2, 2026
Added
- First release.