AgentSkillsCN

Code Review

代码审查

SKILL.md

Skill: Code Review

Review code changes for quality, bugs, and best practices.

Steps

  1. Get the list of changed files (from git diff or user input).
  2. Review each file for:
    • Logic errors
    • Security vulnerabilities
    • Code style consistency
    • Test coverage
    • Documentation
  3. Provide constructive feedback.
  4. Do NOT modify files without user approval.

Output format

  • Summary of files reviewed
  • Issues found (categorized by severity)
  • Suggestions for improvement