Skill / SKILL.md

Kmp Data Layer

Kushpawan/kmp-mobile-skills

Use when designing, adding or refactoring the data layer of a Kotlin Multiplatform app in commonMain — Ktor HttpClient setup, DTOs and kotlinx.serialization, repositories and mappers, a typed result/error wrapper, bearer token refresh, offline-first caching with Room or SQLDelight — or when debugging MissingFieldException, JsonConvertException, 401 refresh loops, random logouts, tokens in logs, or iOS-only network timeouts.
2 views 17 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when designing, adding or refactoring the data layer of a Kotlin Multiplatform app in commonMain — Ktor HttpClient setup, DTOs and kotlinx.serialization, repositories and mappers, a typed result/error wrapper, bearer token refresh, offline-first caching with Room or SQLDelight — or when debugging MissingFieldException, JsonConvertException, 401 refresh loops, random logouts, tokens in logs, or iOS-only network timeouts.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Kushpawan/kmp-mobile-skills' skill-source

Use the complete skill-source/skills/kmp-data-layer directory with your client’s skill installer.

  • skills/kmp-data-layer

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/kmp-data-layer

Compatibility & requirements

Declared compatibility

Kotlin Multiplatform project (Android + iOS) using or adopting Ktor client 3.x and kotlinx.serialization 1.7+. iOS compile checks need macOS with Xcode.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
534055581a410f00bb2341a5482bede4611a75729b141098f71ba30962a2c5ad
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills