Kotlin language api correctness

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Kotlin language api correctness is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill to statically review Kotlin language-level correctness: nullability and Java-interop platform types, inline functions with reified type parameters past JVM erasure, @JvmInline value-class boxing behavior, statically-dispatched extension functions vs member precedence, and lateinit use

How to use this skill

Skill file

kotlin-language-api-correctness

Purpose

This skill decides whether Kotlin language-level code is safe to ship. Code is safe only when every Java-interop platform type is null-checked or annotation-backed, !! is never applied to an unchecked value, reified generics are confined to inline functions, value-class boxing is correctly assumed for every use site, extension-function dispatch cannot be mistaken for polymorphism, and lateinit properties cannot be read before initialization.

Trigger conditions

When not to use

Lean operating rules

References

Load these only when needed:

Response minimum

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.