What problem does it solve?
This Skill helps teams design and validate system architectures that are scalable, maintainable, secure, and resilient while preventing common anti-patterns like layer leaks, tight coupling across modules, and tenant data bleed.
Core Features & Use Cases
- Clean Architecture & Layering: Enforces Presentation → Application → Domain ← Infrastructure boundaries and dependency-inversion rules.
- Multi-Tenancy & Identity: Defines dual-ID patterns (external vs internal) and tenant isolation requirements for secure, multi-tenant services.
- Event-Driven Reliability: Specifies idempotent event handling, transactional outbox patterns, and standardized event naming for safe cross-module communication.
- Dependency Injection & Testability: Mandates interface-first constructor injection and composition-root registration to improve modularity and test coverage.
- Use Case: Architecting a multi-repository, event-driven order-processing backend that must guarantee message delivery, idempotency, and strict tenant isolation.
Quick Start
Design a scalable, multi-tenant, event-driven backend that enforces clean architecture boundaries, transactional outbox guarantees, and idempotent event handlers.