AIFeed

充分利用开源中的AI

Translation(model translation, not the source's own text)

Making the Most of AI in Open Source

2026 年 11 月 20 日 · 2 分钟阅读

今天我还在 TechMeetup Ostrava 做了一场演讲,讲的是 AI 如何改变了我开发 PHPStan 的工作方式。AI 工具和趋势每周都在变,所以我没有讲那些会随着下一个模型过时的技巧,而是尽量分享一些应该能长久适用的经验。

演讲是捷克语进行的,但我把幻灯片翻译成了英文。每张幻灯片末尾还附有我所讲内容的简短总结,所以你不看录像也能跟上:

  • 我用 AI 做出来的、没有它就不会存在的东西:全部 1100 多个错误标识符的文档,以及 PHPStan Turbo——大约 20 万行 C++,尽管我根本不懂 C++。
  • 日常在 GitHub 上使用 AI:让文档与代码保持同步,以及 phpstan-bot 修复我指派给它的 bug。
  • 一次差点发生的大灾难:一个 issue 里的提示注入本来可能窃取 PHPStan 的机密,我是如何修复的,以及那些与 AI 毫无关系的 GitHub Actions 安全陷阱。
  • 暴民编程 2.0:为什么比起生成好的 pull request,我更愿意收到一个描述清楚的 issue。
  • 人类仍然不可替代的地方:品味、优先级,以及 agent 自己不会想到的点子。
  • 照顾好自己。

点击进入幻灯片,用方向键翻页,或用左下角的控制按钮,它们也能切换全屏。幻灯片也有独立页面,捷克语原版也在那里。

如果你在 GitHub Actions 里运行 AI agent,第三部分是我会最先读的。

Only about 696 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗