Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Java Code Review

Reviews changed Java code straight from your git worktree and writes a severity-graded review.md with concrete fixes.

Dev & CodingIntermediate★ 184⑂ 42AI score 8/10Last updated: Sep 3, 2026

What it does

  • Derives the review scope automatically from git status --short and git 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.md with 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/sivaprasadreddy/sivalabs-agent-skills.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r sivalabs-agent-skills/skills/java-code-review ~/.claude/skills/
  5. Change into your Java project directory and start Claude Code.
  6. Ask something like "Review my changed Java code" — the skill runs and generates review.md.
  7. Run it inside a Git repository so automatic scope detection works.