code-review

Audit Java code for naming, formatting, and best practice violations.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/xmx0632/claude-code-demo --skill code-review-xmx0632
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/xmx0632/claude-code-demo/tree/main/Skills-Collection/code-review
Command: npx skills add https://github.com/xmx0632/claude-code-demo --skill code-review-xmx0632

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

提供全面的 Java 代码审查,帮助发现命名、格式、注释、潜在 Bug、性能与安全问题,降低后续维护成本。

Core Features & Use Cases

  • 代码规范与风格检查(命名、格式、注释、导包顺序)。
  • 潜在 Bug 与性能问题分析(空指针风险、资源泄漏、并发问题、查询优化)。
  • 安全与设计评估(SQL 注入、越权、耦合度、SOLID、设计模式)。
  • Use Case: 在合并前对 Java 服务的核心模块进行代码审查,生成清单与修复建议。

Quick Start

Provide the path to the Java project and run the code-review tool to generate a prioritized report of issues and improvement suggestions.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I perform a Java code review to identify potential bugs and security issues?▼

Java code review audits codebases for compliance, potential bugs, performance concerns, and security issues like SQL injection. It analyzes individual files, packages, or entire modules to output a structured report with actionable feedback and improvement suggestions.

Can I review an entire Java module for code quality and best practices?▼

Yes, Java code review supports analyzing entire modules. It audits code quality across varying project sizes, checking naming conventions, formatting, SOLID principles, and design patterns to generate a prioritized report of issues.

What's the best way to check Java code for SQL injection and security vulnerabilities?▼

The best way is a guided security evaluation that audits Java code for SQL injection, unauthorized access risks, and coupling issues. It analyzes the source to prepare a structured, actionable feedback report highlighting security concerns.

Does Java code review cover concurrency problems and resource leaks?▼

Yes, Java code review covers potential concurrency problems and resource leaks. It analyzes the codebase to identify these performance concerns alongside naming violations and formatting issues, outputting a structured report for improvement.

How do I get a prioritized checklist of issues before merging Java code?▼

Provide the path to your Java project and run a code review to generate a prioritized report. It evaluates code quality, best practices, and security, creating an actionable checklist of issues and improvement suggestions for the merge.