Kotlin Development Standards
Enforces modern Kotlin coding standards including null safety, functional error handling, and Exposed ORM patterns.
This skill equips Claude with specialized knowledge of robust Kotlin development patterns, focusing on functional error handling using the Either type and strict null safety by banning unsafe operators. It provides detailed guidance for implementing the Exposed ORM, including soft-delete logic and transaction routing between primary and replica databases. By integrating these practices, the skill ensures that generated code is type-safe, maintainable, and follows enterprise-grade architecture for managers, controllers, and DTO conversion patterns.
Key Features
01Optimizes database performance with specific transaction routing for primary and replica nodes.
02Enforces strict null safety by banning the !! operator in favor of safe calls and smart casts.
0378 GitHub stars
04Automates DTO conversion using standardized companion object factory patterns.
05Standardizes Exposed ORM usage with UUIDTable, TEXT types, and soft-delete logic.
06Implements functional error handling using Either types to replace exception-based flows.
Use Cases
01Scaffolding backend services using Exposed ORM with pre-configured soft-delete and transaction rules.
02Refactoring legacy Kotlin codebases to adopt functional error handling and improved null safety.
03Performing automated code reviews to ensure compliance with enterprise Kotlin patterns and anti-pattern avoidance.