java-code-reviewer
Skill by Arize-ai
Reviews Java OpenInference instrumentation packages for correctness and completeness against project standards. Built for maintainers checking new instrumentors, pull requests, and existing instrumentor code. Findings are graded by severity.
Install java-code-reviewer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Arize-ai/openinference /tmp/openinference && mkdir -p ~/.claude/skills && cp -r /tmp/openinference/.agents/skills/java-code-reviewer ~/.claude/skills/java-code-reviewerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Arize-ai/openinference /tmp/openinference && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openinference/.agents/skills/java-code-reviewer ~/.gemini/antigravity-cli/skills/java-code-reviewerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
java-code-reviewer is an agent skill that reviews Java OpenInference instrumentation packages for correctness and completeness. It checks a package's Gradle setup, its tests, its use of OpenInference semantic conventions, and its span lifecycle and hierarchy. Findings are reported with file paths and line numbers, grouped as Critical, High, Medium, or Low.
Before reporting a finding, the skill tells the assistant to read the instrumented library's source, either from the local Gradle cache or a sources jar from Maven Central. If that source cannot be obtained, the skill says the user must be told that findings were not verified. Results appear in a severity table followed by notes on what works well. The skill is aimed at maintainers reviewing new instrumentors, pull requests that change them, or existing instrumentor code.
Written from the project's SKILL.md and checked against it.
What it can do
- Gradle setup reviewChecks the instrumentor's build.gradle, dependency scopes, and module registration in settings.gradle.
- Test coverage reviewChecks that tests assert all span attributes, error handling, context propagation, and TraceConfig masking.
- Semantic conventions checkVerifies spans set required OpenInference attributes and use SemanticConventions constants.
- Span lifecycle reviewChecks that span.end() and scopes are closed and that parent-child span nesting is correct.
- Library source verificationReads the instrumented library source before flagging findings, to avoid assumptions about its behavior.
- Severity table reportPresents findings with severity, section, description, and file location, plus notes on what works well.
What you need
- Java project with Gradle
- Access to Maven Central if the library sources are not cached locally
Try asking
- Review the instrumentor in openinference-instrumentation-openai for correctness.
- Audit the java instrumentation package I just changed and list severity-ranked findings.
- Check the Java code in this PR against OpenInference project standards.
Good to know
- Applies only to OpenInference Java instrumentation packages under java/instrumentation/.
- Findings depend on reading the instrumented library source; if it cannot be obtained, the skill says so.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/java-code-reviewer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to java-code-reviewer
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
java-code-reviewer: common questions
What does the java-code-reviewer skill check?
It checks Gradle setup, test patterns, OpenInference semantic conventions, and span lifecycle and hierarchy in a Java instrumentor package. Each finding is given a severity of Critical, High, Medium, or Low.
Does it verify findings against the library being instrumented?
Yes. The skill instructs the assistant to read the library source first, from the Gradle cache or Maven Central, before presenting findings.
When should I use this skill?
Use it when reviewing a new Java instrumentor, a pull request that modifies one, or when auditing an existing instrumentor's code quality.
How do I install java-code-reviewer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is java-code-reviewer free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is java-code-reviewer safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to java-code-reviewer?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
