What problem does it solve?
This Skill helps developers build and review Android applications written in Kotlin, focusing on platform-specific concerns like UI state, lifecycle management, and architecture.
Core Features & Use Cases
- Code Review: Analyze Kotlin code for adherence to Android best practices, lifecycle awareness, and state management.
- Architecture Design: Assist in designing or refining app architecture, including ViewModel, repository patterns, and data flow.
- Jetpack Compose: Provide guidance on building UI with Jetpack Compose, managing state, and handling events.
- Coroutine Usage: Advise on the correct and safe use of Kotlin Coroutines within the Android lifecycle.
- Use Case: Review a ViewModel that is not properly collecting
StateFlow updates, leading to stale UI data, and suggest using collectAsStateWithLifecycle for proper lifecycle integration.
Quick Start
Review the provided Android Kotlin code snippet for lifecycle and state management issues.