总结

1. review阶段

  1. local code agent
  2. git repo
  3. saas service
  4. benchmark

2. review维度

  • security
  • bug
  • Performance
  • Maintainability
  • Test Coverage
  • Code Style
  • Document
  • Cross-file Impact

3. review指令

  • 仓库级规范文件:AGENTS.md、REVIEW.md、.cursorrules、.github/copilot-instructions.md、.rules/* 等
  • path级规范文件:src/api/**下模块级instructions

4. continuous learning

  • 团队在 PR 对话中的反馈(接受/忽略建议)自动沉淀为 Learnings
  • Learnings 影响后续所有 review,持续变得更懂团队习惯

5. benchmark

review意见的北极星指标

  • 可读性
  • 详细程度
  • 信噪比(SNR)
  • p95 延迟
  • 成本
  • 用户接受率

评论