hexagonal-typescript-advanced
Installation
SKILL.md
Hexagonal TypeScript — Anti-Patterns
This skill extends hexagonal-typescript with common violations and how to fix them. Load hexagonal-typescript first.
When to Activate
- Reviewing code where domain classes import
typeorm,@nestjs/common, or other framework packages - Use case constructors receive concrete adapter classes instead of port interfaces
- HTTP handlers call repositories directly, skipping the use case layer
- Domain models contain Zod schemas or other validation library dependencies
- Auditing a codebase for dependency direction violations
Anti-Patterns
Domain Model Importing Framework Dependencies
Wrong: