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 method to decompose such monoliths into Domain-Driven Design bounded contexts with clean architecture layers. ## Core Features & Use Cases - Domain Decomposition: Splits 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 an event bus so bounded contexts stay loosely coupled. - Use Case: A team maintaining a growing orchestration service uses this Skill to plan a three-phase migration—extracting domain services, introducing use-case interfaces with dependency injection, and enabling a plugin system—while targeting 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.