skills/kotlin/kotlin-language/SKILL.md
Write idiomatic Kotlin 1.9+ with null safety, sealed classes, and expression syntax. Use when working with Kotlin null safety, data classes, sealed interfaces, extension functions, or migrating Java code to Kotlin.
npx skillsauth add hoangnguyen0403/agent-skills-standard kotlin-languageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
val by default. Only use var if mutation required locally.? for nullable types. Use safe call ?. and Elvis ?: over !!.fun foo() = ... for one-liners. Use if/try as expressions.data class for DTOs. Use sealed interface/class for state hierarchies (e.g., Success, Error, Loading). Access members as computed property rather than function.StringUtil). Keep private/internal if module-specific."$var" over concatenation. Use "" for multiline strings (SQL/JSON).development
Standardize SRS and FRS specifications for technical behavior, interfaces, data contracts, quality constraints, and verification mapping. Use when writing SRS, functional specification, system behavior requirements, API/data contracts, or non-functional thresholds.
development
Standardize BRD and BRD-lite discovery for business goals, stakeholder impact, current-to-future state, and measurable value outcomes. Use when creating BRD, business case, project justification, ROI narrative, or AS-IS to TO-BE scope.
development
Implements a strict Red-Green-Refactor loop to ensure zero production code is written without a prior failing test. Use when: creating new features, fixing bugs, or expanding test coverage.
testing
Standardize PRD discovery and drafting for product scope, user outcomes, requirement IDs, and acceptance criteria. Use when creating PRD, product requirements, feature specification, or acceptance criteria plan.