Android Clean Architecture

0•

Implements standardized Clean Architecture patterns and module structures for modern Android and Kotlin Multiplatform development.

This skill provides comprehensive guidance for architecting Android and Kotlin Multiplatform (KMP) applications using Clean Architecture principles. It facilitates the creation of robust, testable, and maintainable codebases by enforcing strict module boundaries, dependency inversion, and standardized patterns for UseCases, Repositories, and DataSources. Whether you are bootstrapping a new project or refactoring an existing one, this skill helps integrate essential libraries like Room, SQLDelight, Ktor, Hilt, and Koin while avoiding common architectural anti-patterns such as framework leakage into the domain layer.

Key Features

010 GitHub stars
02Modern error handling strategies using Result and sealed interface patterns
03Data layer design with Room, SQLDelight, and Ktor integration
04Standardized multi-module project structure recommendations for Android and KMP
05Dependency injection configuration for both Koin and Hilt frameworks
06Pure Kotlin domain layer implementation using the UseCase and Repository patterns

Use Cases

01Implementing local-first data sync with proper mapping between DTOs, Entities, and Domain models
02Refactoring legacy ViewModels by extracting business logic into testable UseCases
03Bootstrapping a new Kotlin Multiplatform project with a scalable, layered architecture