---
paths:
  - "**/*.kt"
  - "**/*.kts"
---

# Kotlin Rules

Version: Kotlin 2.0+

## Tooling

- Build: Gradle with Kotlin DSL
- Testing: Kotest or JUnit 5
- Linting: ktlint, detekt

## Preferred Patterns

- Use coroutines for async
- Use data classes for DTOs
- Use sealed classes for state

## MoAI Integration

- Use Skill("moai-lang-kotlin") for detailed patterns
- Follow TRUST 5 quality gates
