renseiai/donmai-kits/java-debugging

Claude Code and agent skill by renseiai/donmai-kits

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Diagnose Java compile, Maven, Gradle, dependency, JDK-version, and test failures. Use when JVM project builds fail, hang, or resolve incompatible artifacts.

Install

npx vskill@latest install renseiai/donmai-kits/java-debugging

SKILL.md

Java Debugging

Overview

Debugging Java compile failures, Maven/Gradle build problems, and test failures. Systematic diagnosis for the most common JVM build-tool failure modes.

Triggers

Use this skill when:

  • ./mvnw compile / ./gradlew compileJava fails
  • Maven/Gradle reports dependency resolution errors
  • ./mvnw test fails or hangs
  • Version/JDK mismatch errors (class file has wrong version, release 17)

Debugging Workflow

1. Compile Failures
./mvnw -B compile 2>&1 | grep -E "ERROR|error:" | head -40

Common root causes:

  • Missing import / unresolved symbol — check the dependency is declared
  • release/source/target mismatch — JDK version vs <maven.compiler.release>
  • Generics / type-inference errors — annotate explicitly to localize the fix
2. Dependency Resolution
./mvnw -B dependency:tree 2>&1 | grep -iE "conflict|omitted|error" | head -30

Common root causes:

  • Version conflicts across transitive deps — pin in <dependencyManagement>
  • Wrong/missing repository — check ~/.m2/settings.xml and <repositories>
  • Offline mode without a primed cache — run dependency:go-offline first
3. Test Failures
./mvnw -B test 2>&1 | grep -E "FAIL|ERROR|Tests run" | head -30

Common root causes:

  • NullPointerException — trace the null source; prefer Optional
  • Flaky tests depending on ordering or shared static state
  • Surefire/JUnit version mismatch — align the plugin and the JUnit dependency

Notes

  • This kit assumes a committed Maven wrapper (./mvnw). For Gradle projects,

override the build/test/validate commands via a local .kit.toml manifest.

  • The JDK is provisioned by the toolchain_install scripts (Temurin 17).

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/renseiai/donmai-kits/java-debugging/badge)](https://verified-skill.com/skills/renseiai/donmai-kits/java-debugging)

Something wrong with this skill or its page? Tell us.