kotlin-conventions

Community

Enforce Kotlin conventions in Gradle plugin code.

AuthorClankerGuru
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Kotlin conventions skill enforces project-specific Kotlin coding standards for the Gradle plugin codebase, preventing stylistic drift and ensuring consistent patterns across the repository.

Core Features & Use Cases

  • Enforces runCatching usage for error handling and discourages traditional try/catch patterns, improving reliability and readability.
  • Enforces no println or System.err and directs output to Gradle's logging API for consistent user-facing messages.
  • Prohibits wildcard imports and promotes explicit, strongly-typed Kotlin constructs to improve maintainability.
  • Recommends value-class style usage and consistent DSL and Gradle Kotlin DSL practices for plugin development.
  • Use Case: A large Gradle plugin project migrating from ad-hoc error handling to a consistent Kotlin convention suite.

Quick Start

Run the Kotlin conventions check on your Gradle plugin project to enforce the rules.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kotlin-conventions
Download link: https://github.com/ClankerGuru/opsx/archive/main.zip#kotlin-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.