java-code-review

java-code-review is a skill for Claude Code from sivaprasadreddy/sivalabs-agent-skills. It costs 64 tokens per session (994 once invoked), scanned A, original, MIT.

A review procedure for Java code that examines changed files for bugs, duplicated logic, maintenance problems, and missing tests.

In plain words
What is it for?
Use it to review a specified Java scope or the files changed in Git and record actionable findings in `review.md`.
Why use it?
It turns a code review into a written, evidence-based report while keeping production code unchanged unless fixes are explicitly requested.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the java-dev plugin — 7 skills, 1 agent shipped together

Good fit Use it to review a specified Java scope or the files changed in Git and record actionable findings in review.md.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sivaprasadreddy/sivalabs-agent-skills/java-code-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sivaprasadreddy/sivalabs-agent-skills --skill java-code-review
Clone the repo
git clone --depth 1 https://github.com/sivaprasadreddy/sivalabs-agent-skills

Made for: Claude Code.

Or install java-dev, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for java-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/sivaprasadreddy/sivalabs-agent-skills/java-code-review/github.svg)](https://agentmods.dev/skills/sivaprasadreddy/sivalabs-agent-skills/java-code-review)
Your own site
<a href="https://agentmods.dev/skills/sivaprasadreddy/sivalabs-agent-skills/java-code-review"><img src="https://agentmods.dev/badge/skills/sivaprasadreddy/sivalabs-agent-skills/java-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for java-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/sivaprasadreddy/sivalabs-agent-skills/java-code-review"><img src="https://agentmods.dev/badge/skills/sivaprasadreddy/sivalabs-agent-skills/java-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.00994
Opus 5.5 $0.00026 $0.00398
Sonnet 5.5 $0.00013 $0.00199
Haiku 4.5 $0.00006 $0.00099

Measured 1mo ago against content hash 710105537e6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

java-code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/java-code-review/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Java Code Review

Perform a focused, evidence-based review of Java code and write the findings to review.md in the repository root unless the user specifies another location. This skill reviews code; do not modify production code unless the user explicitly asks for fixes.

Establish the review scope

  1. If the user explicitly specifies files, classes, packages, commits, or a diff, use that scope and do not silently broaden it.
  2. Otherwise inspect the git worktree and review modified, added, or renamed files. Use git status --short and the relevant git diff (including staged changes when present). For renamed files, review the resulting file and the meaningful diff.
  3. Include only Java and Java-adjacent files relevant to behavior (for example, tests, SQL migrations, configuration, or API schemas) when they affect the reviewed Java code. State the selected scope in the report.
  4. Read enough surrounding code, callers, tests, configuration, and interfaces to validate each finding. Do not report a concern based only on a name or a generic best practice.

Review for

  • Potential bugs: incorrect conditions, null/empty handling, state or transaction errors, exception handling, resource leaks, concurrency issues, security or authorization gaps, API/serialization mismatches, persistence mistakes, and boundary cases.
  • Duplicate code: repeated logic, copy-pasted branches, duplicated mappings/validation, and abstractions that would reduce meaningful drift.
  • Needs improvement: unclear or brittle design, excessive coupling, misleading names, avoidable complexity, test gaps, performance concerns, and violations of established project conventions.

Prioritize correctness and impact over style. Do not flag formatting or an opinionated alternative unless it creates a concrete maintenance, reliability, security, or performance problem. Distinguish confirmed issues from risks or questions, and avoid speculative findings.

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 114 lines · 64 tokens per session scan A 710105537e6d

Subscribe to this mod's changes

java-code-review is a skill published in the GitHub repository sivaprasadreddy/sivalabs-agent-skills (190 stars, last pushed 12d ago), licensed MIT. It adds 64 tokens to every session and 994 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

059-design-atdd

Use when reviewing whether an OpenSpec change's execution goal, acceptance criteria, and implementation or verification tasks are aligned. This should trigger for requests such as Review this OpenSpec change with ATDD; Check acceptance criteria against tasks; Find acceptance criteria without task coverage; Detect…

jabrena/plinth · 93 tokens

053-design-simple-rules

Use when Java design, refactoring, or implementation tradeoffs should be evaluated with Kent Beck's simple design rules, including passes the tests, reveals intention, has no duplication, and has the fewest elements. This should trigger for requests such as Apply simple design rules; Review this design with Beck's…

jabrena/plinth · 86 tokens

056-design-avoid-breaking-changes

Use when you need to review a plan, OpenSpec change, specification, or implementation proposal for breaking-change risk across commands, skills, generated outputs, XML sources, README/docs, tests, CI, APIs, schemas, configuration, data, migration, and release guidance. This should trigger for requests such as Review…

jabrena/plinth · 106 tokens

superpowers

Runs 14 numbered engineering protocols in one pack — brainstorm, spec, plan, scaffold, TDD red-green-refactor, systematic debugging, refactoring, code review, performance, security, docs, git hygiene, release checklist, postmortem. Use when the user says "build this feature properly", "debug this systematically"…

alebgl77/claude-inc · 102 tokens

review-tool

Reviews tool configurations for correctness.

serpro69/claude-toolbox · 9 tokens

review-tool

Reviews tool configurations for correctness.

serpro69/claude-toolbox · 9 tokens