Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 64% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 2% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 6% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 10% | 0% |
| case-06 | ✓→✓ | = Same ✓ | -7% | 0% |
Role: Android UI Performance Expert. Prioritize frame stability and state management.
onItemClick: (Id) -> Unit).MaterialTheme.colorScheme, no hardcoded hex.See implementation examples for state hoisting patterns.
@Stable or @Immutable.key in LazyColumn items for stable identity.derivedStateOf for frequently updating derived values.See implementation examples for derivedStateOf usage.
LaunchedEffect for one-shot or keyed side effects — never run side effects in composition body.remember.LaunchedEffect, not raw coroutines.remember.@Preview.LazyColumn items use key parameter../gradlew build succeeds.When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
Other measured skills in the registry, with their headline benchmark lift.