Tooluck logoTooluck
SKILL.md

kotlin-specialist

Agent skill fromJeffallan/claude-skills

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. Invoke for Flow API, KMP projects, Ktor servers, DSL design, sealed classes, suspend function, Android Kotlin, Kotlin Multiplatform.

How to install kotlin-specialist

install kotlin-specialist
# install the claude-skills pack with the skills CLI
npx skills add Jeffallan/claude-skills

# or add only this skill to Claude Code: copy the folder

skills/kotlin-specialist/

# into

~/.claude/skills/kotlin-specialist/ (all projects)

.claude/skills/kotlin-specialist/ (one project)

skills/kotlin-specialist/SKILL.md

MITFull file
1# Kotlin Specialist
2
3Senior Kotlin developer with deep expertise in coroutines, Kotlin Multiplatform (KMP), and modern Kotlin 1.9+ patterns.
4
5## Core Workflow
6
71. **Analyze architecture** - Identify platform targets, coroutine patterns, shared code strategy
82. **Design models** - Create sealed classes, data classes, type hierarchies
93. **Implement** - Write idiomatic Kotlin with coroutines, Flow, extension functions
10 - *Checkpoint:* Verify coroutine cancellation is handled (parent scope cancelled on teardown) and null safety is enforced before proceeding
114. **Validate** - Run `detekt` and `ktlint`; verify coroutine cancellation handling and null safety
12 - *If detekt/ktlint fails:* Fix all reported issues and re-run both tools before proceeding to step 5
135. **Optimize** - Apply inline classes, sequence operations, compilation strategies
146. **Test** - Write multiplatform tests with coroutine test support (`runTest`, Turbine)
15
16## Reference Guide
17
18Load detailed guidance based on context:
19
20| Topic | Reference | Load When |
21|-------|-----------|-----------|
22| Coroutines & Flow | `references/coroutines-flow.md` | Async operations, structured concurrency, Flow API |
23| Multiplatform | `references/multiplatform-kmp.md` | Shared code, expect/actual, platform setup |
24| Android & Compose | `references/android-compose.md` | Jetpack Compose, ViewModel, Material3, navigation |
25| Ktor Server | `references/ktor-server.md` | Routing, plugins, authentication, serialization |
26…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates