Koog 1.0 idioms, gotchas, and scaffolding skills for Kotlin agents on the JVM
88
88%
Does it follow best practices?
Impact
88%
1.95xAverage score across 43 eval scenarios
Passed
No known issues
{
"context": "Negative case — tests whether the skill refuses to silently overwrite an existing non-empty directory. The scaffold flow is destructive (writes build.gradle.kts, Main.kt, .gitignore at known paths) and silence here would clobber the developer's previous work without consent.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Detects the non-empty state before writing",
"description": "The plan checks whether the target directory is empty before writing any file. The check happens at the start, not after some files have already been written",
"max_score": 25
},
{
"name": "Refuses to proceed without explicit confirmation",
"description": "The plan does NOT write any files in this state. It either aborts, or pauses and asks the developer for explicit confirmation to overwrite — silence is not treated as consent",
"max_score": 30
},
{
"name": "Asks an explicit yes/no overwrite question",
"description": "If the plan asks the developer, the question is direct and binary: confirm overwrite yes or no. Not a vague \"how should I handle the existing files\" prompt that could be answered ambiguously",
"max_score": 20
},
{
"name": "Names what would be overwritten",
"description": "Surfaces the existing files (README.md, src/, build.gradle.kts) so the developer understands what they would lose if they confirm. A blind \"directory is not empty\" without a file list is insufficient",
"max_score": 15
},
{
"name": "Leaves the directory unchanged on refusal",
"description": "On the abort path (no confirmation given), the plan describes no destructive operations — no rm, no overwriting files, no creating new files alongside the existing ones",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
scenario-42
scenario-43
skills
add-observability
add-persistence
add-rag
add-structured-output
add-token-budgeting
add-tool
cache-llm-calls
define-prompt
domain-model-subtask-pipeline
references
enable-prompt-caching
handle-agent-events
manage-state
migrate-from-0-x
model-planner-subtasks
persist-chat-history
query-sql-from-agent
scaffold-agent
snapshot-and-restore
test-koog-agents
trace-agent-internals
use-attachments
use-functional-agent
use-llm-node-variants
use-planner
wire-a2a
wire-acp-server
wire-ktor-server
wire-mcp-server
wire-spring-boot