Converts Java files to idiomatic Kotlin with a disciplined four-step methodology that maintains semantic equivalence while progressively improving the code. Scans imports to detect frameworks like Spring, Lombok, Hibernate, and a dozen others, then applies framework-specific transformations. The workflow handles nullability, mutability, collection types, and common pitfalls like keyword conflicts and SAM conversion. It preserves git history through a two-phase commit approach and validates each conversion with compilation checks. From JetBrains, so this reflects actual production conversion patterns. Most useful when migrating legacy codebases where you need more control and transparency than an automated IDE tool provides.
npx skills add https://github.com/kotlin/kotlin-agent-skills --skill kotlin-tooling-java-to-kotlin