What problem does it solve?
Type safety and API boundary validation are often neglected, leading to brittle code, runtime errors, and hard-to-maintain systems. This skill provides a structured approach to enforce strict TypeScript types and runtime validation across your codebase.
Core Features & Use Cases
- Enforces strict TypeScript configuration and eliminates common sources of unsound typing.
- Introduces runtime validation using Zod schemas that derive types, ensuring data correctness at boundaries.
- Supports a schema-first workflow with discriminated unions to model state machines and guard against invalid states.
- Use cases include API layer input validation, data model integrity, and safe boundary-crossing between services.
Quick Start
Audit a TypeScript project and implement Zod-based schemas to enforce boundaries.