| name | idiomatic-kotlin |
| description | Reviews Kotlin code for idiomatic style and best practices. Use when reviewing Kotlin code quality, style, or converting Java-style Kotlin to idiomatic Kotlin. |
| tags | ["kotlin","idiomatic","style","review","best-practices","code-quality"] |
Idiomatic Kotlin Review
Reviews Kotlin code for idiomatic patterns and style.
When To Use
- Reviewing Kotlin code for idiomatic style
- Converting Java-style Kotlin to idiomatic Kotlin
- Checking for Kotlin best practices and conventions
Key Areas
- Data Classes — Use data classes for value objects
- Extension Functions — Prefer extension functions over utility classes
- Scope Functions — Appropriate use of let, apply, run, with, also
- Null Safety — Leverage Kotlin's null safety features
- Collections — Use functional collection operations