kmp-compose-multiplatform

Generate Kotlin Multiplatform feature modules with clean architecture and UDF.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/shirulot/codex-skill --skill kmp-compose-multiplatform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kmp-compose-multiplatform
Source: https://github.com/shirulot/codex-skill/tree/main/kmp-compose-multiplatform
Command: npx skills add https://github.com/shirulot/codex-skill --skill kmp-compose-multiplatform

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of maintaining consistent architecture and UI across Android, iOS, and Desktop platforms by providing a standardized, modular, and testable framework for Kotlin Multiplatform development.

Core Features & Use Cases

  • Architecture Standardization: Implements a strict Data-Domain-Presentation layer separation using UDF and clean architecture principles.
  • Multiplatform UI: Provides best practices for Compose Multiplatform, including state management, navigation, and resource handling.
  • Use Case: Use this Skill when you need to architect a new feature module, implement a reactive repository pattern with Room, or configure Koin dependency injection for a shared KMP library.

Quick Start

Ask the AI to generate a new feature module structure following the clean architecture guidelines provided in the references.

Frequently Asked Questions about kmp-compose-multiplatform

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

FAQPage Schema
How do I structure a Kotlin Multiplatform app with Compose using clean architecture?

Structure Kotlin Multiplatform apps by enforcing strict Data-Domain-Presentation layer separation using UDF and clean architecture principles. This approach ensures modular, testable, and scalable cross-platform applications across Android, iOS, and Desktop.

Can I use Koin and Ktor in a shared Kotlin Multiplatform library?

Yes, you can configure Koin dependency injection and implement reactive repository patterns with Ktor in a shared Kotlin Multiplatform library. This facilitates scalable cross-platform development while adhering to official best practices.

What is the best way to implement state management in Compose Multiplatform?

The best way to implement state management in Compose Multiplatform is by following UDF principles and official Google and JetBrains best practices. This ensures consistent state handling and navigation across Android, iOS, and Desktop platforms.

How do I create a new feature module for Compose Multiplatform?

Create a new feature module for Compose Multiplatform by generating the module structure following the provided clean architecture guidelines. This standardizes UI implementation, state management, and resource handling across platforms.

Does Kotlin Multiplatform with Compose support Room for local storage?

Yes, Kotlin Multiplatform with Compose supports implementing reactive repository patterns with Room. This allows consistent local data handling within your shared cross-platform architecture.

When should I not use a unified architecture for KMP development?

Avoid strict unified architecture for KMP development when your project requires highly platform-specific implementations that cannot conform to standard UDF or modular Data-Domain-Presentation layer separation across Android, iOS, and Desktop.