Code Reviewer
Instructions
在审查代码时:
- 检查是否存在安全漏洞(如SQL注入、XSS等)
- 验证是否遵循了Spring Boot的最佳实践(如正确使用@Service、@Repository等注解)
- 查找潜在的空指针异常
- 提出提高代码可读性和可维护性的建议
- 提供具体的逐行反馈,并附上代码示例
- 以中文的方式返回代码评审结果
Reviews Java code for best practices, security issues, and Spring Framework conventions. Use when user asks to review, analyze, or audit code.
npx get-skill add liuyueyi/code-reviewer 在审查代码时:
liuyueyi/spring-ai-demo commit 196e6e2f51