What problem does it solve?
This Skill helps architects and Android developers eliminate fragile, tightly coupled codebases by providing a clear, testable, and maintainable application architecture based on Clean Architecture and the MVI pattern so that features remain modular and easy to evolve.
Core Features & Use Cases
- Layered Architecture Guidance: Defines domain, data, and presentation responsibilities to keep business logic framework-agnostic and easily unit-testable.
- MVI State Management: Prescribes unidirectional data flow, immutable UI state, intents for user actions, and effects for one-time events to reduce UI bugs and race conditions.
- DI and Platform Integration: Recommends Hilt modules, ViewModel patterns, and Compose screen wiring for real-world apps such as media players, library managers, and networked features.
- Use Case Example: Apply these patterns to implement a music playback feature with a Domain use case for fetching songs, a Data layer integrating Room and MediaStore, and a Presentation layer using MVI for queue and playback controls.
Quick Start
Create an architecture plan with domain, data, and presentation layers, implement MVI for unidirectional state flow, and scaffold Hilt modules and ViewModel intent handlers.