What problem does it solve?
This Skill guides developers to write Jetpack Compose UIs that are maintainable by enforcing stateless components, consistent theming, and careful modifier usage, reducing churn and bugs.
Core Features & Use Cases
- State hoisting and unidirectional data flow to keep UI components stateless and easily testable.
- Proper Modifier handling and root-element application to ensure predictable layouts and interactions.
- Performance-conscious patterns such as remember and derivedStateOf to minimize recompositions and jank.
- Theming with MaterialTheme to standardize colors, typography, and shapes across features.
- Use Case: refactor an existing composable that manages internal state to receive state from a ViewModel and expose events to the outside.
Quick Start
Refactor a public Composable so it is stateless, accepts state as parameters, exposes events, and applies a default Modifier to the root layout.