schema - Create Zod schemas for controllers and use cases
Creates Zod input and output schemas using project validation, composition, refinement, transform, and extraction patterns.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create DTO schemas
- Compose reusable schemas
- Apply inline refinements
- Use value object schemas
- Extract shared schemas
- Define input and output contracts
Inputs
- Project registry.yaml
- Controller or use case context
- Existing value object schemas
- Schema reuse requirements
Outputs
- Zod input schemas
- Zod output schemas
- Exported reusable schemas
- Schema files
Requirements
- Zod support
- Access to project source files
- Access to registry.yaml
