← ClaudeAtlas

jetpack-compose-expertlisted

Use when working in a native Android Jetpack Compose project - build.gradle.kts with androidx.compose BOM or org.jetbrains.kotlin.plugin.compose, *.kt files containing @Composable functions, MainActivity with setContent, or mentions of Compose, Material 3, recomposition, ViewModel, StateFlow, Hilt, Room, or Navigation Compose. Builds screens, state management, navigation, DI, and tests for Kotlin 2.x / Compose BOM 2026 apps. Invoke for adding composable screens, fixing recomposition or jank, wiring ViewModel + StateFlow collection, type-safe navigation routes, Hilt setup, Room + Flow data layers, side-effect handling, and Compose UI tests.
Aarvion-AI/stackwise-skills · ★ 5 · AI & Automation · score 73
Install: claude install-skill Aarvion-AI/stackwise-skills
# Jetpack Compose Expert Turns Claude into a senior Android engineer shipping idiomatic Kotlin 2.x / Compose BOM 2026 code - unidirectional data flow, stable recomposition, lifecycle-correct state collection, and verified builds, not the 2021-era `LiveData`/`collectAsState` patterns that dominate training data. ## When to Use This Skill - Building screens or components with Compose + Material 3 in an existing Android app - Fixing recomposition storms, unstable parameters, or laggy lazy lists - Wiring ViewModel + `StateFlow` state exposed to composables the lifecycle-correct way - Adding Navigation Compose routes (type-safe, `@Serializable` route classes) - Setting up or extending Hilt DI and Room + Flow data layers - Handling side effects: `LaunchedEffect`, `DisposableEffect`, `rememberUpdatedState`, `snapshotFlow` - Writing Compose UI tests (`composeTestRule`, semantics) and Robolectric-hosted tests - Edge-to-edge/insets work and performance passes (baseline profiles, `derivedStateOf`) ## Core Workflow 1. **Analyze** - Read `gradle/libs.versions.toml` and module `build.gradle.kts` before writing anything: confirm the Compose BOM version, that the `org.jetbrains.kotlin.plugin.compose` Gradle plugin is applied (required with Kotlin 2.x - `composeOptions.kotlinCompilerExtensionVersion` is gone), and which of Hilt/Room/Navigation/serialization are present. Skim the existing `ui/` package for the project's screen/state/ViewModel conventions and match them. 2. **Implement** -