Android Clean Architecture & KMP

•
1
•

Implements robust module structures and dependency patterns for Android and Kotlin Multiplatform projects following Clean Architecture principles.

This skill provides specialized guidance for structuring Android and Kotlin Multiplatform (KMP) projects using Clean Architecture. It offers standardized patterns for domain-driven design, including UseCase and Repository implementation, dependency inversion, and multi-layer data management with Room, SQLDelight, and Ktor. It helps developers maintain strict module boundaries, ensure testability, and avoid common architectural pitfalls like framework leaks into the domain layer or bloated ViewModels by enforcing clear separation of concerns across presentation, domain, and data layers.

Key Features

01Standardized multi-module project layout for Android and KMP
02Implementation patterns for UseCases and Repository interfaces
03Dependency Injection configurations for Koin and Hilt
041 GitHub stars
05Reactive data flow patterns using Kotlin Coroutines and Flows
06Data layer design with Room, SQLDelight, and Ktor

Use Cases

01Setting up a new Android or Kotlin Multiplatform project architecture from scratch
02Implementing cross-platform data persistence and networking in KMP modules
03Refactoring legacy Android code into a clean, testable multi-layer structure