What problem does it solve?
This skill helps teams avoid anemic or entangled solution layouts by prescribing a domain-first modular monolith structure for Monica projects, clarifying ownership, dependency direction, and composition rules so bounded contexts remain explicit within a single deployment.
Core Features & Use Cases
- Domain-first solution layout: Guides splitting the solution by bounded context under src/Domains with single merged domain packages per subdomain.
- Strict reference and ownership rules: Enforces AppHost -> Domains.{Subdomain} -> Platform.Infrastructure -> Platform.Protocol -> Platform.BuildingBlocks chain, domain-owned Repository and DbContext placement, and where shared protocol contracts live.
- Practical workflows and checklist: Step-by-step instructions for creating new subdomains, defining PublishedLanguages in Platform.Protocol, deciding cross-domain collaboration (requests vs events), and a delivery checklist for safe composition and registration.
Quick Start
Design a new Ordering bounded context in this Monica solution and produce the recommended folder layout, Domains.Ordering.csproj naming, Platform.Protocol PublishedLanguages locations, and AppHost composition steps.