This is a thorough Java code review checklist that catches the stuff that actually breaks production: null pointer exceptions, swallowed exceptions, concurrent modification errors, and resource leaks. It walks through eight categories from null safety to performance gotchas, showing bad versus good patterns with real code examples. The format is clean, listing findings by severity from critical to minor, and it reminds you to note good practices too. It's opinionated in the right ways, like preferring Optional over null returns and pushing back on overusing streams. If you're doing PR reviews or need a second set of eyes before merge, this gives you a systematic way to catch issues without relying purely on memory.

skills.sh installs
1.1K
GitHub stars
771
last updated
Aug 21, 2026

Install

$ npx -y skills add decebals/claude-code-java --skill java-code-review --agent claude-code

Installs into .claude/skills of the current project.

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

  1. Quick scan - Understand intent, identify scope
  2. Checklist pass - Go through each category below
  3. 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();

Sponsors

Details

Repository
github.com/decebals/claude-code-java
Categories
Git & Pull Requests, Code Review & Quality, Debugging, Java & JVM
First seen
Jun 3, 2026

More from decebals/claude-code-java

All 18
1lum1104 avatarunderstand-difflum1104/understand-anythingunderstand diff1.1Kskills.sh installs
2kostja94 avatarchangelog-page-generatorkostja94/marketing-skillsWhen the user wants to create, optimize, or structure a changelog or release notes page. Also use when the user mentions "changelog," "release notes," "what's n1.1Kskills.sh installs
3jnmetacode avatarrequesting-code-reviewjnmetacode/superpowers-zh完成任务、实现重要功能或合并前使用,用于验证工作成果是否符合要求1Kskills.sh installs
4jnmetacode avatarfinishing-a-development-branchjnmetacode/superpowers-zh当实现完成、所有测试通过、需要决定如何集成工作时使用——通过提供合并、PR 或清理等结构化选项来引导开发工作的收尾993skills.sh installs
5jnmetacode avatarusing-git-worktreesjnmetacode/superpowers-zh当需要开始与当前工作区隔离的功能开发,或在执行实现计划之前使用——通过原生工具或 git worktree 回退机制确保隔离工作区存在987skills.sh installs
6github avatarpython-pypi-package-buildergithub/awesome-copilotEnd-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI. Covers all four build backends (setuptool950skills.sh installs