java-code-review

Review Java code for null safety, exception handling, and performance issues.

700|137|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/decebals/claude-code-java --skill java-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: java-code-review
Source: https://github.com/decebals/claude-code-java/tree/main/.claude/skills/java-code-review
Command: npx skills add https://github.com/decebals/claude-code-java --skill java-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic Java code review to identify null safety gaps, bad exception handling, and performance and design issues, reducing risk in code changes.

Core Features & Use Cases

  • Checks null safety, exception handling, collections, concurrency, idioms, resource management, API design, and performance.
  • Applies to individual classes or PR diffs to surface issues before merging.
  • Produces prioritized findings grouped by severity with actionable recommendations.

Quick Start

Request a review of a specific Java change by saying 'Review the changes in src/main/java/...', and it will output findings grouped by severity.

Frequently Asked Questions about java-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a systematic Java code review for null safety and concurrency issues?

A systematic Java code review identifies null safety gaps and concurrency issues by applying a structured checklist to your classes or PR diffs, producing categorized findings by severity with actionable recommendations.

What is the best way to review Java pull request diffs for exception handling and performance?

Reviewing Java pull request diffs for exception handling and performance is best handled by targeting changes in src/main/java and related test code, surfacing design issues and prioritized findings before merging.

How does a checklist-based Java code review report API design and resource management issues?

A checklist-based Java code review reports API design and resource management issues by categorizing identified problems into severity levels, outputting a readable format with actionable suggestions to reduce risk.

Can I use an automated Java code review for individual classes and test code?

Yes, you can use an automated Java code review for individual classes and test code. It applies static analysis to evaluate idioms, collections, and resource management, generating prioritized findings.

What Java code quality issues should I check before merging a pull request?

Before merging a pull request, you should check Java code quality issues including null safety, bad exception handling, concurrency flaws, API design, and performance problems to reduce risk in code changes.

Does a structured Java code review work with specific source directory paths like src/main/java?

Yes, a structured Java code review works with specific source directory paths like src/main/java by enabling targeted reviews of changes in those directories and their related test code.