Expert guidance for Kotlin Coroutines: structured concurrency, safe scopes, Dispatchers, cancellation, exception handling, and testing.
npx claudepluginhub santimattius/structured-coroutinesExpert guidance for Kotlin Coroutines: structured concurrency, safe scopes, Dispatchers, cancellation, exception handling, and testing. Use when reviewing or writing Kotlin/Android async code. Includes a playbook and per-practice reference files.
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Production-ready workflow orchestration with 79 focused plugins, 184 specialized agents, and 150 skills - optimized for granular installation and minimal token usage
Browser automation for AI agents
A comprehensive toolkit for enforcing structured concurrency in Kotlin Coroutines, inspired by Swift Concurrency. It provides multiple layers of protection through compile-time checks and static analysis.
| Module | Status | Documentation |
|---|---|---|
| Compiler Plugin | ✅ Complete (12 rules) | gradle-plugin/README.md |
| Gradle Plugin | ✅ Complete | gradle-plugin/README.md |
| Detekt Rules | ✅ Complete (19 rules) | detekt-rules/README.md |
| Android Lint | ✅ Complete (21 rules) | lint-rules/README.md |
| IntelliJ Plugin | ✅ Complete (15 inspections, 13 quick fixes, 6 intentions, tool window) | intellij-plugin/README.md |
| Annotations | ✅ Complete | annotations/README.md |
| Sample | ✅ Compilation examples per rule | compilation/README |
| Sample (Detekt) | ✅ Detekt rule validation (19 examples) | sample-detekt/README.md |
| Kotlin Coroutines Agent Skill | ✅ AI/agent guidance | kotlin-coroutines-skill/README.md |
Kotlin Coroutines are powerful but can be misused, leading to:
GlobalScoperunBlocking in suspend functionsCancellationExceptionThis toolkit enforces structured concurrency best practices through:
| Module | Purpose | When |
|---|---|---|
compiler | K2/FIR Compiler Plugin | Compile-time errors |
detekt-rules | Detekt custom rules | Static analysis |
lint-rules | Android Lint rules | Android projects |
intellij-plugin | IntelliJ/Android Studio Plugin | Real-time IDE analysis |
annotations | @StructuredScope annotation | Runtime/Compile |
gradle-plugin | Gradle integration | Build configuration |