clean-arch-kmp-readiness
Installation
SKILL.md
Layering a multiplatform app so the boundaries survive
Six kinds of module, and the direction of every arrow is checkable:
| Module | Holds | Depends on |
|---|---|---|
:common |
constants, logging facade | nothing |
:domain |
repository interfaces, models, capability ports | :common |
:data |
repository implementations, database, mappers | :domain, every integration, and each engine from the source set that needs it |
:<integration> |
one external service client, one per module | :domain, :common, the shared HTTP module |
:<engine>-<platform> |
one playback/native engine per platform | :domain |
:app |
screens, view models, container wiring | api(:domain), implementation(:data) |