java-code-review

Review Java code for correctness, safety, and maintainability with severity-based findings.

1|Updated May 30, 2025
One-click install
npx skills add https://github.com/mzffreyvazov/yt-to-spotify2 --skill java-code-review-mzffreyvazov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: java-code-review
Source: https://github.com/mzffreyvazov/yt-to-spotify2/tree/main/.agents/skills/java-code-review
Command: npx skills add https://github.com/mzffreyvazov/yt-to-spotify2 --skill java-code-review-mzffreyvazov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Systematic approach for reviewing Java code using a comprehensive checklist covering null safety, exception handling, collections, concurrency, idioms, resource management, API design, and performance.

Core Features & Use Cases

  • Structured, checklist-based code review guiding consistent assessments across Java projects.
  • Severity-based findings with actionable remediation suggestions.
  • Use Case: Before merging a PR, or during a focused class/file review, to improve code quality and maintainability.

Quick Start

Ask it to review a specific Java file or PR to generate a prioritized findings report.

Frequently Asked Questions about java-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Java code for concurrency and null safety issues?

Java code review systematically checks null safety, concurrency, exception handling, and collections to ensure robustness. It applies a structured checklist to identify issues across Java 17 and 21 projects, delivering severity-based findings with actionable remediation suggestions.

What is the best way to check a Java pull request for resource management and API design flaws?

Checking a Java pull request for resource management and API design flaws involves applying a comprehensive checklist that covers idioms and performance. The review generates a prioritized findings report that guides remediation and quality improvements before merging.

Can I use this Java code review checklist for new features and bug fixes?

Yes, this Java code review checklist can be used for new features and bug fixes. It systematically reviews code for correctness, safety, and maintainability across multiple domains, adapting its severity-based findings to suit the specific context of your changes.

How does a checklist-based Java code review improve maintainability?

A checklist-based Java code review improves maintainability by guiding consistent assessments across projects. It evaluates exception handling, idioms, and API design, delivering structured findings that highlight areas needing remediation to keep the codebase robust.

Does this Java code review support static analysis for Java 17 and 21 projects?

Yes, this Java code review supports static analysis for Java 17 and 21 projects. It systematically evaluates code for correctness and safety across concurrency, collections, and performance domains, producing a structured report of prioritized findings.

Why should I use a structured code review for Java exception handling and collections?

Using a structured code review for Java exception handling and collections ensures consistent assessments of safety and correctness. It identifies potential issues through a comprehensive checklist, delivering severity-based findings that help prevent bugs and improve code quality.