Design and generate Kotlin Spring HTTP APIs with correct controller signatures, DTOs, validation, serialization assumptions, error handling, and web tests. Use when building or changing REST endpoints, choosing between MVC and WebFlux, modeling request and response payloads, standardizing error responses, or avoiding Kotlin-specific validation and Jackson mistakes.
72
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No known issues
Source mapping: Tier 1 critical skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-06).
Produce API code that is not only plausible but correct for the repository's actual Spring stack. Generate endpoints, DTOs, validation, and test scaffolding as one coherent unit.
project-context-ingestion output if it already established these facts.@field: use-site targets.@ControllerAdvice or the project's equivalent.@field: targets for Jakarta Bean Validation annotations on constructor properties.null versus absent as a contract decision, especially for PATCH-like behavior.jackson-module-kotlin or equivalent serialization support before relying on Kotlin constructor defaults.val properties unless the project clearly uses a different pattern.suspend functions and Flow<T> when streaming is required.Mono and Flux conventions instead of inventing a hybrid style.400 versus 422 deliberately. Validation and malformed input are not the same as a domain rule violation.201 Created plus Location is part of the contract. Do not default to 200 just because it is easy.ETag and If-Match when concurrent edits matter.Page directly as the public API contract unless the service already standardized on that decision.Return either a ready-to-apply patch plan or concrete files or code blocks containing:
Also return a short explanation of the API contract decisions that materially affect compatibility.
A good run of this skill gives the user an endpoint that compiles, validates, serializes, and fails consistently. A bad run mixes frameworks, gets Kotlin validation wrong, or invents an error model that the rest of the service does not use.
e0f258b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.