code-style
Installation
SKILL.md
Code Style
Follow the IntelliJ Coding Guidelines with these IntelliJ-specific rules.
Language
- ALWAYS use Kotlin for new files - Only use Java when modifying existing Java code
- Use idiomatic Kotlin: extension functions, data classes, null safety
- Mark experimental APIs with
@ApiStatus.Experimental - Build scripts Kotlin style: Follow
community/platform/build-scripts/kotlin-style-recommendations.mdfor build-scripts code:- Use
@JvmFieldfor internal data class fields - Use
.put()/.get()instead of[]operator - Use explicit
HashMap/HashSet/LinkedHashMapinstead ofmutableMapOf()/mutableSetOf()
- Use