Type-safe TypeScript services with explicit errors.
Guides the implementation of type-safe TypeScript services with separate contracts, handlers, and explicit error results.
When to use it
Use when building CLIs or libraries, parsing complex inputs, requiring exhaustive error handling, or separating validation tests from business logic tests.
It changes how the agent structures TypeScript services, separating schema-defined contracts from handlers that return errors as values.
What you provide
The prescribed contracts use Zod to define and parse input and output schemas.
No additional actions listed.