AgentSkillsCN

code-review

从质量、安全性与最佳实践等多个维度对代码进行审查。

SKILL.md
--- frontmatter
name: code-review
description: Review code for quality, security, and best practices

Code Review

Review the specified code for:

Quality Checks

  • Code readability and clarity
  • Naming conventions
  • Function/method length and complexity
  • DRY principle adherence

Security Checks

  • Input validation
  • SQL injection vulnerabilities
  • XSS vulnerabilities
  • Sensitive data exposure

Best Practices

  • Error handling
  • Edge cases
  • Performance considerations
  • Test coverage

Output Format

Provide specific line references and suggested fixes for each issue found.