moai-lang-kotlin

Generate Kotlin 2.0+ code for Ktor server applications and Compose Multiplatform projects.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/CJ-1981/excel-processor --skill moai-lang-kotlin-cj-1981
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-kotlin
Source: https://github.com/CJ-1981/excel-processor/tree/main/.claude/skills/moai-lang-kotlin
Command: npx skills add https://github.com/CJ-1981/excel-processor --skill moai-lang-kotlin-cj-1981

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert assistance for developing modern applications using Kotlin 2.0+, covering a wide range of frameworks and idiomatic patterns.

Core Features & Use Cases

  • Kotlin 2.0+ Development: Leverage the latest language features, K2 compiler, and multiplatform capabilities.
  • Framework Expertise: Master Ktor for server-side development, Compose Multiplatform for UI, and Exposed for database interactions.
  • Use Case: You are building a new microservice using Ktor and need guidance on setting up authentication, defining routes, and integrating with a PostgreSQL database using Exposed.

Quick Start

Use the moai-lang-kotlin skill to generate a basic Ktor server setup with Koin dependency injection and JWT authentication.

Frequently Asked Questions about moai-lang-kotlin

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

FAQPage Schema
How do I set up a Ktor server with Koin dependency injection and JWT authentication?

To set up a Ktor server with Koin and JWT, you configure the Ktor application module, initialize Koin for dependency injection, and install the JWT authentication plugin to validate tokens. This Skill generates the boilerplate code and idiomatic Kotlin patterns for this server setup.

How do I integrate Exposed SQL framework with a PostgreSQL database in Kotlin?

You integrate Exposed with PostgreSQL by defining database connection parameters and creating table objects using Exposed's DSL. This Skill provides expert guidance on writing type-safe SQL queries and managing database transactions within your Kotlin application.

How do coroutines and Flow work in Kotlin 2.0+ for asynchronous programming?

Coroutines and Flow in Kotlin 2.0+ enable asynchronous programming by suspending executions without blocking threads and emitting multiple values sequentially. This Skill offers advanced patterns for structuring concurrency and managing streams of data using Flow.

Can I use Compose Multiplatform for UI development across different platforms?

You can use Compose Multiplatform to share UI logic and render native interfaces across platforms like Android, iOS, and Desktop. This Skill provides code generation and framework expertise for building applications using Compose Multiplatform.

What's the best way to test Kotlin applications using MockK and Kotest?

The best way to test Kotlin applications using MockK and Kotest is by leveraging MockK for mocking dependencies and Kotest for assertion frameworks. This Skill includes advanced testing patterns to ensure robust verification of your Kotlin code.

Does this Kotlin development approach work with Gradle Kotlin DSL for build configuration?

This Kotlin development approach works seamlessly with Gradle Kotlin DSL, allowing you to programmatically define build scripts. This Skill covers build configuration with Gradle Kotlin DSL to manage your project dependencies and compilation tasks.