Skip to main content

What is rich-domain?

@woltz/rich-domain is a TypeScript library that provides building blocks for implementing Domain-Driven Design (DDD) patterns with minimal boilerplate and maximum type safety.

Type-Safe

Full TypeScript support with inference for field paths, filters, and operations

Validation Agnostic

Works with Zod, Valibot, ArkType, or any Standard Schema compatible library

Automatic Change Tracking

Track changes across nested entities and collections without boilerplate

ORM Independent

Use with Prisma, Drizzle, TypeORM, or any persistence layer

Skills

Woltz/rich-domain provides skills that can be added to your AI coding assistant to help it understand rich-domain best practices and implementation patterns.
npx skills add tarcisioandrade/rich-domain