What problem does it solve? Building shared UI across Android, iOS, Desktop, and Web with Compose Multiplatform introduces recurring challenges: managing UI state safely, wiring type-safe navigation, avoiding unnecessary recomposition, and handling platform-specific behavior. This Skill provides proven patterns and code templates that address each of these problems directly. ## Core Features & Use Cases - State Management: ViewModel with a single StateFlow state object, lifecycle-aware collection via collectAsStateWithLifecycle, and the event sink pattern using sealed interfaces. - Type-Safe Navigation: Serializable route objects with Compose Navigation 2.8+, including dialog and bottom sheet destinations. - Composable Design & Theming: Slot-based APIs, correct modifier ordering, and Material 3 dynamic theming. - Performance Optimization: @Stable/@Immutable annotations, keyed lazy lists, derivedStateOf, and allocation avoidance during recomposition. - Use Case: When building a KMP app screen that shows a searchable item list, apply the single-state ViewModel pattern, wire type-safe navigation to a detail route, and keep recomposition minimal with stable UI models. ## Quick Start Ask the AI to scaffold a Compose Multiplatform screen with a ViewModel, StateFlow state, and type-safe navigation following these patterns.