What problem does it solve?
Jetpack Compose Android UI development frequently encounters bugs from incorrect recomposition, unstable state management, improper side-effect API usage, and non-compliant Material 3 implementation, leading to crashes, janky performance, and inconsistent user experiences. This skill provides clear, up-to-date guidance to resolve these issues and build production-ready Compose UIs.
Core Features & Use Cases
- Correct Composition & State Management: Best practices for state hoisting, remember/rememberSaveable, derivedStateOf, and avoiding common recomposition pitfalls to ensure UI stability.
- Side-Effect API Guidance: Clear rules for using LaunchedEffect, DisposableEffect, and other official effect APIs to prevent memory leaks and unexpected behavior.
- Material 3 & Performance Optimization: Instructions for implementing Material 3 theming, dynamic color, and optimizing Compose performance for smooth, efficient UIs. For example, use this skill when building a new Android screen with a scrolling list to ensure the list performs well, state survives configuration changes, and data loading side effects are handled correctly.
Quick Start
Use the jetpack-compose skill to review your @Composable function for correct state hoisting, proper side-effect API usage, and Material 3 theming compliance.