.NET Minimal API — гексагональная архитектура модулей

★ 6.7 · vibe-coding

dotnet-clean-architecture is a Claude Code skill that scaffolds and extends .NET 10 Minimal API modules using hexagonal (ports/adapters) architecture with reflection-based IModule auto-discovery. Each module is structured into three layers: Application (HTTP endpoints, optional FluentValidation), Core (pure domain logic, use cases, incoming/outgoing ports), and Infrastructure (adapters, EF Core CRUD persistence, Riok.Mapperly mappings). Business errors are handled through a Result<T> pattern, while the global ExceptionHandler is reserved for unexpected failures only; cross-module calls are strictly routed through ports. DDD, CQRS, and Event Sourcing are available as optional additive patterns. The skill fits teams building new .NET modules, adding endpoints and use cases, or refactoring toward clean modular isolation.