What problem does it solve? Large TypeScript codebases often accumulate god objects—single files handling task management, sessions, health monitoring, and events all at once—making the code untestable and hard to extend. This Skill provides a structured methodology for decomposing such monoliths into modular, bounded-context domains. ## Core Features & Use Cases - Domain Decomposition: Breaks a 1,440-line orchestrator god object into five focused domains (task management, session management, health monitoring, lifecycle, event coordination), each under 300 lines. - Microkernel & Plugin Architecture: Implements a core kernel that loads domains dynamically and supports optional plugins like swarm coordination with declared dependencies. - Event-Driven Communication: Defines domain events, event handlers, and clean architecture layers (presentation, application, domain, infrastructure) with dependency inversion. - Use Case: When refactoring a legacy TypeScript service where one class owns too many responsibilities, use this Skill to map bounded contexts, extract domain services in phases, and achieve over 90% domain test coverage. ## Quick Start Ask the AI to analyze the current orchestrator architecture and design DDD bounded contexts with clean interfaces and domain events.