kotlin-specialist

Implement Kotlin coroutine patterns and multiplatform code sharing for Android and server-side applications.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/Muath2000/TradeStation --skill kotlin-specialist-muath2000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-specialist
Source: https://github.com/Muath2000/TradeStation/tree/main/.claude/skills/kotlin-specialist
Command: npx skills add https://github.com/Muath2000/TradeStation --skill kotlin-specialist-muath2000

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the development of advanced Kotlin applications, focusing on complex coroutine patterns, multiplatform code sharing, and robust Android/server-side development with functional programming principles.

Core Features & Use Cases

  • Coroutine Expertise: Implement sophisticated asynchronous operations and structured concurrency.
  • Multiplatform Development: Maximize code sharing across JVM, Android, iOS, and other targets.
  • Android & Server-Side: Build idiomatic Android apps with Compose and efficient server-side applications with Ktor.
  • Functional Programming: Leverage Kotlin's expressive syntax for cleaner, more maintainable code.
  • Use Case: Develop a shared business logic module for an Android app and a Ktor backend, utilizing coroutines for all network and I/O operations.

Quick Start

Use the kotlin-specialist skill to refactor the provided Kotlin code to use structured concurrency for all network requests.

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 for network requests in Kotlin coroutines?

To implement structured concurrency for network requests, bind coroutine lifecycles to specific scopes so asynchronous operations cancel properly if the parent scope fails. This pattern prevents memory leaks and manages background tasks safely.

What is the best way to share business logic across Android and iOS using Kotlin Multiplatform?

Sharing business logic across Android and iOS using Kotlin Multiplatform involves writing common modules that compile to both targets. You write platform-agnostic code for data models and logic, using expected and actual declarations only for platform-specific implementations.

How does Kotlin Flow API work for handling asynchronous streams?

The Kotlin Flow API handles asynchronous streams by cold-emitting multiple values sequentially. It allows you to transform, filter, and combine data streams using functional operators, integrating seamlessly with existing coroutine structures for reactive programming.

Can I use Kotlin coroutines with Ktor for server-side applications?

Yes, Kotlin coroutines work with Ktor for server-side applications to handle concurrent requests efficiently. Ktor natively supports suspending functions, allowing you to perform database queries and network operations without blocking server threads.

When should I use sealed classes and extension functions in Android development?

Use sealed classes in Android development to represent restricted class hierarchies for managing UI state events, and use extension functions to add utility methods to existing classes without inheritance. Both promote idiomatic Kotlin code design and maintainability.