Kotlin Skill
Kotlin coroutine patterns and testing: structured concurrency, Flow, StateFlow/SharedFlow, Channels, dispatchers, JUnit 5, Kotest, MockK, and coroutine test dispatchers.
Reference Loading Table
| Signal |
Reference |
Size |
| concurrency, scopes, cancellation, dispatchers, exception handling |
references/concurrency-patterns.md |
~130 lines |
| Flow, StateFlow, SharedFlow, operators, flow builders |
references/flow-patterns.md |
~120 lines |
| Channels, producer-consumer, fan-in, fan-out |
references/channel-patterns.md |
~100 lines |
| GlobalScope, unstructured launch, CancellationException, failure modes |
references/preferred-patterns.md |
~80 lines |
| coroutine skill overview, structured concurrency principles |
references/kotlin-coroutines.md |
~55 lines |
| JUnit 5, Kotest, MockK, runTest, parameterized tests, assertions |
references/kotlin-testing.md |
~290 lines |
Loading rule. Read the references whose signals match the task before responding.
1---2name: kotlin3description: "Kotlin development: coroutines, Flow, Channels, testing with JUnit 5 and Kotest."4user-invocable: false5context: fork6agent: kotlin-general-engineer7routing:8 triggers:9 - "kotlin coroutines"10 - "kotlin structured concurrency"11 - "kotlin Flow"12 - "kotlin Channel"13 - "suspend function"14 - "structured concurrency kotlin"15 - "kotlin testing"16 - "junit kotlin"17 - "kotest"18 - "junit 5 kotlin"19 - "kotlin test dispatcher"20 category: kotlin21 pairs_with:22 - test-driven-development23---2425# Kotlin Skill2627Kotlin coroutine patterns and testing: structured concurrency, Flow, StateFlow/SharedFlow, Channels, dispatchers, JUnit 5, Kotest, MockK, and coroutine test dispatchers.2829## Reference Loading Table3031| Signal | Reference | Size |32|--------|-----------|------|33| concurrency, scopes, cancellation, dispatchers, exception handling | `references/concurrency-patterns.md` | ~130 lines |34| Flow, StateFlow, SharedFlow, operators, flow builders | `references/flow-patterns.md` | ~120 lines |35| Channels, producer-consumer, fan-in, fan-out | `references/channel-patterns.md` | ~100 lines |36| GlobalScope, unstructured launch, CancellationException, failure modes | `references/preferred-patterns.md` | ~80 lines |37| coroutine skill overview, structured concurrency principles | `references/kotlin-coroutines.md` | ~55 lines |38| JUnit 5, Kotest, MockK, runTest, parameterized tests, assertions | `references/kotlin-testing.md` | ~290 lines |3940**Loading rule.** Read the references whose signals match the task before responding.