Loading...
Loading...
Compose and Compose Multiplatform expert for UI development across Android, Desktop, iOS, and Web. Use whenever the user mentions Compose APIs (@Composable, remember, LaunchedEffect, NavHost, MaterialTheme, LazyColumn, Modifier, recomposition), Compose Multiplatform (commonMain, expect/actual, Res.*, ComposeUIViewController, UIKitView, ComposeViewport), Android TV (tv-material, D-pad, focus, Carousel), Material 3 motion, atomic design systems, design-to-code workflows, Paging 3, or navigation. Activates Review Mode on GitHub PR URLs and review phrases ("review this PR", "what's wrong with this"). Auto-detects Compose projects on session_start. Backed by actual androidx/androidx and JetBrains/compose-multiplatform-core source receipts. See "## When this skill applies" in SKILL.md for the full trigger surface.
npx skill4agent add aldefy/compose-skill compose-expertInstallation notice: This skill is now distributed as a plugin. If you copied files intomanually, you are on an unmaintained install path and will not receive updates. Migrate via:~/.claude/skills//plugin marketplace add aldefy/compose-skill /plugin install compose-expertSee MIGRATION.md for Codex and Copilot CLI instructions. This banner will remain through v2.x and escalate in v3.0.
description:@ComposableremembermutableStateOfderivedStateOfrememberSaveableLaunchedEffectDisposableEffectSideEffectrememberCoroutineScopeScaffoldNavHostNavControllerMaterialThemeColorSchemeTypographyLazyColumnLazyRowLazyVerticalGridHorizontalPagerModifierModifier.NoderecompositionCompositionLocalStylestyleableMutableStyleStateMaterial 3 ExpressiveM3 ExpressiveMaterialExpressiveThemeButtonGroupSplitButtonFloatingActionButtonMenuLoadingIndicatorHorizontalFloatingToolbarNavDisplayNavKeyrememberNavBackStackNavigableListDetailPaneScaffoldCompose MultiplatformCMPKMPcommonMainexpectactualComposeUIViewControllerWindowUIKitViewComposeViewportRes.drawableRes.stringSkikoMaintv-materialtv-foundationCarouselNavigationDrawerD-padfocus indicationFocusRequester10-foot UIliving roomtv composeAndroid TVGoogle TVleanback migrationPagingSourcePagerPagingConfigPagingDataLazyPagingItemscollectAsLazyPagingItemsRemoteMediatorLoadStateasSnapshotTestPagercachedInatomic designatomsmoleculesorganismstemplatesdesign tokensdesign systemcomponent libraryreusable componentFigma to Composedesign to composebuild this UIimplement this designspec to coderedlinegithub.com/.*/pull/\d+references/pr-review.mdsession_startreferences/auto-init.mdsource-code/references/*.mdsource-code/rememberrememberSaveablemutableStateOfmutableIntStateOfreferences/state-management.mdderivedStateOfsnapshotFlowreferences/state-management.mdreferences/performance.mdLaunchedEffectSideEffectDisposableEffectrememberUpdatedStaterememberCoroutineScopereferences/side-effects.md@Stable@Immutablereferences/performance.mdCompositionLocalLocalContextreferences/composition-locals.mdanimate*AsStateAnimatedVisibilityCrossfadeupdateTransitionAnimatablerememberInfiniteTransitionreferences/animation.mdModifier.graphicsLayerreferences/animation.mdreferences/modifiers.mdgraphicsLayerMotionTokensMotionSchemereferences/material3-motion.mdLazyColumnLazyRowLazyVerticalGridLazyHorizontalGridkeyitemKeycontentTypeLazyListStatereferences/lists-scrolling.mdHorizontalPagerVerticalPagerPagerStatereferences/lists-scrolling.mdLayoutSubcomposeLayoutPainterModifier.Nodereferences/modifiers.mdNavHostNavController@Serializablereferences/navigation.mdNavDisplayNavKeyrememberNavBackStackNavBackStackEntryreferences/navigation-migration.mdreferences/navigation-migration.mdreferences/navigation.mdNavDisplayNavigableListDetailPaneScaffoldreferences/navigation-migration.mdPagingSourcePagingDataPagerPagingConfigpagingDataFlowreferences/paging.mdLazyPagingItemscollectAsLazyPagingItemsitemKeyitemContentTypeLoadStatereferences/paging.mdRemoteMediatorloadState.source.refreshreferences/paging-offline.mdasSnapshotTestPagerCombinedLoadStatesreferences/paging-mvi-testing.mdMaterialThemeColorSchemeTypographyShapesreferences/theming-material3.mdMaterialExpressiveThemeButtonGroupSplitButtonFloatingActionButtonMenuLoadingIndicatorHorizontalFloatingToolbar@ExperimentalMaterial3ExpressiveApireferences/theming-material3.mdreferences/material3-motion.mdreferences/atomic-design.mdreferences/design-to-compose.mdStyle {}MutableStyleStateModifier.styleable()references/styles-experimental.mdexpectactualcommonMainRes.drawableRes.stringreferences/multiplatform.mdComposeUIViewControllerWindowTrayMenuBarUIKitViewComposeViewportreferences/platform-specifics.mdandroidx.tvFocusRequesterCarouselNavigationDrawerreferences/tv-compose.mdAndroidViewComposeViewAbstractComposeViewreferences/view-composition.mdModifier.semanticscontentDescriptionreferences/accessibility.mdrememberderivedStateOfreferences/production-crash-playbook.mdreferences/pr-review.mdreferences/deprecated-patterns.md@OptIn@ExperimentalFoundationStyleApireferences/styles-experimental.mdreferences/auto-init.mdreferences/source-code/*.mdreferences/source-code/runtime-source.mdreferences/source-code/ui-source.mdreferences/source-code/foundation-source.mdreferences/source-code/material3-source.mdreferences/source-code/navigation-source.mdreferences/source-code/cmp-source.mdandroidx/androidxJetBrains/compose-multiplatform-coregithub.com/.+/pull/\d+references/pr-review.mdreferences/design-to-compose.mdreferences/animation.mdreferences/| Topic | Reference File |
|---|---|
| |
| Structuring composables, slots, extraction, preview | |
Modifier ordering, custom modifiers, | |
| |
| |
| |
| |
| |
| |
| Recomposition skipping, stability, baseline profiles, benchmarking | |
| Semantics, content descriptions, traversal order, testing | |
| Removed/replaced APIs, migration paths from older Compose versions | |
Styles API (experimental): | |
| Figma/screenshot decomposition, design tokens, spacing, modifier ordering | |
| Production crash patterns, defensive coding, state/performance rules | |
Compose Multiplatform, | |
| Desktop (Window, Tray, MenuBar), iOS (UIKitView), Web (ComposeViewport) | |
| TV Compose: Surface, Carousel, NavigationDrawer, Cards, focus, D-pad | |
M3 motion tokens, | |
| PR URL, code review, "review this PR", "what's wrong with this" | |
| Session start, project detection | |
| Atomic design, design system, reusable component, component library, design tokens | |
references/atomic-design.md// See: compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/Composer.ktModifier.padding(16.dp).background(Color.Red)Modifier.background(Color.Red).padding(16.dp)commonMainLocalContextBackHandlerWindowexpectactualandroidx/androidxandroidx-mainJetBrains/compose-multiplatform-corejb-mainreferences/source-code/| Module | Source Reference | Key Files Inside |
|---|---|---|
| Runtime | | Composer.kt, Recomposer.kt, State.kt, Effects.kt, CompositionLocal.kt, Remember.kt, SlotTable.kt, Snapshot.kt |
| UI | | AndroidCompositionLocals.android.kt, Modifier.kt, Layout.kt, LayoutNode.kt, ModifierNodeElement.kt, DrawModifier.kt |
| Foundation | | LazyList.kt, LazyGrid.kt, BasicTextField.kt, Clickable.kt, Scrollable.kt, Pager.kt |
| Material3 | | MaterialTheme.kt, ColorScheme.kt, Button.kt, Scaffold.kt, TextField.kt, NavigationBar.kt |
| Navigation | | NavHost.kt, ComposeNavigator.kt, NavGraphBuilder.kt, DialogNavigator.kt |
| CMP | | Window.kt, ComposeUIViewController.kt, UIKitView.kt, ComposeViewport.kt, ResourceReader.kt |
references/state-management.mdreferences/source-code/androidx/androidx (branch: androidx-main)
├── compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/
├── compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/
├── compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/
├── compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/
├── compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
├── compose/navigation/navigation-compose/src/commonMain/kotlin/androidx/navigation/compose/
├── tv/tv-material/src/main/java/androidx/tv/material3/
└── tv/tv-foundation/src/main/java/androidx/tv/foundation/
compose-multiplatform-core (branch: jb-main)
├── compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/window/
├── compose/ui/ui/src/iosMain/kotlin/androidx/compose/ui/window/
├── compose/ui/ui/src/webMain/kotlin/androidx/compose/ui/window/
├── compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/
└── compose/foundation/foundation/src/skikoMain/kotlin/androidx/compose/foundation/
compose-multiplatform (resources library)
└── components/resources/library/src/commonMain/