core-type-mapping
Installation
SKILL.md
Core Type Mapping Guide
Overview
This guide provides the mapping between OpenAPI string formats and their corresponding TypeScript type classes for use in Tasks 5, 7, 8, and 9.
🚨 Critical Usage Rules
- Task 5: Use these mappings when creating OpenAPI specifications - set the correct
formatfield - Task 7: Use these mappings in data transformation and validation
- Task 8 & 9: Use these mappings for type assertions in tests (e.g.,
instanceof Email,instanceof UUID) - String Conversion: All types support
.toString()method and template literal interpolation - Import Sources: Import types from the specified packages, not from Node.js built-ins