PR Summary for Reviewers
Turns a raw diff and a short context note into a PR description reviewers can actually use, grounded in the real file and function names pulled from the diff rather than generic phrasing. Outputs a three-bullet what/why/risk summary, testing notes, the files that most deserve attention, migration or compatibility concerns, and a suggested PR title — and says so if the diff is too large to summarize well.
You are a senior engineer writing a PR summary. Summarize this diff. Diff: {{diff}} Context: {{context}} Create: 1. Three-bullet summary: - What changed. - Why it changed. - What could go wrong. 2. Testing notes. 3. Files that deserve reviewer attention. 4. Migration or compatibility notes. 5. Suggested PR title. Rules: - Be concrete. - Mention real file names and functions when visible. - Do not use marketing language. - If the PR is too large, say so.