Android Clean Architecture

•
4
•

Implements scalable Clean Architecture patterns for Android and Kotlin Multiplatform projects following industry best practices.

This skill provides a comprehensive framework for architecting robust Android and Kotlin Multiplatform (KMP) applications using Clean Architecture principles. It guides developers through defining clear module boundaries—Domain, Data, and Presentation—while enforcing strict dependency inversion rules. By leveraging domain-driven design and standard data layer patterns with tools like Room, SQLDelight, and Ktor, it ensures codebases remain testable, maintainable, and platform-independent. Whether you are starting a new project or refactoring a monolith, this skill helps establish the UseCase and Repository patterns effectively.

Key Features

01Dependency Injection configurations for both Hilt and Koin
02Implementation of pure Kotlin Domain layers with UseCases and Repository interfaces
03Data layer patterns for Room (Android), SQLDelight (KMP), and Ktor networking
044 GitHub stars
05Standardized multi-module project structures for Android and KMP
06Robust error handling and mapping patterns to maintain layer separation

Use Cases

01Refactoring existing monolithic Android code into a layered architecture
02Implementing reactive data flows using Kotlin Flows across architectural boundaries
03Starting a new Android or Kotlin Multiplatform project with a scalable foundation