Source time Edition date
Hide your slop PR descriptions behind <details><summary>
把垃圾 PR 描述藏在 <details><summary> 后面
Simon Willison's HTML trick for collapsing AI-generated pull request descriptions helps reviewers skim cluttered code contributions, though it only hides slop rather than fixing the underlying review burden.
Judgment
Simon Willison's decision changes how he opens agent-written PRs: a short human-curated opener stays visible, while the full agent essay is collapsed behind <details><summary>, at the cost of requiring that opener to be genuinely edited.
Basis
Willison writes that Claude Code and Codex now open most PRs in his projects and that their descriptions are accurate and comprehensive but read like slop, triggering “I’m not reading all of that.” His fix uses GitHub-supported HTML: the opening paragraph is the shortest human-approved explanation, sometimes with a screenshot, while the agent-written essay sits inside a collapsed <details><summary>. He labels the summary with model and effort, e.g. “Claude Opus 5.5 Medium,” and cites examples like datasette PR #3052 and llm PR #1838. Mechanism: GitHub Markdown renders the summary as a clickable heading and hides the details until expanded, so readers see the curated top layer first. He also notes edit-tools.js (~220KB) was loaded on every table, row and database page.
Unclear The source does not measure whether collapsed descriptions actually reduce review time or catch fewer defects.
Next Audit the next five agent-written PRs to confirm each opener is human-curated and the collapsed block still preserves verification steps.