compose-expert

Guide shared Compose Multiplatform UI patterns with state management and Material3 theming.

9|2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/dallay/corvus --skill compose-expert-dallay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compose-expert
Source: https://github.com/dallay/corvus/tree/main/.agents/skills/compose-expert
Command: npx skills add https://github.com/dallay/corvus --skill compose-expert-dallay

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers build visually consistent and performant user interfaces for Compose Multiplatform applications across Android and Desktop, addressing challenges in UI sharing, state management, and optimization.

Core Features & Use Cases

  • Shared UI Components: Design and implement reusable UI elements that work seamlessly on both Android and Desktop.
  • State Management: Implement robust state handling using patterns like remember, derivedStateOf, and produceState.
  • Performance Optimization: Optimize recomposition and leverage lazy loading for smoother UIs.
  • Theming & Icons: Apply Material3 theming and create custom, multiplatform ImageVector icons.
  • Use Case: Refactor a complex Android-specific UI into a shared Compose Multiplatform component that can be used on Desktop with minimal platform-specific adjustments.

Quick Start

Use the compose-expert skill to create a reusable shared composable for a user profile card.

Frequently Asked Questions about compose-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I share Compose Multiplatform UI components between Android and Desktop?

Sharing Compose Multiplatform UI components involves extracting reusable composables into commonMain and implementing platform-specific adjustments only where necessary. This approach ensures visual consistency and minimizes platform-specific code duplication across Android and Desktop targets.

How do I optimize recomposition in Compose Multiplatform?

Optimizing recomposition in Compose Multiplatform requires applying @Stable and @Immutable annotations to classes, leveraging derivedStateOf to prevent unnecessary recompositions, and utilizing lazy loading patterns for smoother UI performance.

What is the best way to handle state management in Compose Multiplatform shared composables?

Handling state management in Compose Multiplatform shared composables is best achieved using patterns like remember, derivedStateOf, and produceState. These techniques provide robust state handling and ensure UI consistency across different platforms.

Can I use Material3 theming and custom ImageVector icons in Compose Multiplatform?

Yes, you can apply Material3 theming and create custom multiplatform ImageVector icons in Compose Multiplatform. This allows for consistent visual design and custom iconography across both Android and Desktop platforms.

Does compose-expert handle navigation logic for Android and Desktop applications?

No, compose-expert does not handle navigation logic. It delegates navigation concerns to android-expert and desktop-expert skills, focusing instead on shared composables, state management, recomposition optimization, and Material3 theming.