Android Architecture (MVVM + Clean)

0•

Implements standardized MVVM and Clean Architecture patterns for Kotlin and Jetpack Compose applications.

This skill provides a structured blueprint for building Android applications using MVVM and Clean Architecture principles within a Kotlin and Jetpack Compose environment. It enforces a strict dependency rule—where the UI and Data layers depend on a pure Kotlin Domain layer—to ensure maximum testability and separation of concerns. By providing domain-specific guidance on Use Cases, Repository patterns, and layer boundaries, it helps developers maintain high-quality codebases and follow best practices found in modern projects like 'Now in Android' while reducing architectural drift during feature development.

Características Principales

01Enforces the ui → domain ← data dependency rule for clean separation of concerns.
02Includes a comprehensive feature checklist to ensure architectural consistency across the codebase.
03Defines MVVM patterns for Jetpack Compose using ViewModels, UiState, and discrete user actions.
04Standardizes Domain layer components including pure Kotlin models and injectable Use Cases.
050 GitHub stars
06Provides Data layer templates for Retrofit services, Room entities, and DTO mapping.

Casos de Uso

01Refactoring existing legacy code to align with Domain-Driven Design and Clean Architecture.
02Establishing clear layer boundaries to improve unit testing coverage and build modularization.
03Designing a new app feature from scratch using standardized architectural layers.