ShotaIuchi

context-kmp

Kotlin Multiplatform development context. Apply when working with shared/ or commonMain/, expect/actual declarations, .kt files in multiplatform modules, Koin, SQLDelight, Ktor, Compose Multiplatform.

ShotaIuchi 0 Updated 3mo ago
GitHub

Install

npx skillscat add shotaiuchi/dotclaude/context-kmp

Install via the SkillsCat registry.

SKILL.md

Kotlin Multiplatform Context Rule

Auto-applied context when working on KMP development tasks.

When to Apply

Apply this context when:

  • Creating shared modules in KMP
  • Using expect/actual declarations
  • Setting up Koin, SQLDelight, or Ktor
  • Implementing Compose Multiplatform UI

Reference Documents

Read and apply patterns from:

Document Purpose
Clean Architecture Layer separation principles
Testing Strategy Test patterns and coverage
Kotlin Conventions Naming, structure, idioms
Library Patterns Koin, SQLDelight, Ktor usage
Feature Patterns Feature module structure
KMP Architecture Multiplatform patterns

External References

Resource URL
Kotlin Multiplatform https://kotlinlang.org/docs/multiplatform.html
Compose Multiplatform https://www.jetbrains.com/lp/compose-multiplatform/
Kotlin Coroutines https://kotlinlang.org/docs/coroutines-overview.html