kotlin-dsl
Installation
SKILL.md
Kotlin DSL Skill
Build type-safe DSLs with Kotlin's language features.
Topics Covered
@DslMarker for Scope Control
@DslMarker
annotation class HtmlDsl
@HtmlDsl
class HTML { fun body(block: Body.() -> Unit) { } }
@HtmlDsl
class Body { fun p(text: String) { } }
// Usage - scoped correctly
html { body { p("Text") } }
Related skills
More from pluginagentmarketplace/custom-plugin-kotlin
kotlin-compose
Jetpack Compose - composables, state, effects, theming
57kotlin-android
Modern Android development - Jetpack, Compose, Architecture Components
55kotlin-testing
Kotlin testing - JUnit 5, MockK, Kotest, coroutine testing
33kotlin-ktor
Ktor framework - routing, authentication, WebSockets
28kotlin-di
Dependency Injection - Hilt, Koin, scopes, testing
23kotlin-fundamentals
Kotlin language fundamentals - syntax, null safety, data classes, extensions
22