What problem does it solve?
The Compose Expert skill helps teams design and reuse cross-platform UI components across Android and Desktop, reducing duplication and ensuring consistent visual patterns.
Core Features & Use Cases
- Shared composables: centralize common UI components in commonMain to minimize duplication and ensure consistent behavior across platforms.
- State management: patterns like remember, derivedStateOf, and produceState to optimize recomposition and responsiveness.
- Theming and visuals: Material3 theming with shared color schemes and typography for a unified look.
- Iconography: consistent custom ImageVector icons and patterns built from PathData for unified iconography.
- Platform guidance: advice on when to share UI versus keep platform-specific navigation/UX, with delegation to android-expert and desktop-expert as needed.
Quick Start
Identify a reusable UI component, move it under commons/commonMain, hoist its state, and wire platform-specific wrappers if needed. Then apply Material3 theming and test on both Android and Desktop.