superpowers-review

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Review Skill

代码审查Skill

When to use this skill

何时使用该Skill

  • before delivering final code changes
  • after implementing a planned set of steps
  • before merging or shipping
  • 在交付最终代码变更前
  • 在完成一组计划的实现步骤后
  • 在合并或发布前

Severity levels

严重级别

  • Blocker: wrong behavior, security issue, data loss risk, broken tests/build
  • Major: likely bug, missing edge cases, poor reliability
  • Minor: style, clarity, small maintainability issues
  • Nit: optional polish
  • Blocker:行为错误、安全问题、数据丢失风险、测试/构建失败
  • Major:潜在Bug、遗漏边界情况、可靠性不足
  • Minor:代码风格、清晰度、小型可维护性问题
  • Nit:可选的优化完善

Checklist

检查清单

  1. Correctness vs requirements
  2. Edge cases & error handling
  3. Tests (adequate coverage, meaningful assertions)
  4. Security (secrets, auth, injection, unsafe defaults)
  5. Performance (obvious hotspots, N+1, unnecessary work)
  6. Readability & maintainability
  7. Docs / comments updated if needed
  1. 正确性与需求匹配度
  2. 边界情况与错误处理
  3. 测试(覆盖充分、断言有意义)
  4. 安全性(密钥、认证、注入风险、不安全默认配置)
  5. 性能(明显热点、N+1问题、冗余操作)
  6. 可读性与可维护性
  7. 必要时更新文档/注释

Output format

输出格式

  • Blockers
  • Majors
  • Minors
  • Nits
  • Overall summary + next actions
  • Blockers
  • Majors
  • Minors
  • Nits
  • 整体总结 + 后续行动