kmp-mvi-setup

Solid

Interactive skill for scaffolding a complete Kotlin Multiplatform (KMP) project using MVI architecture. Covers State/Event/Effect pattern, Compose Multiplatform, DI, type-safe navigation, and image loading. Asks user for preferences before generating any code.

AI & Automation 4 stars 0 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# KMP + MVI Project Setup Skill This skill guides you through creating a **production-ready Kotlin Multiplatform (KMP) project** using **MVI (Model-View-Intent)** architecture with Compose Multiplatform. > **IMPORTANT**: Before writing any code or project structure, you MUST ask the user > all Pre-flight Questions below and wait for answers. Never assume defaults silently. > **PREREQUISITE SKILLS**: Read these skills first before generating any files: > - [`kmp-versions`](../kmp-versions/SKILL.md) — always fetch live compatible versions from official sources > - [`kmp-project-structure`](../kmp-project-structure/SKILL.md) — use the new multi-module layout (`shared/` + `androidApp/`) --- ## Pre-flight Questions Ask the user these questions **in a single message** before generating anything. Wait for all answers before reading any reference files or writing any code. ``` Before I scaffold your KMP project, I need a few details: 1. ℹ️ App name & package What is your app name and base package? e.g. App Name: "Task Manager", Package: "com.example.taskmanager" 2. 📱 Target platforms - Android only - Android + Desktop (JVM) - Android + Desktop + iOS (requires macOS for iOS build) 3. 🔧 Dependency Injection - Koin (recommended — KMP-native, simple DSL, no code gen) - Manual DI (constructor injection, no library) - Other — please specify 4. 🌐 Networking Do you need HTTP API calls? - Ktor (recommended — KMP-native, multiplatform engines) ...

Details

Author
iammohdzaki
Repository
iammohdzaki/kmp-skills
Created
1 months ago
Last Updated
2 days ago
Language
PowerShell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

kmp-cmp-architecture

Guidance for architecting, structuring, and building Kotlin Multiplatform (KMP) and Compose Multiplatform (CMP) projects — module/source-set layout, Clean Architecture + MVI, dependency injection (Koin vs Hilt), local persistence (SQLDelight vs Room), Gradle version catalogs, and Android Gradle Plugin (AGP) 9.x migration for KMP modules. Use this skill whenever the user is setting up a new KMP or CMP project, structuring a shared module, choosing between Koin/Hilt or SQLDelight/Room, writing expect/actual code, debugging Gradle/AGP/KSP build errors in a multiplatform project, or upgrading AGP versions in a project that uses the Kotlin Multiplatform plugin — even if they don't say "Kotlin Multiplatform" explicitly and just mention "shared module", "commonMain", "iOS + Android app", or paste a KMP-related Gradle error.

0 Updated 1 weeks ago
depezo
AI & Automation Solid

kmp-versions

Skill for resolving the correct, compatible set of versions for a Kotlin Multiplatform project. Instructs the AI to always fetch live version data from the official compatibility matrix instead of relying on its training data. Covers Kotlin/KGP, CMP, AGP, Gradle, and key library versions.

4 Updated 2 days ago
iammohdzaki
AI & Automation Solid

kmp-project-structure

Reference skill for the new recommended KMP project structure (2026+). Covers the shift from the old single-module composeApp layout to the new multi-module shared/ + androidApp/ + desktopApp/ structure required for AGP 9.0+. Includes full file and Gradle configuration for both old and new layouts.

4 Updated 2 days ago
iammohdzaki