Kotlin Best Practices & Standards

•
78
•

Enforces production-grade Kotlin standards, functional error handling, and robust Exposed ORM patterns for reliable backend development.

This skill equips Claude with specialized knowledge of Kotlin coding standards, focusing on safety, maintainability, and functional programming principles. It implements strict null safety protocols, mandates 'Either' error handling for predictable flow control, and provides architectural patterns for the Exposed ORM, including soft deletes and transaction management. It is particularly useful for developers building high-quality Kotlin services who want to automate code reviews or ensure architectural consistency across their codebase while avoiding common pitfalls like field injection or hardcoded strings.

主な機能

01Automatic DTO conversion patterns via companion object mappers
02Standardized Exposed ORM patterns with UUIDTable and soft deletes
0378 GitHub stars
04Strict null safety enforcement banning the !! operator
05Functional error handling using Either types over exceptions
06Transaction routing rules for database replicas and primary instances

ユースケース

01Conducting automated code reviews to ensure compliance with Kotlin safety standards
02Architecting backend services using Exposed ORM and functional patterns
03Refactoring legacy Kotlin code to use constructor injection and better error handling