kotlin-specialist

Implement idiomatic Kotlin patterns for coroutines, Flow, multiplatform, Compose, and Ktor.

1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/camelranchentertainment/Booking-Platform --skill kotlin-specialist-camelranchentertainment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-specialist
Source: https://github.com/camelranchentertainment/Booking-Platform/tree/main/.claude/skills/kotlin-specialist
Command: npx skills add https://github.com/camelranchentertainment/Booking-Platform --skill kotlin-specialist-camelranchentertainment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Kotlin developers often struggle to apply consistent, idiomatic patterns across concurrency, multiplatform sharing, and modern UI composition. This Skill provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.

Core Features & Use Cases

  • Coroutines & Flow: Structured concurrency, StateFlow, and Flow-based data streams.
  • Multiplatform patterns: Shared code with expect/actual, common and platform-specific modules.
  • UI & server: Compose UI patterns for Android and Ktor server setups.
  • DSL idioms: Type-safe DSLs for building fluent APIs and expressive builders.
  • Code quality: Guidance for null safety, sealed class state modeling, and tool integration (detekt/ktlint).

Quick Start

Refactor a Kotlin module to adopt coroutines, Flow, and Kotlin Multiplatform patterns to observe improvements in readability and reliability.

Frequently Asked Questions about kotlin-specialist

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

FAQPage Schema
How do I write idiomatic Kotlin coroutines and Flow for structured concurrency?

Idiomatic Kotlin coroutines and Flow require structured concurrency, using suspend functions and StateFlow for reactive stream handling. This approach enforces null safety and sealed class state modeling to ensure code reliability across concurrent operations.

What is the best way to structure Kotlin Multiplatform shared code across Android and iOS?

Kotlin Multiplatform shared code is structured using expect/actual declarations to separate common and platform-specific modules. This pattern allows consistent architecture sharing across Android, iOS, and backend environments while maintaining native capabilities.

How do I refactor a Kotlin module to adopt Jetpack Compose UI patterns?

Refactoring a Kotlin module to adopt Jetpack Compose UI patterns involves applying sealed class state modeling and null safety constructs. This modern UI composition approach integrates smoothly with existing coroutine and Flow data streams.

Can I use Ktor server patterns alongside Kotlin Multiplatform and Compose?

Ktor server patterns can be used alongside Kotlin Multiplatform and Compose to unify backend and client architectures. This combination leverages shared suspend functions and Flow streams across Android, iOS, and server environments.

Do I need detekt and ktlint to enforce Kotlin code quality in a Multiplatform project?

Detekt and ktlint are needed to enforce Kotlin code quality in a Multiplatform project by validating null safety and type-safe DSL idioms. Integrating these tools ensures consistent code quality checks across shared and platform-specific modules.