Android Clean Architecture Guide

0•

Implements Clean Architecture patterns for Android and Kotlin Multiplatform projects to ensure scalable, modular, and testable codebases.

This skill provides a comprehensive blueprint for architecting Android and Kotlin Multiplatform (KMP) applications using Clean Architecture principles. it defines clear boundaries between Domain, Data, and Presentation layers while enforcing strict dependency rules to keep business logic pure. The skill offers implementation patterns for UseCases, Repositories, and Mappers, along with specific configurations for industry-standard libraries like Room, SQLDelight, Ktor, Hilt, and Koin. By following these guidelines, developers can avoid common anti-patterns like framework-dependent domain logic or bloated ViewModels, resulting in more maintainable software.

主な機能

01Dependency inversion rules to protect Domain logic from framework changes
02Data layer strategies for local-remote synchronization and entity mapping
030 GitHub stars
04Standardized multi-module project layouts for Android and KMP
05Reusable patterns for UseCases with support for Kotlin Coroutines and Flows
06Dependency Injection configurations for both Hilt and Koin frameworks

ユースケース

01Refactoring monolithic Android applications into a testable, layered structure
02Bootstrapping a new Kotlin Multiplatform project with a scalable architectural foundation
03Integrating Room or SQLDelight databases using the Repository and Mapper patterns