shared-coroutines
Pass
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill documents standard architectural patterns for managing asynchronous operations across Android and iOS using Kotlin Coroutines.
- [EXTERNAL_DOWNLOADS]: References official and version-pinned dependencies from the
org.jetbrains.kotlinxgroup, which is a trusted organization. - [SAFE]: Includes guidance on using reputable community plugins like SKIE and KMP-NativeCoroutines to handle Objective-C/Swift interoperability, which are industry-standard tools for KMP development.
- [SAFE]: The provided code examples for Repository and Use Case layers follow the principle of dependency injection (injecting
PlatformDispatcher) and proper exception handling, including the mandatory re-throwing ofCancellationExceptionto ensure coroutine cancellation works correctly. - [SAFE]: The
BackgroundWorkerimplementation includes clear warnings about thread safety in the Kotlin/Native memory model, encouraging the use ofMutexor main-thread confinement for state management.
Audit Metadata