TS Ddd Repository Pattern

Design and implement the Repository pattern in a TypeScript DDD clean architecture project — define repository interfaces in the domain layer and implementations in the infrastructure layer. Trigger when the user says "create a repository", "implement persistence", "add database access", "wire up TypeORM/Prisma/Drizzle", "implement the repository interface", "add Unit of Work", "how do I persist this aggregate", or when connecting domain aggregates to any data store. Also trigger when reviewing persistence code that may be violating the dependency rule.

Methasit-Pun eb95d2a 6.7 KB Updated

File contents

Methasit-Pun/ts-ddd-clean-architecture/tree/main/skills/backend-engineer/repository-pattern commit eb95d2a17f

Frequently asked questions

npx skillmds@latest add methasit-pun/ts-ddd-repository-pattern