What problem does it solve?
Android and Kotlin Multiplatform projects often suffer from inconsistent architecture, boilerplate, and integration of modern tooling. This Skill provides a prescriptive pattern library to align teams on architecture, UI, asynchronous handling, and testability across Android and shared KMP code.
Core Features & Use Cases
- Clean architecture with repository pattern for data persistence.
- MVVM with a single state class for simple screens; refactor to MVI for complex screens.
- Compose as the recommended UI toolkit with interop for legacy UI.
- State management using StateFlow/State for UI state.
- Dependency injection with Hilt and KSP; Kotlin serialization for network models.
- KMP guidelines: Ktor for network, SQLDelight for local storage; Android-only dependencies not used in shared code.
- Gradle best practices: version catalogs, Kotlin scripts, and baseline profiling.
Quick Start
Follow these guidelines to structure and implement an Android or KMP project using clean architecture, MVVM, Compose, and the specified tooling.