kotlin-specialist

Guide Kotlin developers in implementing idiomatic coroutines, Flow, and multiplatform patterns.

16|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/Marwan78888/Neuron-Cli --skill kotlin-specialist-marwan78888
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-specialist
Source: https://github.com/Marwan78888/Neuron-Cli/tree/main/scratch/claude-skills-main/skills/kotlin-specialist
Command: npx skills add https://github.com/Marwan78888/Neuron-Cli --skill kotlin-specialist-marwan78888

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Kotlin developers often struggle coordinating patterns for coroutines, Flow, and multiplatform code, leading to boilerplate and consistency gaps. This skill provides idiomatic Kotlin patterns and architecture guidance to accelerate robust, scalable apps.

Core Features & Use Cases

  • Idiomatic coroutine and Flow patterns: structured concurrency, StateFlow/SharedFlow usage, and safe error handling across platforms.
  • Multiplatform guidance: shared common code with expect/actual, platform-specific optimizations, and code organization for Kotlin/Native, Android, and JVM.
  • End-to-end patterns: DSLs, Jetpack Compose usage, Ktor server/client patterns, and testing strategies with Detekt/ktlint.

Quick Start

Ask the AI to generate idiomatic Kotlin patterns and reference guidance for coroutines, Flow, KMP, and Ktor.

Frequently Asked Questions about kotlin-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement structured concurrency with Kotlin coroutines and StateFlow?

Structured concurrency with Kotlin coroutines and StateFlow requires scoping operations to specific lifecycles and applying safe error handling. This approach ensures scalable state management without leaking background tasks across Android or JVM targets.

What is the best way to share common code between Android and iOS using Kotlin Multiplatform?

The best way to share code using Kotlin Multiplatform is organizing shared common logic with expect/actual declarations. This allows platform-specific optimizations for Kotlin/Native, Android, and JVM targets while maintaining a single robust codebase.

Does this Kotlin guidance cover Jetpack Compose and Ktor server patterns?

Yes, this guidance covers end-to-end patterns for Jetpack Compose and Ktor. It provides architecture references for building reactive UI and implementing server or client networking patterns within modern scalable applications.

How do I configure Detekt and ktlint for testing Kotlin multiplatform projects?

You configure Detekt and ktlint for Kotlin multiplatform projects by applying integrated testing strategies. This enforces static analysis and code formatting rules across your shared common code and platform-specific targets.

Can I use SharedFlow for safe concurrency across JVM and Kotlin/Native targets?

Yes, you can use SharedFlow for safe concurrency across JVM and Kotlin/Native targets. It provides idiomatic patterns for emitting values to multiple collectors while maintaining structured concurrency and null-safety.

Why does my Kotlin Multiplatform code require expect/actual declarations?

Your Kotlin Multiplatform code requires expect/actual declarations because they bridge shared common code with platform-specific implementations. This mechanism allows you to call native APIs on Android, JVM, and iOS while maintaining a unified architecture.