AgentSkillsCN

pr-review

在提交代码或发起Pull Request之前,使用此方法对变更进行审查。重点关注正确性、安全性、性能与可维护性,同时提供可操作的差异对比或待办事项清单。

SKILL.md
--- frontmatter
name: pr-review
description: Use to review changes before committing/PR. Focus on correctness, security, performance, and maintainability. Provide actionable diffs or TODOs.

Checklist:

  • API compatibility & error handling
  • AuthN/AuthZ assumptions
  • Input validation & logging (no secrets)
  • Tests added/updated and what’s missing
  • Frontend performance/regressions (renders, memoization, data fetching)
  • DX: docs, scripts, onboarding

Output:

  • “Must fix” (blockers)
  • “Should fix”
  • “Nice to have”