What problem does it solve? Large TypeScript codebases often accumulate god objects—like a 1,440-line orchestrator handling tasks, sessions, health, and lifecycle all at once—making the code untestable and hard to extend. This Skill guides the decomposition of such monoliths into Domain-Driven Design bounded contexts with clean architecture and a microkernel plugin pattern. ## Core Features & Use Cases - Domain Decomposition: Splits god objects into focused bounded contexts (task management, session management, health monitoring, lifecycle, event coordination), each 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 an event bus for loose coupling between contexts, plus a phased migration plan with London School TDD testing. - Use Case: You inherit a claude-flow orchestrator that mixes five responsibilities in one file. Use this Skill to extract each responsibility into its own domain module, wire domain events, and reach over 90% domain logic test coverage. ## Quick Start Ask the AI to analyze the current orchestrator architecture and design DDD bounded contexts with clean interfaces and a migration plan.