Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lingxling/kotlin
Language-specific super-code guidelines for kotlin.
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
1 fixed20 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
I wrote a Kotlin ViewModel class for handling user authentication state with StateFlow and async coroutines, but I suspect it contains common anti-patterns and suboptimal coroutine handling. Please review the code and provide a revised version that adheres to clean Kotlin and coroutine practices.
| Checked | Without skill | With skill |
|---|---|---|
| The implementation uses the update function on MutableStateFlow. | Missed | Passed |
| The implementation removes redundant async await calls when invoking suspend functions. | Passed | Passed |
The instructions your model reads when the skill loads.
Prefer scope functions and stdlib transforms over imperative loops.
// ❌ Verbose
val result = mutableListOf<String>()
for (item in items) {
if (item.isActive) {
result.add(item.name.uppercase())
}
}
// ✅ Idiomatic
val result = items.filter { it.isActive }.map { it.name.uppercase() }
// ❌ Manual grouping
val map = mutableMapOf<String, MutableList<Item>>()
for (item in items) {
map.getOrPut(item.category) { mutableListOf() }.add(item)
}
test cases passed, vs 20 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.