#27
AI wall of text in your PR? Hide it under a spoiler
Agents like Claude Code and Codex write detailed PR descriptions, but nobody wants to read them — not even the author. Simon Willison splits the description into a short human-written intro and a collapsible block with the rest 🙂
• at the top — a couple of sentences from a human: what the PR is about and whether it's worth your time
• the agent's full description goes inside
Simon Willison’s WeblogHide your slop PR descriptions behind <details><summary><details>, which works in GitHub Markdown
• in <summary> he puts the model and effort level, for example "Claude Opus 5.5 Medium"
• optionally adds a screenshot
Template:
<details><summary>Claude Opus 5.5</summary> текст агента </details>
⚠️ You'll have to write the intro yourself or fish it out of the agent's text — that's the whole point of the technique.
SourceOpen in Telegram ↗Translated from Russian