kotlin-specialist

Implement idiomatic Kotlin patterns for coroutines, Flow, multiplatform, Compose, and Ktor.

Updated Jun 16, 2026
One-click install
npx skills add https://github.com/Design-System-ET/genexus-dev-opencode --skill kotlin-specialist-design-system-et
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-specialist
Source: https://github.com/Design-System-ET/genexus-dev-opencode/tree/main/skills/kotlin-specialist
Command: npx skills add https://github.com/Design-System-ET/genexus-dev-opencode --skill kotlin-specialist-design-system-et

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of modern Kotlin development by providing standardized patterns for coroutines, reactive streams, and multiplatform architecture, ensuring code is both idiomatic and maintainable.

Core Features & Use Cases

  • Structured Concurrency: Implements robust coroutine management to prevent memory leaks and ensure proper cancellation.
  • Multiplatform Architecture: Provides guidance on shared code strategies, expect/actual declarations, and platform-specific implementations.
  • Use Case: When building a cross-platform mobile application, use this Skill to design a shared repository layer that handles reactive data streams via Flow and ensures thread safety across Android and iOS targets.

Quick Start

Use the kotlin-specialist skill to refactor the current repository layer to use structured concurrency and Flow for reactive state management.

Frequently Asked Questions about kotlin-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement structured concurrency with Kotlin coroutines to prevent memory leaks?

Structured concurrency in Kotlin coroutines prevents memory leaks by enforcing proper cancellation and scoping. This Skill provides standardized patterns for robust coroutine management, ensuring production-grade Kotlin codebases maintain proper lifecycle boundaries and thread safety.

How do I handle reactive data streams using Kotlin Flow in a multiplatform project?

Reactive data streams using Kotlin Flow handle asynchronous data emission in multiplatform projects. This Skill provides patterns for designing shared repository layers that manage Flow stream handling and ensure thread safety across Android and iOS targets.

Can I use Kotlin Multiplatform to share business logic between Android and iOS?

Kotlin Multiplatform enables sharing business logic between Android and iOS through shared code strategies and expect/actual declarations. This Skill provides architecture guidance for implementing platform-specific code while maintaining a unified reactive repository layer.

What is the best way to model state in Kotlin using sealed classes?

Modeling state in Kotlin using sealed classes ensures type-safe state representation and exhaustive when-statements. This Skill satisfies requirements for sealed class state modeling, providing idiomatic patterns for structured concurrency and maintainable state management.

How do I build a type-safe DSL in Kotlin for domain-specific configuration?

Building a type-safe DSL in Kotlin for domain-specific configuration requires receiver functions and strict scoping rules. This Skill supports type-safe DSL design requirements, providing idiomatic implementation patterns for production-grade Kotlin codebases.

Does this Skill provide guidance on setting up a Ktor server and Compose UI construction?

This Skill provides idiomatic Kotlin implementation patterns for both Ktor server setup and Compose UI construction. It supports Android development with Compose and Ktor server configurations within multiplatform architecture designs.