LogoClawIndex
CasesSkillsAbout
LogoClawIndex

kotlin-patterns - Apply idiomatic Kotlin patterns

Provides Kotlin patterns and conventions for null safety, immutability, sealed types, coroutines, extensions, DSL builders, and Gradle Kotlin DSL.

Tags

Updated: 2026-10-04
Kotlincoroutinesnull safetyimmutabilitysealed classesDSLGradle

Capabilities

Apply null safetyPrefer immutable dataModel sealed hierarchiesUse structured concurrency

Typical Inputs

Kotlin source codeKotlin module designsKotlin library designs

Typical Outputs

Kotlin code recommendationsCode review guidanceRefactoring guidance

What this skill does

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

Inputs

  • Kotlin source code
  • Kotlin module designs
  • Kotlin library designs
  • Gradle Kotlin DSL builds

Outputs

  • Kotlin code recommendations
  • Code review guidance
  • Refactoring guidance
  • Kotlin build configuration guidance

Requirements

    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.