kotlin-best-practices

Standardize Kotlin source code with idiomatic patterns and null-safety conventions.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/hiddink-ai/hiddink-harness --skill kotlin-best-practices-hiddink-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-best-practices
Source: https://github.com/hiddink-ai/hiddink-harness/tree/main/templates/skills/kotlin-best-practices
Command: npx skills add https://github.com/hiddink-ai/hiddink-harness --skill kotlin-best-practices-hiddink-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses inconsistencies in Kotlin codebases by providing a standardized set of rules for syntax, formatting, and architectural patterns, ensuring code remains maintainable and idiomatic.

Core Features & Use Cases

  • Idiomatic Enforcement: Standardizes naming conventions, file organization, and formatting to match JetBrains recommendations.
  • Safety & Performance: Promotes null-safety patterns, functional programming, and efficient coroutine usage.
  • Use Case: Use this Skill during a code review to automatically verify that a new feature implementation follows the project's established Kotlin style guide and best practices.

Quick Start

Apply the kotlin-best-practices skill to review the current file for idiomatic improvements and style compliance.

Frequently Asked Questions about kotlin-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce idiomatic Kotlin standards during a code review?

Enforce idiomatic Kotlin standards by applying automated rules to verify naming conventions, file organization, and JetBrains-aligned formatting during code reviews. This ensures new feature implementations remain maintainable and structurally consistent.

What are the best practices for null-safety and coroutines in Kotlin?

Kotlin best practices for null-safety and coroutines involve standardizing null-safety patterns and efficient coroutine usage. This approach promotes functional programming and structural conventions to maintain application performance and safety.

How do I standardize Kotlin source code formatting and syntax?

Standardize Kotlin source code formatting and syntax by applying a standardized set of rules for architectural patterns. This enforces adherence to JetBrains-aligned syntax and formatting guidelines, resolving codebase inconsistencies.

Can I use this to check refactoring compliance for Kotlin features?

You can use this during refactoring to automatically verify that structural conventions and idiomatic patterns are followed. It checks software engineering workflows against established Kotlin style guides and coding standards.

When should I apply Kotlin coding standards to my project?

Apply Kotlin coding standards during code reviews, refactoring, and new feature development to address codebase inconsistencies. This ensures source code remains maintainable, idiomatic, and aligned with JetBrains recommendations.