Polished pull-request description from a raw diff + intent line.
Modality
Text
Model
claude-sonnet-4-6
Write a pull-request description from this diff:
{{diff}}
Intent (one line, what the author was trying to do): {{intent}}
Output as markdown with these sections:
## Why
Two short paragraphs. Lead with the problem this solves or the behavior it changes; only then mention the technical approach. Skip filler like 'This PR introduces…'.
## What changed
Bulleted, one bullet per file or coherent change. Each bullet is one sentence written so a code-reviewer can skip the diff and still know what to look at.
## How to verify
Numbered steps a reviewer can execute. Use exact commands / URLs / inputs. No 'should work' hand-waving.
## Risk
One sentence: what's the worst thing that could go wrong, and what would the user see? Include if there's a rollback / feature-flag.
Tone: terse, technical, no emoji.The 'how to verify' section is the one most authors skip. Forcing exact commands here makes the reviewer's job 90% easier.
Embed
Visitors see the card and can run the prompt on Artinstring with their own account.
<iframe src="https://artinstring.com/embed/pull-request-description" width="100%" height="420" loading="lazy" style="border:0;border-radius:16px;" title="PR Description from a Diff · Artinstring"></iframe>More from Writers' Toolkit
Draft a 'what-to-do-with-this' section for a newsletter, after the news bit (Sonnet 4.6).
in Writers' Toolkit
Translate a half-formed PR comment into one that's direct, kind, and unambiguous (Sonnet 4.6).
in Writers' Toolkit
Generate a tailored design critique checklist for a specific surface (Sonnet 4.6).
in Writers' Toolkit