引用 David Crawshaw 的提示词
英文标题:Quoting David Crawshaw's prompt
David Crawshaw 提出,可设置一个每晚运行的 cron 任务,让 AI 自动获取指定软件的上游更新,并将本地修改 rebase 到上游版本之上。该任务还应验证软件是否按预期工作,并在确认无误后替换当前版本。这一提示词展示了 AI Agent 在自动化维护开源开发工具、持续同步上游代码和执行基本验证方面的潜在应用。
打开原文相关 7.2 · 机会 5
中文
2026 年 8 月 3 日
Set up a nightly cron job that executes the prompt: fetch upstream changes to the <software> and rebase all local changes on top of upstream. Check that the software works as intended and replace the current version.设置一个每晚运行的 cron 任务,执行以下提示词:获取
<software>的上游变更,并将所有本地修改 rebase 到上游版本之上。检查软件是否按预期运行,并替换当前版本。
— David Crawshaw 的提示词,《Devtools must be open source》
English / 原文
3rd August 2026
Set up a nightly cron job that executes the prompt: fetch upstream changes to the <software> and rebase all local changes on top of upstream. Check that the software works as intended and replace the current version.
— David Crawshaw's prompt, Devtools must be open source