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.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.svg" alt="Measured on agentmods" 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 $0.00032 $0.00497
Sonnet 5 $0.00013 $0.00199
Haiku 4.5 $0.00006 $0.00099

Measured 8d ago against content hash 710105537e6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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. 8d 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 (179 stars, last pushed 4d ago), licensed MIT. It adds 64 tokens to every session and 994 once invoked, about $0.0003 per session on Opus 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

oracle-debug

Disciplined debugging methodology. Triggers on bug reports, test failures, "debug this", "diagnose this", unexpected behavior, build failures, integration issues, or performance regressions. Find root cause before a permanent corrective fix; contain urgent harm safely first.

martinffx/atelier · 56 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

troubleshooting-investigator

Structured troubleshooting and bug investigation workflow for something failing NOW. Use when debugging failing tests, production issues, regressions, flaky behavior, errors, logs, broken builds, performance problems, or unclear symptoms. For tracing why a past failure really happened use root-cause; for understanding…

CassioRoos/godfly-skills · 77 tokens

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

code-review

Reviews code for bugs, security issues, and best practices.

promptfoo/promptfoo · 11 tokens

trace

Use when encountering bugs, test failures, runtime errors, broken builds, or "this doesn't work" reports. Systematic root-cause analysis before any patch — never blind-patches symptoms. Standalone, ends with a final-integration review of the fix. Trigger with /hyperflow:trace, "debug this", "find the root cause", "why…

jeremylongshore/tons-of-skills-marketplace · 84 tokens