citypaul-typescript-strict
SKILL.md
TypeScript Strict Mode
Core Rules
- No
any- ever. Useunknownif type is truly unknown - No type assertions (
as Type) without justification - Prefer
typeoverinterfacefor data structures - Reserve
interfacefor behavior contracts only
Schema Organization
Organize Schemas by Usage
Common patterns:
- Centralized:
src/schemas/for shared schemas - Co-located: Near the modules that use them
- Layered: Separate by architectural layer (if using layered/hexagonal architecture)