What problem does it solve?
This Skill diagnoses and resolves performance bottlenecks in Jetpack Compose UI, ensuring smooth and responsive user experiences by identifying and fixing issues like jank, slow rendering, and excessive recompositions.
Core Features & Use Cases
- Code Review: Analyzes Compose code for common performance anti-patterns.
- Profiling Guidance: Instructs users on how to collect performance data using Android Studio tools (Layout Inspector, Perfetto).
- Root Cause Analysis: Pinpoints specific issues such as unstable parameters, incorrect key usage in lazy lists, heavy computations during composition, and inefficient state management.
- Remediation: Provides concrete code fixes and refactoring suggestions.
- Use Case: A user reports that their Android app's scrolling performance in a list is choppy. This Skill can help them identify if the issue is due to unstable item keys or heavy composables within the list items, and guide them to fix it.
Quick Start
Review the provided Composable code for performance issues and suggest optimizations.