Hide your slop PR descriptions behind

Simon Willison has stopped reading full descriptions of pull requests written by AI coding agents.In this articleWhy the summaries failUsing HTML to…

By Vane November 9, 2026 3 min read
Hide your slop PR descriptions behind <details><summary>

Simon Willison has stopped reading full descriptions of pull requests written by AI coding agents.

Why the summaries fail

Willison relies on pull requests to bundle commits, document decisions, and track progress on his projects. These requests are often opened automatically by tools like Claude Code or Codex.

The problem is that the AI-generated descriptions are too detailed. They accurately cover the problem, the solution, and verification steps. They read like slop.

It takes longer for Willison to read the description than it took the agent to write it. He wants human editorial judgement. He wants a short introduction that tells him if the change is worth his time.

Using HTML to hide the text

Willison now hides the bulk of the AI text inside HTML <details><summary> elements. These render as a collapsed heading with a small arrow. Clicking the arrow expands the full text.

The code structure looks like this:

<details>
  <summary>Claude Opus 5.5</summary>
  <h2>The hook</h2>
  Plugins implement <code>register_agent_reference_types(datasette)</code>...
</details>

GitHub supports these tags in Markdown. You can drop them directly into a pull request body and the platform will hide the details by default.

Willison uses the opening paragraph to provide a high-level explanation. He often adds a screenshot to illustrate the change. The full agent-written essay follows inside the collapsed section.

He labels the summary with the model name and effort level. An example is “Claude Opus 5.5 Medium”.

The information remains available. A reader can glance at the opener to get the human-curated summary without reading multiple paragraphs of agent text.

Willison does not always write the introduction himself. Sometimes the agent provides the necessary summary hidden within the larger text. His promise to the reader is that the short opener represents his judgement on what deserves attention.

Recent examples

Here are some recent pull requests where he used this pattern:

The mnemonic

Willison used to struggle with the order of the tags. He asked himself if it was <details><summary> or <summary><details>.

He remembers that the <summary> is the part where you summarise the details. That is the tag for the line of text you click to expand. The <details> element must wrap everything else.

He also refers to the tags as “details-summary”.

That phrase has two syllables followed by three. It rolls off the tongue more smoothly than the three-two punch of “summary-details”.

Saying “details-summary” out loud a few times helps him remember the order.

Willison wishes GitHub would add a button to their Markdown editor for this. He wants to save time typing on his mobile keyboard and help spread the word to other users.

Scroll to Top