
Simon Willison · 4 min readWeb platform
Hide your slop PR descriptions behind <details><summary>
Use GitHub’s <details><summary> tags to collapse lengthy AI‑generated PR descriptions, keeping a concise human‑written intro visible. This technique saves reviewers time while preserving full context. It’s a simple, reusable pattern for any Markdown‑based PR workflow.
- Wrap AI text in <details> to hide it behind a clickable summary.
- Write a short human intro that highlights the PR’s purpose.
- Include screenshots for quick visual understanding.