Stop burning tokens on code review

2026年8月15日

AI 摘要 AI 生成,可能有误

作者描述了尝试各种方法以让人类和 AI 智能体快速且安全地发布代码,并得出结论:自定义 linter(代码检查工具)是一种有效的解决方案。他们认为,随着工程团队产出的代码比以往任何时候都多,快速且低成本的防护机制和反馈回路至关重要,这对智能体和人类开发者同样适用。

I've been experimenting with different approaches to build a system where humans and agents can ship fast safely. Think I've found something that works – custom linters.

Engineering teams produce more code than ever. I'm sure you've noticed. But you can't ship faster than you can validate and keeping the slop cannons safe is the architect or principal engineer's job. Or whatever you call the designated adult in the room :)

Here's what you need: Guardrails and feedback loops. They should be fast and cheap and apply to everyone writing code. Agent and human alike.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Swizec Teller

Hillclimbing your prompts

AI 摘要The article describes using hillclimbing to recursively self-improve a prompt for a blog article category classifier. After a few iterations, the classifier's precision improved dramatically from 28.7% to 70.6%, though recall slightly decreased from 51.7% to 47.3%. Overall, the author reports the approach worked wonderfully, with F1 score rising from 36.9% to 56.7%.

Software has no value

AI 摘要The article argues that software has no inherent value, humorously noting that nobody buys software just to admire it. Instead, software is merely a means to an end, and its true worth lies in what it enables people to accomplish.

How do we auto-approve and merge 60% of PRs?

AI 摘要The author, still overwhelmed by code review, explains how they raised auto-approved and merged pull requests to about 16% and aims to reach 60%. They argue that 100% automation isn't realistic because some changes are high-risk, require coordinated deployments, or need additional feedback before they're ready. They also note that manual review preserves valuable mentoring opportunities for junior team members.

No more tech debt

AI 摘要The author celebrates completing a design system migration for the first time in their career, finding the new math on big rewrites gratifying. They argue that at scale, a company is perpetually mid-migration or mid-rewrite, since organizations change every few months and systems built years ago become unfit for purpose. Therefore, how a team handles these migrations is what truly matters.

When code is cheap, judgement becomes the job

AI 摘要The author describes working at a 21-person engineering organization that ships code with remarkable velocity—merging multiple times per day, auto-approving 16% of pull requests, and letting AI write 97% of their code—while still maintaining reliability in a business where outages cost thousands of dollars. The central takeaway is that when AI makes writing code cheap and fast, human judgment becomes the engineer's primary job.