kotlin-patterns
Idiomatic Kotlin patterns, best practices, and conventions for building robust, efficient, and maintainable Kotlin applications with coroutines, null safety, and DSL builders. Use when writing or reviewing Kotlin code and idiomatic structure or null safety is in question.
- installs 8w
- 1,647
- 30-day movement
- starts with the next reading
- Related entries
- 7
- Connections
- 0
An agent skill that loads idiomatic Kotlin conventions covering null safety, immutability, sealed hierarchies, scope functions, coroutines, delegation, DSL builders, error handling, and Gradle Kotlin DSL. It is organized into when-to-use guidance, a workflow, examples, and core principles with anti-pattern notes.
Reach for it when writing, reviewing, or refactoring Kotlin code where idiomatic structure, null safety, or coroutine usage is in question.
Use it to
- Write new Kotlin code following idiomatic conventions
- Review Kotlin code for anti-patterns
- Refactor existing Kotlin toward val/immutability defaults
- Model restricted hierarchies with sealed classes and interfaces
- Configure Gradle Kotlin DSL builds
For Kotlin developers using AI coding agents
- Host repository
- affaan-m/ECC
- Installs, lifetime
- 3,000
- Installs, 8 weeks
- 1,647
- Host stars
- 261k
- Host language
- JavaScript