What problem does it solve?
This Skill unit provides guidance on structuring Kotlin Multiplatform (KMP) projects for optimal architecture, leveraging Gradle 9 conventions and Compose Multiplatform setup. It solves the challenge of choosing the right module locations, configuring Gradle plugins, and setting up project architecture for new KMP projects.
Core Features & Use Cases
- Module Layout Guidelines: Offers a clear layout structure for modules, including
core, domain, data, presentation, designsystem, feature subdirectories, and composeApp and androidApp modules.
- Gradle Convention Plugins: Explains how to use and configure Gradle 9 convention plugins for KMP and Android-specific configurations.
- Compose Multiplatform Setup: Provides instructions for setting up Compose Multiplatform in KMP projects, including handling Android preview issues.
- Use Case: Ideal for project managers and developers when starting a new KMP project, deciding module locations, configuring plugins, or troubleshooting project architecture issues.
Quick Start
Trigger the kmp-module-structure skill by saying, "Set up the project for a new KMP module," or "How should I structure this feature module?"