kotlin-patterns - Idiomatic Kotlin patterns for robust applications
Provides idiomatic Kotlin patterns and conventions for null safety, immutability, sealed types, coroutines, extensions, DSL builders, and Gradle Kotlin DSL.
Tags
Updated: 2026-10-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply null safety
- Prefer immutable data
- Model exhaustive hierarchies
- Structure coroutine concurrency
- Define extension functions
- Build type-safe DSLs
- Configure Gradle Kotlin DSL
Inputs
- Kotlin source code
- Kotlin module or library design
- Gradle Kotlin DSL configuration
- Code review context
- Refactoring context
Outputs
- Kotlin implementation guidance
- Code review feedback
- Refactoring recommendations
- Kotlin code examples
