Android Clean Architecture
Implements Clean Architecture patterns for Android and Kotlin Multiplatform projects to ensure maintainable, testable, and modular codebases.
This skill provides Claude with expert knowledge on structuring Android and Kotlin Multiplatform (KMP) projects using Clean Architecture principles. It guides the implementation of distinct layers—Domain, Data, and Presentation—ensuring strict dependency rules and pure Kotlin domain logic. By standardizing patterns for UseCases, Repositories, and DataSources with modern tools like Room, Ktor, and SQLDelight, it helps developers build scalable mobile applications that are easy to test and maintain while avoiding common anti-patterns like framework leakage into business logic.
Key Features
01Standardized error handling using Result and sealed class patterns
02Dependency Injection patterns for both Koin and Hilt
03Domain layer design with pure Kotlin UseCases and Repositories
04Data layer implementation using Room, SQLDelight, and Ktor
055 GitHub stars
06Modular project structuring for Android and KMP modules
Use Cases
01Migrating a monolithic Android app to a multi-module Clean Architecture structure
02Implementing reactive data flows between repositories and UI ViewModels
03Setting up a new Kotlin Multiplatform project with shared domain and data logic