Gradle kotlin dsl doctor

From JetBrains/skills · View interactive version

Gradle kotlin dsl doctor is an AI agent skill from the GitHub repository JetBrains/skills. Generate, debug, and repair Kotlin + Spring Gradle builds with minimal, compatible changes. Use when `build.gradle.kts` or `settings.gradle.kts` is failing, plugins or toolchains are incompatible, dependency management is drifting from the Spring Boot BOM, test or runtime classpaths are broken, or a

How to use this skill

Skill file

Gradle Kotlin DSL Doctor

Source mapping: Tier 1 critical skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-04).

Mission

Stabilize the build with the smallest defensible change.

Treat Gradle problems as compatibility and model problems, not only syntax problems.

Read First

Classify The Failure

Classify the problem before editing anything:

Work Sequence

  1. Identify the failing task and the first meaningful error line.
  2. Determine whether the breakage is in plugin resolution, dependency resolution, compilation, test execution, or packaging.
  3. Extract the current version authorities:
  1. Verify whether the project should inherit versions from the Spring Boot BOM instead of declaring them manually.
  2. Patch the narrowest file possible. Prefer module-local fixes over global rewrites.
  3. Recommend the smallest verification command that proves the fix before running the full build.

Kotlin And Spring Checks

Preferred Fix Style

Advanced Build Diagnostics

Expert Heuristics

Output Contract

Return these sections:

Guardrails

High-Signal Commands

Use these when the repository permits command execution:

Quality Bar

A good run of this skill leaves the build model clearer than before and produces a fix that survives CI.

A bad run throws version guesses at the problem, rewrites too much, or ignores the Spring Boot compatibility model.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.