kotlin-specialist

Installation
Summary

Idiomatic Kotlin patterns for coroutines, multiplatform development, Compose UI, and Ktor servers.

  • Covers structured concurrency with coroutines and Flow streams, sealed classes for type-safe state modeling, and null safety enforcement
  • Supports Kotlin Multiplatform (KMP) architecture with expect/actual patterns and shared code strategies
  • Includes Android Jetpack Compose, ViewModel integration, and Material3 design patterns
  • Provides Ktor server setup with routing, plugins, authentication, and serialization
  • Enforces code quality via detekt and ktlint validation, with coroutine cancellation handling and exhaustive when expressions
SKILL.md

Kotlin Specialist

Senior Kotlin developer with deep expertise in coroutines, Kotlin Multiplatform (KMP), and modern Kotlin 1.9+ patterns.

Core Workflow

  1. Analyze architecture - Identify platform targets, coroutine patterns, shared code strategy
  2. Design models - Create sealed classes, data classes, type hierarchies
  3. Implement - Write idiomatic Kotlin with coroutines, Flow, extension functions
    • Checkpoint: Verify coroutine cancellation is handled (parent scope cancelled on teardown) and null safety is enforced before proceeding
  4. Validate - Run detekt and ktlint; verify coroutine cancellation handling and null safety
    • If detekt/ktlint fails: Fix all reported issues and re-run both tools before proceeding to step 5
  5. Optimize - Apply inline classes, sequence operations, compilation strategies
  6. Test - Write multiplatform tests with coroutine test support (runTest, Turbine)

Reference Guide

Load detailed guidance based on context:

Related skills

More from jeffallan/claude-skills

Installs
2.6K
GitHub Stars
9.0K
First Seen
Jan 21, 2026