Java Code Review
Reviews changed Java code straight from your git worktree and writes a severity-graded review.md with concrete fixes.
Dev & CodingIntermediate★ 166⑂ 40AI score 8/10Last updated: Aug 7, 2026
What it does
- Derives the review scope automatically from
git status --shortandgit diff(modified, added, renamed files), or uses the exact files/classes/packages/diff you name. - Hunts for potential bugs (null/empty handling, transaction and exception errors, resource leaks, concurrency, authorization gaps, serialization/persistence mistakes), duplicate logic, and maintainability issues.
- Validates each finding by tracing control and data flow, checking nearby tests, and optionally running the narrowest compile/test command — no speculative nitpicks.
- Produces a self-contained
review.mdwith Scope, Summary, Findings (Blocker/High/Medium/Low, location, category, confidence, suggested fix), positive observations, and validation notes; asks before overwriting an existing report. - Does not touch production code unless you explicitly request fixes.
Who it's for
- Java/Spring Boot developers who want a rigorous self-review before opening a PR.
- Small teams lacking dedicated reviewers who need consistent review quality.
- Teams that want review results archived as documents.
Examples
- "Review my current changes" → scopes to the working tree diff and writes review.md.
- "Review only the com.example.order package" → stays within that scope.
- "Review the diff against main and save it to docs/pr-review.md" → report written to the requested path.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/sivaprasadreddy/sivalabs-agent-skills/HEAD/skills/java-code-review/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/java-code-review folder from the GitHub repo sivaprasadreddy/sivalabs-agent-skills into my ~/.claude/skills/java-code-review/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/sivaprasadreddy/sivalabs-agent-skills.git && mkdir -p ~/.claude/skills && cp -r sivalabs-agent-skills/skills/java-code-review ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/sivaprasadreddy/sivalabs-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r sivalabs-agent-skills/skills/java-code-review ~/.claude/skills/ - Change into your Java project directory and start Claude Code.
- Ask something like "Review my changed Java code" — the skill runs and generates
review.md. - Run it inside a Git repository so automatic scope detection works.
View source on GitHub ↗License: MIT