kotlin-java-migration
Installation
SKILL.md
Java to Kotlin Migration
The target is equivalent capability and behavior, not similar-looking code. A compiling Kotlin project is only an intermediate state.
Non-negotiable completion contract
- Every in-scope Java production class, interface, enum, record, annotation, nested type, constructor, method, field-backed contract, and externally visible behavior is recorded.
- Every record is
IMPLEMENTED,ADAPTEDwith evidence, or explicitly out of scope with approved rationale. No silent omission, stub, unfinished marker, or placeholder counts. - Java semantics for values, errors, ordering, state, concurrency, serialization, reflection metadata, resources, and side effects are preserved unless an intentional, documented change is approved.
- Kotlin-native design may replace Java mechanics, but it must not reduce capability.
- Completion is not declared until
kotlin-java-migration-testingpasses the full source-suite and differential gates.
Required workflow
1. Freeze scope and baselines
Record source/target commits, Java/JDK/Gradle/Kotlin versions, modules, generated sources, supported platforms, feature flags, external services, and exclusions. Capture the Java build and test baseline before implementation.