android-module-structure
Installation
SKILL.md
Android / KMP Module Structure
Core Philosophy
- Feature-layered modularization: split by feature first, then by layer within each feature.
- Clean Architecture layers:
presentation→domain←data. Domain is innermost and depends on nothing. - Code lives in a feature module unless it is needed by more than one feature — then it moves to the appropriate
coresubmodule. - Features never depend on each other. Cross-feature shared data belongs in
core:domain(domain models) orcore:presentation(shared composables/UI logic), not in the owning feature.