moai-lang-kotlin

Architect Kotlin 2.0 Multiplatform applications with coroutines and Compose Multiplatform UI.

Updated Nov 24, 2025
One-click install
npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-lang-kotlin-jg-chalk-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-kotlin
Source: https://github.com/jg-chalk-io/Nora-LiveKit/tree/main/.claude/skills/moai-lang-kotlin
Command: npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-lang-kotlin-jg-chalk-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill delivers Kotlin 2.0 multiplatform architecture with coroutines and Compose Multiplatform.

Core Features & Use Cases

  • KMP patterns: shared logic across platforms.
  • Coroutines & concurrency: structured concurrency.
  • UI: Compose Multiplatform.

Quick Start

Set up a basic common module with coroutine-based async calls and a small platform-specific target.

Frequently Asked Questions about moai-lang-kotlin

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

FAQPage Schema
How do I build Kotlin Multiplatform applications with shared code across mobile, backend, and web?

Kotlin Multiplatform (KMP) enables shared business logic across platforms through a common module with expect/actual declarations. This Skill provides architecture patterns and structured concurrency patterns using coroutines to handle async operations consistently across iOS, Android, backend, and web targets.

What's the best way to handle async operations in Kotlin Multiplatform with coroutines?

Structured concurrency with Kotlin coroutines provides type-safe, cancellable async handling across platforms. This Skill covers coroutine patterns, Flow and StateFlow for reactive streams, and concurrency best practices to ensure safe, performant multiplatform applications.

Can I use Compose Multiplatform for UI across different Kotlin targets?

Compose Multiplatform enables declarative, type-safe UI code shared across Android, iOS, web, and desktop from a single codebase. This Skill integrates Compose patterns with KMP architecture and covers testing with Kotest and MockK.

How do I set up a Kotlin 2.0 Multiplatform project with null safety and type-safe domain models?

Kotlin 2.0 enforces null safety and supports type-safe domain models via sealed classes and DSLs. This Skill provides setup patterns for common modules, platform-specific targets, and extension functions to structure enterprise KMP applications.

What security best practices apply when building Kotlin Multiplatform enterprise applications?

Security in KMP requires platform-specific handling for sensitive operations while maintaining shared business logic. This Skill addresses security patterns, performance optimization, and memory considerations across Kotlin 2.0 multiplatform targets.

Do I need separate testing frameworks for Kotlin Multiplatform, or can I share tests?

Kotest and MockK support shared test logic across KMP targets with platform-specific implementations where needed. This Skill covers multiplatform testing patterns to validate coroutines, domain models, and UI logic consistently.