LogoClawIndex
CasesSkillsAbout
LogoClawIndex

kotlin-patterns - Apply idiomatic Kotlin development patterns

Provides Kotlin patterns and best practices for null safety, immutability, sealed hierarchies, coroutines, DSL builders, and Gradle Kotlin DSL.

Tags

Updated: 2026-10-04
Kotlincoroutinesnull safetyimmutabilityDSLGradle

Capabilities

Apply null safetyPrefer immutable dataModel sealed hierarchiesUse structured concurrency

Typical Inputs

Kotlin source codeKotlin module requirementsLibrary design requirements

Typical Outputs

Kotlin code changesGradle configuration changesCode review guidance

What this skill does

  • Apply null safety
  • Prefer immutable data
  • Model sealed hierarchies
  • Use structured concurrency
  • Build reactive Flows
  • Define extension functions
  • Create type-safe DSLs
  • Configure Gradle Kotlin DSL

Inputs

  • Kotlin source code
  • Kotlin module requirements
  • Library design requirements
  • Gradle build configuration

Outputs

  • Kotlin code changes
  • Gradle configuration changes
  • Code review guidance
  • Refactoring guidance

Requirements

  • Kotlin development environment
  • Coroutine and Flow support when used

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.