Domain-Driven Design в Angular и TypeScript

★ 6.7 · vibe-coding

angular-ddd is a Claude Code skill that brings Domain-Driven Design to Angular/TypeScript by making DDD principles explicit and enforceable: branded ID types, readonly value objects, pure rule functions in core/rules/, aggregates that protect invariants, and ports modeled as abstract classes returning Observable<T>. It covers tactical patterns — Entity, Aggregate, Repository (realized as GetOrderPort/SaveOrderPort-style classes), Factory, Specification, and Domain Service — plus strategic design: Bounded Context, Ubiquitous Language, Anti-Corruption Layer, Context Mapping, Domain Events, and CQRS. The content is synthesized from Evans's Blue Book and Vernon's Red Book, with TypeScript idioms such as discriminated unions and Object.freeze for immutability. Use it when designing new domain models, refactoring anemic ones, mapping bounded contexts, or reviewing code for DDD compliance; it complements angular-clean-architecture for folder layout and flurryx for store and event-sourcing mechanics.