AgentSkillsCN

review

审查代码变更,确保其质量符合最佳实践。

SKILL.md
--- frontmatter
name: review
description: Review code changes for quality and best practices
allowed-tools: "ReadFile, ListFiles, Bash"

When asked to review code:

  1. Run git diff to see current changes
  2. Read the modified files for full context
  3. Check for:
    • Code quality and readability
    • Potential bugs or edge cases
    • Security issues
    • Performance concerns
    • Missing error handling
  4. Provide structured feedback with specific line references