jeffallan avatar

Kotlin Specialist

This one walks you through modern Kotlin patterns with a clear workflow that gates progress on actual linting and cancellation checks. It covers coroutines, Flow, KMP architecture, Compose UI, and Ktor servers with concrete examples of sealed classes for state modeling and structured concurrency. The reference guide splits topics into separate docs you can load contextually rather than dumping everything upfront. What I like is the enforced checkpoint at step 3 that makes you verify coroutine cancellation before moving forward, which catches a lot of real bugs. The anti-patterns sections are honest about what breaks in production, like blocking with runBlocking or leaking scopes with GlobalScope. Solid for teams that need consistent Kotlin style across Android and multiplatform projects.

skills.sh installs
5.4K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Code Review & Quality, Mobile Development, Java & JVM, Design & UI/UX

More from jeffallan/claude-skills

All 66
1affaan-m avatarquarkus-patternsaffaan-m/eccQuarkus 3.x LTS architecture patterns with Camel for messaging, RESTful API design, CDI services, data access with Panache, and async processing. Use for Java Q5.4Kskills.sh installs
2affaan-m avatarflox-environmentsaffaan-m/eccCreate reproducible, cross-platform (macOS/Linux) development environments with Flox, a declarative Nix-based environment manager. Use when setting up project t5.4Kskills.sh installs
3affaan-m avatartinystruct-patternsaffaan-m/eccExpert guidance for developing with the tinystruct Java framework. Use when working on the tinystruct codebase or any project built on tinystruct — including cr5.3Kskills.sh installs
4grafana avatark6grafana/skillsGenerate, validate, and review k6 test scripts — load, stress, spike, soak, smoke, breakpoint, functional, and protocol. Covers HTTP, WebSocket, gRPC, browser, 5.3Kskills.sh installs
5samber avatarchrome-extensionsamber/cc-skillsComprehensive guide for building Chrome extensions with Manifest V3. Use this skill whenever the user mentions Chrome extension, browser extension, manifest.jso5.3Kskills.sh installs
6affaan-m avatarprediction-market-risk-reviewaffaan-m/eccReview prediction-market, basket, oracle, and trading-agent workflows for compliance, safety, data-quality, privacy, and execution risk. Use before any workflow5.3Kskills.sh installs