AgentSkillsCN

review

代码审查 checklist

SKILL.md
--- frontmatter
name: review
description: Code review checklist

Code Review

Review the specified code for quality and correctness.

Review Checklist

Correctness

  • Logic handles all cases correctly
  • Edge cases are handled
  • Error handling is appropriate

Security

  • No hardcoded secrets or credentials
  • Input validation at boundaries
  • No injection vulnerabilities

Style

  • Follows project conventions
  • Names are clear and descriptive
  • No dead code or commented-out blocks

Testing

  • Tests cover the changes
  • Tests are meaningful (not just coverage)
  • Edge cases are tested

Performance

  • No obvious inefficiencies
  • Resource cleanup (files, connections)

Usage

code
/review src/my_project/core.py