Kotlin tooling
Skill ComeOnOliver/skillshub/skills/HoangNguyen0403/agent-skills-standard/kotlin-tooling
Standards for Gradle Kotlin DSL, Version Catalogs, and MockK for Kotlin projects. Use when configuring build.gradle.kts, setting up libs.versions.toml, adding MockK for tests, or choosing between Kotlin-compatible test assertion libraries. (triggers: build.gradle.kts, libs.versions.toml, detekt.yml, mockk, kts, version catalog, kotest)From its SKILL.md
npx -y skills add ComeOnOliver/skillshub --skill kotlin-toolingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.4 KB, 245 tokens by cl100k_base, as published. Nobody here has run it
Kotlin Tooling Standards
Priority: P2 (RECOMMENDED)
Consistent build and quality verification tools.
Implementation Guidelines
- Gradle DSL: Use Kotlin DSL (
build.gradle.kts) exclusively — type safety and better IDE support. - Version Management: Use Version Catalogs (
libs.versions.toml). - Linter: Use Ktlint for formatting and Detekt for complexity/code-smell analysis.
- Testing: Use MockK for mocking (first-class Kotlin support). Use JUnit 5.
- Assertions: Use Truth or Kotest Assertions for fluent, readable test output.
Anti-Patterns
- No Groovy Gradle: Use Kotlin DSL (build.gradle.kts) exclusively; avoid legacy build.gradle.
- No Mockito in Kotlin:
when/thenconflicts with Kotlinwhen; use MockK (every/verify). - No Hardcoded Versions: Manage all versions in libs.versions.toml; never inline in build files.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.