What problem does it solve? Large TypeScript codebases often accumulate god objects—like a 1,440-line orchestrator handling tasks, sessions, health, and lifecycle—which become untestable and hard to maintain. This Skill guides the decomposition of such monoliths into modular, bounded-context domains with clean architecture. ## Core Features & Use Cases - Domain Decomposition: Breaks god objects into focused domains (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 an event bus for loose coupling between bounded contexts. - Use Case: Refactoring a Claude Flow orchestrator into five independent domains, each under 300 lines, with >90% domain test coverage and clean dependency inversion. ## Quick Start Ask the AI to analyze the current orchestrator architecture and design DDD bounded contexts with clean interfaces and domain events.