kotlin-specialist

Implement idiomatic Kotlin patterns with coroutines, Flow, and multiplatform architecture.

Updated May 14, 2026
One-click install
npx skills add https://github.com/nkseth/copilot-dev-skills --skill kotlin-specialist-nkseth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-specialist
Source: https://github.com/nkseth/copilot-dev-skills/tree/main/skills/kotlin-specialist
Command: npx skills add https://github.com/nkseth/copilot-dev-skills --skill kotlin-specialist-nkseth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Establishes a consistent baseline of idiomatic Kotlin practices for coroutines, Flow, multiplatform development, and modern Kotlin patterns across projects, reducing boilerplate and divergence.

Core Features & Use Cases

  • Coroutines & Flow patterns: structured concurrency, StateFlow/SharedFlow, and safe asynchronous APIs.
  • Multiplatform & DSL design: guidance for sharing code across platforms with type-safe builders and platform-specific expect/actual strategies.
  • Android Compose & Ktor: best practices for Jetpack Compose UI integration and server/API design with Ktor.

Quick Start

Refactor your Kotlin module to adopt coroutines, Flow, and a multiplatform architecture with a type-safe DSL.

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 Flow streams?

Implement structured concurrency with Kotlin coroutines by establishing safe asynchronous APIs and leveraging StateFlow and SharedFlow for Flow streams. This pattern ensures reliable stream management and reduces boilerplate in backend and Android modules.

What is the best way to share code across platforms using Kotlin Multiplatform?

Share code across platforms using Kotlin Multiplatform by guiding platform-specific expect/actual implementations and utilizing type-safe DSL builders. This approach ensures consistent multiplatform architecture and reduces boilerplate across shared modules.

How do I integrate Jetpack Compose UI with a Kotlin Multiplatform architecture?

Integrate Jetpack Compose UI with Kotlin Multiplatform architecture by applying best practices for Compose UI integration and multiplatform modules. This approach maintains type-safe builders and ensures reliable code sharing across Android and other platforms.

Does this approach support static analysis tooling like Detekt and Ktlint?

Yes, the idiomatic Kotlin patterns satisfy requirements for static analysis tooling like Detekt and Ktlint. By enforcing a consistent baseline of Kotlin 1.9+ practices, the approach ensures code reliability and maintainability across multiplatform and backend modules.

How do I design a type-safe DSL in Kotlin?

Design a type-safe DSL in Kotlin by applying type-safe builders and idiomatic patterns within multiplatform architecture. This reduces boilerplate and establishes consistent, reliable code structures across backend, Android, and multiplatform modules.

Can I use Ktor for server and API design with these Kotlin patterns?

Yes, you can use Ktor for server and API design alongside these idiomatic Kotlin patterns. The approach provides best practices for Ktor server implementation, ensuring reliable and maintainable asynchronous APIs within backend modules.