kmp-ktor
Installation
SKILL.md
Ktor Client for KMP and Android
Modern Ktor client setup for Kotlin Multiplatform and Android projects using kotlinx.serialization, the Auth plugin for bearer tokens, and MockEngine for testing. The same HttpClient configuration runs on Android, iOS, Desktop, and Web — only the engine changes per platform.
Related skills: See android-skills:android-data-layer for the Repository pattern, error propagation model, and offline-first strategies. See android-skills:android-retrofit for the equivalent Android-only setup with Retrofit.
Dependencies and Platform Engines
Ktor's HttpClient is platform-agnostic — only the underlying engine is platform-specific. Pick one engine per source set.