kmp-presenter-module

Installation
SKILL.md

When to Use This Skill

Use when you need to:

  • Add a :presenter module to a KMP feature
  • Write a ViewModel that is testable on plain JVM (no Android/Compose dep)
  • Define MVI contracts (UiState, UiIntent) isolated from Compose
  • Wire the ViewModel into Koin so the :ui layer can consume it
  • Test ViewModel logic with runTest + Turbine, no emulator

Trigger keywords: presenter module, ViewModel testable, MVI ViewModel, KMP ViewModel, pure Kotlin ViewModel, JVM ViewModel test, UiState UiIntent, StateFlow ViewModel, presenter layer, no Compose ViewModel, screen logic, UI state, state management, screen state, ViewModel setup, test ViewModel, screen behavior, handle user input, form state, form handling, screen interaction.

Freshness rule: androidx.lifecycle.viewmodel KMP artifact and its commonMain API change between lifecycle versions — recheck libs.versions.toml before wiring.


Installs
16
GitHub Stars
2
First Seen
Aug 3, 2026
kmp-presenter-module — ronjunevaldoz/kmp-agent-skills