ddd-kotlin-idioms
Installation
SKILL.md
One-line summary
Translate DDD pattern decisions into idiomatic Kotlin using stdlib only — no framework opinions.
When to use this skill
- A DDD pattern has been chosen (typically via
ddd-implement) and the target language is Kotlin. - The user wants idiomatic code, not pseudocode.
- A code review on Kotlin DDD code asks "what is the right Kotlin construct for this pattern?".
When NOT to use this skill
- The target language is not Kotlin.
- The user is still deciding the pattern — route to a
ddd-corepattern skill first. - The user wants framework-specific scaffolding (Spring annotations, Arrow
Either) — those are out of scope here and will live in future adapter plugins (ddd-kotlin-spring,ddd-kotlin-arrow).
Core content
The mapping. For each DDD pattern, the idiomatic Kotlin construct and the trade-off that motivates the choice.