Android Clean Architecture

0•

Implements robust Clean Architecture patterns for Android and Kotlin Multiplatform projects with clear separation of concerns.

This skill provides a comprehensive framework for structuring Android and Kotlin Multiplatform (KMP) applications following Clean Architecture principles. It guides Claude in setting up modular project layouts, enforcing strict dependency rules between layers, and implementing the UseCase/Repository pattern. By integrating data layer tools like Room, SQLDelight, and Ktor, along with dependency injection via Koin or Hilt, it ensures codebases remain testable, maintainable, and platform-independent. It also focuses on the 'Domain' layer as a pure Kotlin module, preventing framework leakage into business logic.

Key Features

01Data layer configuration using Room, SQLDelight, and Ktor
02Advanced error handling strategies using Result and sealed interfaces
03Standardized modular layouts for Android and KMP projects
04Domain-driven UseCase and Repository implementation patterns
05Dependency Injection setup for both Hilt and Koin frameworks
060 GitHub stars

Use Cases

01Designing platform-agnostic business logic for cross-platform mobile apps
02Bootstrapping a new multi-module Android or KMP project architecture
03Refactoring legacy monolithic Android code into testable, layered modules