skills/engineering/kotlin-coroutines/SKILL.md
Kotlin structured concurrency, Flow, and Channel patterns.
npx skillsauth add notque/claude-code-toolkit kotlin-coroutinesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Umbrella skill for Kotlin coroutine development: structured concurrency, cancellation, Flow, StateFlow/SharedFlow, Channels, exception handling, and dispatchers. Routes to the correct reference based on the task at hand.
| Signal | Load These Files | Why |
|---|---|---|
| Concurrency | concurrency-patterns.md | Scopes, cancellation, dispatchers, exception handling |
| Flow | flow-patterns.md | Flow builders, StateFlow, SharedFlow, operators |
| Channels | channel-patterns.md | Producer-consumer, fan-in/fan-out patterns |
| Failure modes | preferred-patterns.md | GlobalScope, unstructured launch, CancellationException |
Classify the task into one or more domains, then load the corresponding reference files. Only load what is needed -- do not load all references for every task.
| Domain | Load Reference | When |
|--------|---------------|------|
| Concurrency | references/concurrency-patterns.md | Scopes, cancellation, dispatchers, exception handling |
| Flow | references/flow-patterns.md | Flow builders, StateFlow, SharedFlow, operators |
| Channels | references/channel-patterns.md | Producer-consumer, fan-in/fan-out patterns |
| Failure modes | references/preferred-patterns.md | GlobalScope, unstructured launch, CancellationException |
Multiple domains may apply. For example, reviewing code that uses both Flow and Channels
should load both flow-patterns.md and channel-patterns.md.
Read the selected reference file(s) using ${CLAUDE_SKILL_DIR}/references/<name>.md.
Each reference contains the full patterns, code examples, and decision matrices for that
domain. Follow the instructions in the reference as if they were this skill's instructions.
Apply the loaded reference patterns to the task. Use the code examples as templates for implementation guidance.
CoroutineDispatcher as a parameter so callers (and tests) can control threading.Exception.documentation
Document translation: quick/normal/refined modes with chunked parallel subagents and glossary support.
development
AI image generation: Gemini and Nano Banana backends; single/series/batch workflows with prompt-to-disk.
testing
Unified voice content generation pipeline with mandatory validation and joy-check. 13-phase pipeline: LOAD, GROUND, STATS-CHECKPOINT, GENERATE, HOOK-GATE, VALIDATE, REFINE, VARIETY-GATE, JOY-CHECK, ANTI-AI, CLOSE-GATE, OUTPUT, CLEANUP. Use when writing articles, blog posts, or any content that uses a voice profile. Use for "write article", "blog post", "write in voice", "generate content", "draft article", "write about".
documentation
Critique-and-rewrite loop for voice fidelity validation.