What problem does it solve? Large TypeScript codebases often accumulate god objects—single files handling too many responsibilities—which makes code hard to test, maintain, and extend. This Skill guides the decomposition of a 1,440-line orchestrator into modular bounded contexts with clean architecture layers. ## Core Features & Use Cases - Domain Decomposition: Breaks god objects into focused domains like task management, session management, and health monitoring, each under 300 lines. - Microkernel & Plugin Architecture: Implements a core kernel that loads domains dynamically and supports optional plugins such as swarm coordination. - Event-Driven Communication: Defines domain events and handlers for loose coupling between bounded contexts. - Use Case: When refactoring a monolithic orchestrator.ts file, use this Skill to map bounded contexts, extract domain services in phases, and establish clean dependency-inverted interfaces with 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.