Kotlin Patterns

Idiomatic Kotlin patterns for Android AI agents. Use this skill whenever writing Kotlin code for Android, especially: coroutines, Flow, StateFlow, SharedFlow, viewModelScope, lifecycleScope, Dispatchers, withContext, suspend functions, sealed classes, sealed interfaces, data classes, extension functions, scope functions (let, apply, also, run, with), null safety, !! operator, runCatching, Result, lazy, by delegate, stateIn, flatMapLatest, combine, error handling, structured concurrency, or any Kotlin-specific patterns. Always apply before writing coroutines, Flow chains, or data modeling code.

piyushverma0 54f53e7 16 files · 56.8 KB Updated

File contents

piyushverma0/android-agent-skills/tree/main/skills/kotlin-patterns commit 54f53e79b4

Frequently asked questions

npx skillmds@latest add piyushverma0/kotlin-patterns