Simon Willison uses <details> tags to collapse AI-generated PR descriptions
Understand the story
On November 9, 2026, Simon Willison shared a low-cost tip on his blog: GitHub Markdown natively supports the <details><summary> HTML tags, which he uses to collapse verbose PR descriptions generated by models like Claude Code or Codex, keeping only a manually written high-level summary outside the collapsed block so reviewers can quickly grasp the key points. He also uses the collapsed heading to note the model and effort level used for generation, such as "Claude Opus 5.5 Medium", so others can tell at a glance which model and configuration produced the description.
AI overview of reporting · Updated 3 h前
Reporting timeline
Explore different aspects of the story through its reporting.
- Simon WillisonHide your slop PR descriptions behind <details><summary>
Simon Willison shares a low-cost trick: use the <details><summary> tags supported by GitHub Markdown to collapse verbose PR descriptions generated by Claude Code or Codex, keeping only a short human-written high-level note at the top, with the model name and effort level as the collapsible header (e.g. Claude Opus 5.5 Medium).
Story heat trend
Current heat9·Comparable peak10(11/9 13:00)·Comparable change over 24 hours –
The trend compares the same continuously observed sources, which may cover fewer sources than the current heat score. Hover or select the chart to inspect each hour; use the left and right arrow keys to navigate.