kotlin-coroutines
スター0
フォーク0
更新日2025年11月6日 08:26
Coroutine usage guardrails for Kotlin backend reviewers
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Coroutine usage guardrails for Kotlin backend reviewers
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Kotlin backend layering and packaging guidelines
SQL data access best practices for AIRBot reviewers
Security review guardrails for AIRBot
Testing expectations for AIRBot reviewers
TypeScript style standards for AIRBot reviewers
| name | kotlin-coroutines |
| description | Coroutine usage guardrails for Kotlin backend reviewers |
| license | MIT |
runBlocking anywhere other than top-level entrypoints (resources, main) or when explicitly bridging to blocking code with the correct dispatcher.async { ... }.await() immediately, or using async just to change dispatchers.AsyncResponse (Dropwizard) to wrap blocking DAO calls instead of true suspend flows.suspend up through managers/resources or wrap legacy blocking code with withContext(Dispatchers.IO).getUserBlocking) rather than ad-hoc runBlocking.runBlocking matches the underlying workload (usually Dispatchers.IO).AsyncResponse is only applied to non-blocking suspend flows (Cosmos, service clients with await/executeAwait). Flag usages that simply wrap JDBI or other blocking calls.async/await pairs used sequentially with direct calls; use concurrent async only when awaiting later.withContext, not async, and that blocking calls inside suspend functions are guarded with the appropriate context.Grep for runBlocking, .await(), executeSync, or AsyncResponse to inspect how coroutines and blocking APIs mix.Read affected managers/resources to trace whether suspend functions bubble correctly.Glob modules like *Manager.kt, *Resource.kt, and *Dao.kt when you need broader context about call chains.