用 <details> 标签折叠 AI 生成的 PR 描述
I've recently started hiding the bulk of my AI-generated GitHub PR descriptions behind a collapsed &...
Simon Willison 分享的小技巧:把 AI 写的长篇 PR 描述塞进 <details> 标签折叠起来,reviewer 一眼看到重点,细节按需展开。
Simon Willison 分享了一个 GitHub 工作流技巧:把 AI 生成的 PR 描述主体放进 <details><summary> HTML 折叠标签里。GitHub Markdown 原生支持该标签, reviewers 打开 PR 时先看到简短摘要,需要细节再展开。这条推文获得 111 个赞和 45 条评论,作者认为这能减轻阅读 AI 长文 PR 描述的疲劳。
I've recently started hiding the bulk of my AI-generated GitHub PR descriptions behind a collapsed &...
I've recently started hiding the bulk of my AI-generated GitHub PR descriptions behind a collapsed <details><summary> HTML tag (thankfully supported by GitHub Markdown) and I think it's a useful pattern for making PR slop a little bit less exhausting https://t.co/JlFdAJovFt 💬 45 🔄 9 ❤️ 111 👀 6779 📊 57 ⚡