News ·
Hide your slop PR descriptions behind
Simon Willison shares a workflow for AI-generated pull requests: a short human-curated opener on top, with the full agent-written description collapsed inside GitHub Markdown <details><summary> tags.

Simon Willison's projects are now mostly changed via PRs opened by coding agents like Claude Code or Codex, which he uses as his unit of work for bundling commits and documenting decisions. The problem: agent-written PR descriptions are accurate and comprehensive, describing the problem, solution, and verification steps, but they read like slop and put readers off, even when the author is Willison himself.
His fix uses the <details><summary> HTML elements, which GitHub Markdown supports in issues and PR descriptions. The PR starts with a short, human-selected opening paragraph giving a high-level explanation, sometimes with a screenshot. The full agent-written text then sits behind a collapsed section labeled with the model name and effort level, such as "Claude Opus 5.5 Medium". Sometimes the intro is agent-written text he has selected from the larger description, but his promise is that the opener represents his human judgement about what is worth reading.
He lists examples from Datasette, datasette-agent, and LLM pull requests using the pattern. He also shares a mnemonic: say "details-summary" aloud, since its two-then-three syllable rhythm makes the tag order easy to remember, and wishes GitHub would add an editor button for it.
For anyone merging agent-authored PRs, this is a practical formatting pattern: it keeps the detailed machine-generated record intact while giving reviewers a human-filtered summary, making AI-heavy repositories more readable.
References
- Simon Willison · simonwillison.net
Read the full story at Simon Willison ↗Like, save or discuss on Buzz


