> ## Documentation Index
> Fetch the complete documentation index at: https://woltz.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> A TypeScript library for Domain-Driven Design with Standard Schema validation, automatic change tracking, and enterprise-ready repositories

## 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.

<CardGroup cols={2}>
  <Card title="Type-Safe" icon="shield-check">
    Full TypeScript support with inference for field paths, filters, and operations
  </Card>

  <Card title="Validation Agnostic" icon="check-double">
    Works with Zod, Valibot, ArkType, or any Standard Schema compatible library
  </Card>

  <Card title="Automatic Change Tracking" icon="clock-rotate-left">
    Track changes across nested entities and collections without boilerplate
  </Card>

  <Card title="ORM Independent" icon="database">
    Use with Prisma, Drizzle, TypeORM, or any persistence layer
  </Card>
</CardGroup>

## 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.

```shellscript theme={null}
npx skills add tarcisioandrade/rich-domain 
```

<CardGroup cols={2}>
  <Card title="Quickstart without ORM" icon="rocket" href="/quickstart/default">
    Build your first aggregate from scratch without relying on an ORM.
  </Card>

  <Card title="Quickstart with Prisma" icon="rocket" href="/quickstart/q-prisma">
    Build using we Prisma Adapter.
  </Card>

  <Card title="Quickstart with TypeORM" icon="rocket" href="/quickstart/q-typeorm">
    Build using we TypeORM Adapter.
  </Card>

  <Card title="Quickstart with Drizzle" icon="rocket" href="/quickstart/q-drizzle">
    Build using we Drizzle Adapter.
  </Card>
</CardGroup>
