Domain-Driven Design для TypeScript и Deno
★ 7.2 · engineering
ddd is a Claude Code skill that provides Domain-Driven Design guidance for TypeScript and Deno codebases, triggering on every code change to keep the domain model consistent. It helps select the right building block from a structured decision flow: Value Object (equality by value, immutable), Entity (unique ID, mutable), Aggregate Root (consistency boundary, enforces invariants), Domain Service (stateless operations spanning multiple aggregates), Repository (persistence abstraction for aggregate roots only), and Application Service (use-case orchestration at the application layer). A built-in quick decision tree resolves the correct type based on identity and invariant scope. The skill also maintains ubiquitous language by prompting updates to the glossary when new domain concepts appear, meanings are clarified, or naming conflicts arise, and it flags anti-patterns such as anemic domain models, overgrown aggregates, and persistence leaking into domain objects.
- #domain-driven-design
- #ddd
- #typescript
- #deno
- #architecture
- #design-patterns