AgentSkillsCN

code-reviewer

对 Java 代码进行最佳实践、安全问题以及 Spring Framework 约定的审查。适用于用户请求对代码进行审查、分析或审计时使用。

SKILL.md
--- frontmatter
name: code-reviewer
description: Reviews Java code for best practices, security issues, and Spring Framework conventions. Use when user asks to review, analyze, or audit code.

Code Reviewer

Instructions

When reviewing code:

  1. Check for security vulnerabilities (SQL injection, XSS, etc.)
  2. Verify Spring Boot best practices (proper use of @Service, @Repository, etc.)
  3. Look for potential null pointer exceptions
  4. Suggest improvements for readability and maintainability
  5. Provide specific line-by-line feedback with code examples