What problem does it solve? Large TypeScript codebases often accumulate god objects—like a 1,440-line orchestrator handling tasks, sessions, health, and events—that are hard to test, maintain, and extend. This Skill guides the decomposition of such monoliths into modular Domain-Driven Design bounded contexts. ## Core Features & Use Cases - Domain Decomposition: Breaks god objects into focused bounded contexts (task management, session management, health monitoring, lifecycle, event coordination) with entities, value objects, services, and repositories. - Microkernel & Plugin Architecture: Implements a core kernel that loads domains and supports optional plugins like swarm coordination with declared dependencies. - Event-Driven Integration: Defines domain events, event handlers, and clean architecture layers (presentation, application, domain, infrastructure) with dependency inversion. - Use Case: Migrating a legacy orchestrator.ts file into five independent domains, each under 300 lines, with over 90% domain logic test coverage using London School TDD. ## Quick Start Ask the AI to analyze the current orchestrator architecture and design DDD bounded contexts with clean interfaces and a phased migration plan.