What problem does it solve?
When writing or refactoring Kotlin backend code in the BK-CI project, developers often lack a single source of truth for project-specific style rules, leading to inconsistent formatting, naming, and null-safety practices across the codebase.
Core Features & Use Cases
- File Structure and Formatting Rules: Enforces UTF-8 encoding, 4-space indentation, 120-character line width, and bans wildcard imports.
- Naming and Function Design Guidance: Covers package, class, and variable naming, plus guidance on named arguments, early returns, and single-responsibility functions.
- Null Safety and Project Conventions: Promotes
?. and ?: over !!, immutable collections, and BK-CI-specific practices like avoiding fully-qualified class path calls.
- Use Case: When refactoring a
.kt service file, consult this Skill to verify that long parameter lists use named arguments, imports contain no wildcards, and nullable values are handled idiomatically.
Quick Start
Review this Kotlin file against the BK-CI backend conventions and point out any violations in naming, formatting, or null safety.