总结

review阶段

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

review维度

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

review指令

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

continuous learning

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

benchmark

review意见的北极星指标

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

评论