Стиль кода для IntelliJ Platform

★ 7.9 · documentation

code-style is a Claude Code skill that enforces code style rules for the IntelliJ Platform codebase and should be applied whenever writing or reviewing code for style compliance. Kotlin is required for all new files; Java is allowed only when modifying existing Java code, with idiomatic patterns such as extension functions, data classes, and null safety. Formatting rules include 2-space indentation (4 spaces for Go files and the `/rustrover` directory), a 140-character line length limit, and `else`/`catch`/`finally` placed on new lines. Build-script code follows separate conventions: `@JvmField` for internal data class fields, explicit `HashMap`/`HashSet`/`LinkedHashMap` types instead of `mutableMapOf()`/`mutableSetOf()`, and `.put()`/`.get()` calls instead of the `[]` operator. The skill is intended for IntelliJ plugin and platform developers who need a consistent, reviewable codebase.