Kotlin coroutines flow reliability

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Kotlin coroutines flow reliability is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill to statically review Kotlin coroutine and Flow reliability — structured concurrency and cancellation cooperation, dispatcher selection and blocking-call confinement, cold Flow vs hot StateFlow/SharedFlow semantics and backpressure, and context propagation (transaction, trace, MDC, sec

How to use this skill

Skill file

kotlin-coroutines-flow-reliability

Purpose

This skill decides whether Kotlin coroutine and Flow code is safe to ship. A design is safe only when every launch has a cancellation-owning scope, cancellation is cooperative and CancellationException is always rethrown, blocking work is confined to an I/O dispatcher, Flow hot/cold and sharing semantics match the delivery guarantee, and context that must survive suspension is explicitly bridged across dispatcher switches.

Trigger conditions

When not to use

Lean operating rules

References

Load these only when needed:

Response minimum

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.