跳到主内容
精选80Boris Cherny技巧与观点

Claude 接管应用维护:388 个 PR 的自动化实验

A weird experiment I've been trying the last few weeks is having Claude take ove…

原文
推荐理由

做 AI 工程自动化的同学必看,这套用 Claude 维护应用的例程设计很具体,有 PR 数量和合并率数据,可以直接参考搭建自己的自动化维护流程。

A weird experiment I've been trying the last few weeks is having Claude take over day-to-day maintenance of our apps. Seeing early signs of life that this might be possible.

过去几周,我一直在尝试一个奇怪的实验,让Claude接管我们应用的日常维护。初步迹象表明,这可能是可行的。

The setup is straightforward: we have a Slack channel called proj-claude-maintains-apps. In it, Claude Tag runs a bunch of daily routines across iOS, Android, Desktop, web, CLI, and Agent SDK:

设置很简单:我们有一个名为proj-claude-maintains-apps的Slack频道。在其中,Claude Tag在iOS、Android、桌面、网页、CLI和Agent SDK上运行一系列日常任务:

  • Crash fuzzer: open the app in a simulator and tap around to find ways to crash it, then root cause and fix the crashes - Dup unifier: scans the codebase for similar-yet-slightly-divergent abstractions, and puts up PRs to unify them - Dead-code remover: removes statically unreachable code, and adds logging to suspected dead code to check if it's really dead and if so, remove it the next day - Abstraction police: fixes leaky abstractions - a bunch more..
  • 崩溃模糊测试:在模拟器中打开应用并点击,寻找崩溃方式,然后定位原因并修复崩溃 - 重复统一器:扫描代码库中相似但略有差异的抽象,并提交PR以统一它们 - 死代码移除器:移除静态不可达代码,并向疑似死代码添加日志以检查其是否真的无用,如果是,则第二天移除 - 抽象警察:修复泄漏的抽象 - 还有更多……

Results have been surprisingly positive. Over the last few weeks, these routines have opened 388 PRs across our repos, 180 of which we merged after Claude Code Review + human review. We're now thinking about how to streamline this to make merging these kinds of mechanical changes easier.

结果出乎意料地积极。在过去几周里,这些任务在我们的仓库中开启了388个PR,其中180个在Claude代码审查和人工审查后合并。我们现在正在考虑如何简化这一流程,使合并这类机械性更改更加容易。

Claude generally gets these PRs right on the first shot, and if it doesn't, we ask Claude to tune its routines so it's better the next day. Sometimes it takes a few days of tuning.

Claude通常第一次就能正确完成这些PR,如果不行,我们会要求Claude调整其任务,以便第二天做得更好。有时需要几天的调整。

To try a similar workflow, ask Claude Code or Tag, or create some routines directly at https://claude.ai/code/routines. A few of the actual prompts I used below.

要尝试类似的工作流程,可以询问Claude Code或Tag,或直接在https://claude.ai/code/routines创建一些任务。以下是我使用的一些实际提示。

Has anyone experimented with similar workflows?

有没有人尝试过类似的工作流程?

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近