kotlin patterns - Conventions and refactoring patterns for Kotlin code
Provides conventions and refactoring patterns for Kotlin code quality and deprecated API updates.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Remove non-null assertion operators
- Remove redundant safe call operators
- Replace var with val
- Use Duration overloads for delay
- Remove author code signatures
- Use Kotlin parsing extensions
- Update deprecated CSVParser usage
- Convert Lombok builders to data-classes
Inputs
- Kotlin source files
Outputs
- Refactored Kotlin source code
Requirements
- Kotlin runtime and compiler
- Apache Commons CSV library
- Lombok library
