What problem does it solve?
Large or messy codebases often mix domain logic with infrastructure concerns, hiding business rules, unclear entity boundaries, and implicit bounded contexts that create coupling and slow feature development; this Skill discovers and extracts explicit domain models so teams can maintain invariants and evolve systems safely.
Core Features & Use Cases
- Analyze code to discover entity-like classes, services, and embedded business rules and map relationships and implicit bounded contexts.
- Model domain concepts as entities, value objects, aggregates, and repository interfaces, then separate the pure domain layer from infrastructure implementations.
- Optionally introduce domain events and a transactional outbox for reliable cross-context communication.
- Use cases: migrating a legacy Python or TypeScript service to DDD, extracting a billing or ordering domain, introducing aggregate boundaries to prevent cross-service coupling.
Quick Start
Refactor the billing service to DDD by identifying bounded contexts, extracting entities and value objects, defining aggregate roots and repository interfaces, and moving persistence into infrastructure implementations.