Hide your slop PR descriptions behind simonwillison.net · 7 points · 0 comments ...
HN Best 200 @best
Hide your slop PR descriptions behind
TL;DR Simon Willison describes his practice of hiding long AI-written pull request descriptions inside an HTML details/summary block on GitHub. He keeps a short, human-written opener visible, with an optional screenshot, and puts the full agent-generated text under a collapsed summary that names the model and effort level. He includes five datasette and llm PR examples and a mnemonic for the tag order.
- Coding agents like Claude Code and Codex write accurate, comprehensive PR descriptions, but Willison finds them too long to read and easy to recognize as AI-written.
- He writes or selects a short opening paragraph for each PR to explain what it is for and whether it deserves attention.
- The full agent-written text sits inside a
block, which GitHub Markdown renders as a collapsed heading.
- The summary line names the model and effort level, such as 'Claude Opus 5.5 Medium', so readers know what they are looking at.
- Examples include datasette PR #3052 (row page redesign), PR #3043 (pagination bar), PR #3042 (on-demand JS loading) and llm PR #1838 (openai endpoint commands).
- He suggests remembering the tag order by saying 'details-summary' aloud and wishes GitHub had an editor button for inserting the tags.
Discussion The story has no comments yet, so there is no discussion to summarize. It was posted with 7 points and no replies at the time of capture.
#aiCodingAgents #pullRequests #githubMarkdown #htmlDetailsSummary #simonWillison