Skip to content
Trending story Updating

Simon Willison uses <details> tags to collapse AI-generated PR descriptions

1 reports 1 reporting sources 3 h前 updated

Understand the story

AI overview

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.

11/9
  1. Simon Willison
    Hide 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 –

02.557.51011月9日13:0011月9日14:0011月9日14:0011月9日15:00

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.