Java Code Review
Java code review checklist covering null safety, exception handling, concurrency, and idioms for pull requests.
- CCM score
- 66 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 779
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers a systematic pass over null safety, exception handling, collections and streams, concurrency, Java idioms, resource management, API design, and performance
- Provides before-and-after Java snippets for each category, with flags to raise and suggested fixes
- Requires findings to be grouped by severity as Critical, Improvements, or Minor/Style, plus good practices observed
- Designed for reviewing a pull request or feature before merging, or when a user asks for a code review
Install
$ npx -y skills add decebals/claude-code-java --skill java-code-review -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Java Code Review Skill
Systematic code review checklist for Java projects.
When to Use
- User says "review this code" / "check this PR" / "code review"
- Before merging a PR
- After implementing a feature
Review Strategy
- Quick scan - Understand intent, identify scope
- Checklist pass - Go through each category below
- Summary - List findings by severity (Critical → Minor)
Output Format
## Code Review: [file/feature name]
### Critical
- [Issue description + line reference + suggestion]
### Improvements
- [Suggestion + rationale]
### Minor/Style
- [Nitpicks, optional improvements]
### Good Practices Observed
- [Positive feedback - important for morale]
Review Checklist
1. Null Safety
Check for:
// ❌ NPE risk
String name = user.getName().toUpperCase();
// ✅ Safe
String name = Optional.ofNullable(user.getName())
.map(String::toUpperCase)
.orElse("");
// ✅ Also safe (early return)
if (user.getName() == null) {
return "";
}
return user.getName().toUpperCase();
Details
- Repository
- github.com/decebals/claude-code-java
- Categories
- Code Review & Quality, Java & JVM
- First seen
- Jun 3, 2026
Questions
What does the java-code-review skill check in Java code?
java-code-review runs a systematic checklist over Java code covering null safety, exception handling, concurrency, collections and streams, Java idioms, resource management, API design and performance. It sorts its findings by severity, from Critical down to Minor, and also notes good practices it observes. It is meant for reviewing a file, feature or pull request before merging.
When does Claude Code load the java-code-review skill?
The java-code-review skill loads when you say things like "review code", "check this PR", "code review", or before merging changes. You can also call it directly as /java-code-review. Claude Code picks it from its name and description, so the phrasing you use matters.
How do I install the java-code-review skill?
Run npx -y skills add decebals/claude-code-java --skill java-code-review -y inside your project to install the java-code-review skill alone. Once installed, Claude Code can apply its Java review checklist to your code. The skill is listed under Code Review & Quality on Claude Marketplaces.
Which other skills sit next to java-code-review in its category?
In the Code Review & Quality category, java-code-review sits alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Its own focus is Java specifically, with checks tied to Java idioms such as Optional, try-with-resources and records-era equals and hashCode.
More from decebals/claude-code-java
All 18- Clean Code494
- Concurrency Review449
- Solid Principles449
- Architecture Review436
- Design Patterns428
- Spring Boot Patterns417
- Java Migration409
- Security Audit404
- Performance Smell Detection396
- Test Quality392
- Api Contract Review363
- Maven Dependency Audit358
- Jpa Patterns349
- Logging Patterns346
- Changelog Generator293
- Git Commit293
- Issue Triage283
Similar to Java Code Review
More Code Review & Qualitycode-review-checklistsickn33/agentic-awesome-skills1.4K installsComprehensive review checklist covering functionality, security, performance, quality, and tests for pull requests.
concurrency-reviewdecebals/claude-code-java449 installsJava concurrency review skill covering virtual threads, Spring @Async pitfalls, and CompletableFuture error-handling patterns.
code-reviewgetsentry/skills6K installsSentry-style code review guide that checks PRs for runtime, performance, security, and test gaps.
architecture-reviewdecebals/claude-code-java436 installsAnalyze Java project architecture for package structure, module boundaries, dependency direction, and layering.
code-review-excellencegalaxy-dawn/claude-scholar381 installsStructured review workflow and checklists that shift code review toward knowledge sharing and constructive feedback.
code-review-proonewave-ai/claude-skills2.6K installsDeep code review that finds security, correctness, performance, and maintainability issues with severity-ranked, evidence-backed fixes.