What problem does it solve? Writing runtime validation logic and TypeScript types separately creates duplication and drift. This Skill helps you define a single Zod schema that validates data at runtime and infers static TypeScript types automatically. ## Core Features & Use Cases - Schema Definition & Type Inference: Define primitives, objects, arrays, records, unions, and discriminated unions, then derive types with z.infer. - Advanced Validation: Apply custom refinements, cross-field checks, async validation, transformations, and coercion for FormData or URL query inputs. - Framework Integration: Wire schemas into React Hook Form via zodResolver, Next.js Server Actions, tRPC, and fail-fast environment variable validation. - Use Case: When building a Next.js form, define one schema with coercion and custom error messages, reuse it in the Server Action with safeParse, and return flattened field errors to the UI. ## Quick Start Ask the assistant to create a Zod schema with cross-field password confirmation validation and integrate it into a React Hook Form login form.