reviewing-java

reviewing-java is a skill for Claude Code from rootbr/rooted. It costs 181 tokens per session (4,735 once invoked), scanned A, original, Apache-2.0.

A structured reviewer for Java branches, pull requests, and diffs. A diff is the exact set of code changes between two versions, and each reported problem must point to evidence in those changes.

In plain words
What is it for?
Use it to find verified bugs and risks in Java changes, review pull requests, and audit a branch against project rules.
Why use it?
It reduces speculative warnings by requiring concrete code evidence and checks changes across areas such as security, concurrency, reliability, performance, and maintainability.

Skill for Claude Code

Written for Claude Code: disallowed-tools in frontmatter. Also seen: mentions subagents; names the NotebookEdit tool.

Part of the code-quality plugin — 5 skills, 5 agents shipped together

Good fit Use it to find verified bugs and risks in Java changes, review pull requests, and audit a branch against project rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rootbr/rooted/reviewing-java
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 rootbr/rooted --skill reviewing-java
Clone the repo
git clone --depth 1 https://github.com/rootbr/rooted

Made for: Claude Code.

Or install code-quality, the plugin that ships this one along with the rest of its 5 skills, 5 agents.

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 reviewing-java

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootbr/rooted/reviewing-java/github.svg)](https://agentmods.dev/skills/rootbr/rooted/reviewing-java)
Your own site
<a href="https://agentmods.dev/skills/rootbr/rooted/reviewing-java"><img src="https://agentmods.dev/badge/skills/rootbr/rooted/reviewing-java/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 reviewing-java

Your own site · 80×15
<a href="https://agentmods.dev/skills/rootbr/rooted/reviewing-java"><img src="https://agentmods.dev/badge/skills/rootbr/rooted/reviewing-java.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00181 $0.04735
Opus 5.5 $0.00072 $0.01894
Sonnet 5.5 $0.00036 $0.00947
Haiku 4.5 $0.00018 $0.00473

Measured 20d ago against content hash ff8f971f6c4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reviewing-java scanned grade A with 1 finding 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 20d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (evals/fixture/make-fixture.sh, evals/grade.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

description: Java code review — branches, PRs, diffs. Trigger on "review this branch", "find bugs", "what's wrong with this PR", "audit changes", "check diff", "review these Java changes", or any request to review Java c

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

plugins/code-quality/skills/reviewing-java/SKILL.md · 227 lines

How it starts

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

Java Reviewer

You orchestrate a Java code review and deliver verified findings. The rules live as atomic cards in references/review-cards/ — one checkable claim each, an openable source each; a deterministic pre-pass selects the cards a diff triggers and writes a dispatch plan; one Workflow runs a finder per (card by slice) plus a logic pass per slice, aggregates deterministically, and runs a skeptic per finding; a render script writes the two reports. Every finding cites concrete code from the diff — no anchor in the diff, no finding — and the skeptics exist to reject: the report carries only what survived refutation, the decision the design note under research/ at the repository root records.

Quick rules:

  • One confirmation with the user, at the end of Scope; no other question unless every context source is empty.
  • Read-only on the repository: the scripts write only under review/ and the finders and skeptics read; a tree that changed during the run is a compromised review, so the integrity check in Follow-ups is mandatory.
  • No stage runs on Fable; the tiers are claude-opus-5-5 at high, xhigh and max.
  • The plan is never retyped: scripts/bundle-run.py embeds it, and the Workflow call names review/run.js.
  • Before committing a card, an agent prompt or this file: scripts/validate-review-cards.py on the corpus, then the audit (repository Quality Gate).

Phases: Scope → Context → Pre-pass → Workflow → Follow-ups → Report.

Runtime layout under the target repository's review/ (or the config-set report path for the two reports):

review/
├── plan.json                       # pre-pass output: inventory, card index, jobs, slices, candidates, project cards
├── plan.log                        # every merge, split, drop and skip the pre-pass performed
├── run.js                          # the workflow script with this run's arguments embedded (scripts/bundle-run.py)
├── findings.json                   # aggregated findings after the find stage (the cross-session checkpoint)
├── verdicts.json                   # findings with verdicts (and rulings) after the verify stage
├── java-review-<branch>.md         # deliverable 1
└── java-review-<branch>-rejections.md   # deliverable 2

Paths below are relative to this skill's directory unless they start with review/ (the target repository) or plugins/.


Read the full file on GitHub · 227 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 20d ago Changed · -200 lines · +29 tokens per session ff8f971f6c4a
  2. 1mo ago First seen · 427 lines · 152 tokens per session scan A 86a3b1b11965

Subscribe to this mod's changes

reviewing-java is a skill published in the GitHub repository rootbr/rooted (21 stars, last pushed 2d ago), licensed Apache-2.0. It adds 181 tokens to every session and 4,735 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). 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

solid-principles

SOLID principles checklist with Java examples. Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion. For naming, duplication and method length…

decebals/claude-code-java · 73 tokens

concurrency-review

Review Java concurrency code for thread safety, race conditions, deadlocks, and modern patterns (Virtual Threads, CompletableFuture, @Async). Use when user asks "check thread safety", "concurrency review", "async code review", or when reviewing multi-threaded code.

decebals/claude-code-java · 58 tokens

java-code-review

Systematic code review for Java with null safety, exception handling, concurrency, and performance checks. Use when user says "review code", "check this PR", "code review", or before merging changes.

decebals/claude-code-java · 45 tokens

814-regulations-iso-25010

Use when reviewing, designing, or modifying Java enterprise systems and need a structured, repeatable ISO/IEC 25010:2023 quality-attribute review covering Functional Suitability, Performance Efficiency, Compatibility, Interaction Capability, Reliability, Security, Maintainability, Flexibility, and Safety, producing an…

jabrena/plinth · 83 tokens

121-java-object-oriented-design

Use when reviewing, improving, or refactoring Java object-oriented design, including applying SOLID, DRY, or YAGNI; improving classes and interfaces; correcting encapsulation, inheritance, or polymorphism; resolving God Class, Feature Envy, or Data Clumps; and improving object creation, methods, or exception…

jabrena/plinth · 107 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