上一课里,你让一个小功能依次经过了规划者、开发者和评审者,也看到了为什么评审者必须是另一个独立的智能体。这一课要把评审者变成一门真正的规矩。代码评审指的是一个智能体去读另一个智能体的成果,在它进入产品之前先把不对的地方揪出来,这是一个团队能养成的性价比最高的质量习惯。你会在工作区里跑一个评审者,读它给出的问题,然后决定哪些要动手处理。你不用一行一行地读代码,也不用写任何代码。
评审流程是每一处改动从提出走到被接受要经过的那条路。开发者智能体做完一块工作,把它提出来。在这份工作被认可之前,评审者智能体要先读它,然后把结论报回来。只有评审干净了,这处改动才会被合并,也就是并进真正的产品里,去到客户手上。让这套流程能立住的规矩很短:没评审过的一律不合并。小改动不行,紧急的不行,开发者拍胸脯说没问题的也不行。你一旦开了口子,问题就是从这些口子里溜进来的。 ...
你将学到什么
- The review process: how a change goes from proposed to reviewed to merged, and why nothing merges unreviewed
- Why the reviewer must be a different agent from the author, so it reads with fresh eyes
- Quality checks: whether the work meets the requirement, is clear, and has nothing missing or broken
- refactoring: improving the structure of working code without changing what it does
- Security reviews: flagging unsafe patterns such as trusting user input without checking it
- Acting on findings as the leader, deciding what to fix without reading the code line by line
用你的语言阅读本课
探索其他课程
从零到精通 Claude47 节, 8.4小时
Vibe 编程:基础12 节, 4.5小时
Prompt Engineering11 节, 6.2小时
Python19 节, 9.3小时
Git13 节, 5.9小时
Docker13 节, 6.6小时
Kubernetes14 节, 8小时
TypeScript18 节, 7.7小时
Go20 节, 12.3小时
React17 节, 10.2小时
Linux17 节, 8.5小时
Ansible12 节, 6.1小时
Bash12 节, 5.7小时
Helm10 节, 5.4小时
GitLab CI11 节, 5.8小时
Jenkins11 节, 5.3小时
PostgreSQL14 节, 7.6小时
MySQL13 节, 6.8小时
Web14 节, 5.9小时
Vibe Coding12 节, 5.8小时
Vibe 编程:从原型到生产12 节, 5.5小时
Vibe 编程:高级工程12 节, 7.3小时