Паттерны архитектуры бэкенда: Clean, Hexagonal, DDD

★ 8.5 · engineering

architecture-patterns is a Claude Code skill that implements proven backend architecture patterns — Clean Architecture, Hexagonal Architecture, and Domain-Driven Design — to produce layered codebases with clear dependency rules, interface definitions, and test boundaries. It covers the full range of DDD tactical patterns (aggregates, value objects, repositories, domain events), Clean Architecture's inward-only dependency rule, and the ports-and-adapters model that lets you swap PostgreSQL for DynamoDB without touching the domain core. Worked examples include in-memory repository adapters that make every use-case test runnable as a plain unit test with no database or Docker, plus guidance on resolving circular imports caused by use cases importing concrete adapters instead of abstract ports. Use this skill when designing a new microservice from scratch, untangling business logic from ORM models or HTTP concerns in a monolith, or establishing bounded contexts before splitting a system into independent services.