New advertisers: 50% off your first month with code FIRSTMONTHSee slots
jeffallan avatar

Kotlin Specialist

Idiomatic Kotlin patterns for coroutines, Flow, Compose, Ktor, and multiplatform projects, with null-safety rules.

skills.sh installs
5.6K
GitHub stars
12.5K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers coroutine concurrency, Flow stream handling, KMP architecture, Compose UI, Ktor server setup, and type-safe DSL design
  • Provides sealed-class state modeling, structured concurrency examples, and null-safety and scope-function guidance
  • Enforces no runBlocking in production code, no GlobalScope, and documented justification for any !!
  • Designed for Android with Compose, Kotlin Multiplatform projects, and Ktor servers, with detekt and ktlint validation steps

Install

$ npx -y skills add jeffallan/claude-skills --skill kotlin-specialist -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

Details

Repository
github.com/jeffallan/claude-skills
Categories
Java & JVM, Mobile Apps

More from jeffallan/claude-skills

All 66

Similar to Kotlin Specialist

More Java & JVM