What problem does it solve?
This Skill solves the problem of inconsistent, error-prone implementation of MVI presentation layers in Android and Kotlin Multiplatform (KMP) projects, which often leads to unmaintainable UI code, bugs in state management, and data loss during process death.
Core Features & Use Cases
- Standardized MVI Architecture: Provides consistent patterns for State, Action, Event, and ViewModel implementation to reduce boilerplate and avoid common bugs.
- Composable Best Practices: Guides the split of Root and Screen composables for previewability and clear separation of concerns.
- Edge Case Handling: Includes built-in patterns for mapping domain errors to UI strings via UiText and recovering critical user input during process death with SavedStateHandle.
- Use Case: For example, when building a note-taking app, use this Skill to implement a consistent, maintainable screen with proper state management and form field persistence across app restarts.
Quick Start
Use the android-presentation-mvi skill to implement a new note list screen with proper MVI state, actions, event handling, and process death recovery.