Teaches AI agents to write idiomatic Kotlin instead of Java-in-a-.kt-file.
98
98%
Does it follow best practices?
Impact
99%
1.20xAverage score across 8 eval scenarios
Passed
No known issues
?, Not OptionalString?, User?, List<String>? — is the idiom for "this value may be absent"Optional<T> is the Java workaround for a language without nullable types. Kotlin has them. Use them.Optional<String> from a Kotlin API forces callers to interop with Java's wrapper for no benefit; return String? and let ?. / ?: do the work?. for safe navigation: user?.profile?.email?: for fallback: name ?: "anonymous"?.let { … } to run a block only when the value is present!! is reserved for cases where null would be a bug and you want a clear NPE — never use it to silence the compilerT? and let the type system protect you!! or platform types — that's how NullPointerExceptions smuggle into Kotlin code@JvmName and clear nullability so the Java side sees the contract too