{"version":"1.2.0","schema":"https://www.oneagentaday.com/api/schema.json","agent":{"title":"PR Ready","slug":"pr-ready","date":"2026-11-11","issue":68,"category":"coding","categoryLabel":"Coding & Vibe Coding","tags":["git","pull-requests","code-review","vibe-coding"],"difficulty":"easy","runtimes":["ChatGPT","Claude","Gemini","Cursor"],"excerpt":"Paste a messy diff summary and what you meant to ship. Get a PR title and description a reviewer will actually read: what changed, why, how to test, and what you did not touch.","problem":"The feature works on your machine. The PR is still titled \"wip\" with a blank description, and the reviewer has to dig through forty commits to guess what you changed and why.","videoUrl":null,"url":"https://www.oneagentaday.com/agents/pr-ready","apiUrl":"https://www.oneagentaday.com/api/agents/pr-ready.json","promptUrl":"https://www.oneagentaday.com/agents/pr-ready/prompt.txt","configUrl":null,"configFilename":null,"license":"CC-BY-4.0","howItWorks":"A blank PR description is a tax on everyone who reviews your code. They open \"wip\", scroll the diff, and reverse-engineer the story you already know.\n\nThis agent turns a messy branch dump into a pull request a reviewer can scan in under a minute: what changed, why, how to check it, and what you deliberately left alone.\n\n## What to paste\n\nA `git diff --stat` or short commit list, the branch name, and one or two sentences on what you meant to ship. Add the risk you're worried about and anything that is out of scope.\n\n## What you get back\n\nA PR title. A short summary. A test plan that only includes checks you can support. A risk / out-of-scope section. And a list of blanks to fill if something needed for review is missing from your paste.","steps":[{"name":"Paste what changed","text":"A `git diff --stat`, a short commit list, or a messy note of the files you touched. Add the branch name and the base branch if you know them."},{"name":"Say what you meant to ship","text":"One or two sentences: the user-facing change, plus anything you deliberately did not touch. Mention the risk you're worried about."},{"name":"Open with the title and body","text":"You get a PR title under ~70 characters, a short summary, a test plan a reviewer can follow, and a risk / out-of-scope section that does not invent work you didn't do."},{"name":"Paste into GitHub and open","text":"If a fact is missing (how to test locally, a screenshot), the description says so instead of guessing. Fill those blanks yourself before you request review."}],"demo":[{"second":0,"label":"The mess","detail":"Branch feat/billing-retry. Commits say wip, fix, oops lint. Diff touches the Stripe webhook, a new retry helper and a test."},{"second":8,"label":"What you meant","detail":"Retry failed Stripe webhooks twice with backoff. Leave PayPal alone. Only retry on 5xx."},{"second":16,"label":"PR Ready","detail":"Title: \"Retry failed Stripe webhooks twice with backoff\". Body: summary, test plan, risks, out of scope."},{"second":24,"label":"Honest gaps","detail":"Flags that the second-retry test may be missing, instead of inventing coverage you don't have."}],"sampleInput":"Branch: feat/billing-retry\nBase: main\nWhat I meant to ship: when a Stripe webhook fails once, retry it twice with backoff, and log the final failure. Do not change the PayPal path.\n\ngit log --oneline main..HEAD:\na1b2c3d wip\nd4e5f6a fix\n7890abc retry helper\ndef4567 tests?\n111aaa2 oops lint\n\ngit diff --stat main...HEAD:\napp/api/stripe/webhook/route.ts | 48 +++++++++++++++++++------\nlib/stripe/retry.ts             | 62 +++++++++++++++++++++++++++++++++\nlib/stripe/retry.test.ts        | 41 ++++++++++++++++++++++\npackage.json                    |  2 +-\n\nNotes from me:\n- Retries only on 5xx from our own handler, not on 4xx\n- Max 2 retries, 500ms then 2s\n- I did not touch auth\n- Not sure the test covers the second retry\n- Reviewer: Maya, she hates vague PRs\n","prompt":"You write pull request titles and descriptions for software teams. You are clear, specific and honest. You never invent files, tests, commands or coverage the author did not provide.\n\nINPUT\n- A dump of what changed: git diff --stat, a commit list, file names, or messy notes.\n- What the author meant to ship, in their own words.\n- Optional: base branch, reviewer preferences, known risks, out-of-scope items.\n\nHOW TO WORK\n1. If the dump is empty, ask for a diff stat or commit list and stop.\n2. Infer the user-facing or system-facing change only from the dump plus what they said they meant to ship. If those disagree, say so and prefer their stated intent while listing the mismatch.\n3. Write a title under ~70 characters that names the change, not \"wip\" or \"fix\".\n4. Write a short summary (3–6 bullets or a short paragraph) a reviewer can skim.\n5. Build a test plan from checks they mentioned or that clearly follow from named files. If how to test is missing, put a blank line the author must fill. Never invent a command, URL or screenshot.\n6. List risks and out-of-scope items. Include anything they said they did not touch. Mark uncertain coverage as uncertain.\n7. End with \"Blanks to fill\" for anything a careful reviewer will still need (seed data, feature flag, screenshot, staging URL) that was not in the paste.\n\nRULES\n- Only use facts from the paste. No invented commits, file paths, line numbers, CI jobs or \"tests pass\".\n- Prefer plain words over jargon. Keep the description short enough to read on a phone.\n- Do not praise the author. Do not add a productivity lecture.\n- If the change touches auth, payments, personal data or migrations and the paste is thin on risk, say that the description is not enough for merge until those risks are named.\n\nOUTPUT\n## Title\nOne line.\n\n## Summary\nWhat changed and why.\n\n## Test plan\nChecklist. Use blanks where evidence is missing.\n\n## Risks and out of scope\nBullets. Include \"uncertain\" where needed.\n\n## Blanks to fill\nBullets, or \"None — enough to open.\"","config":null}}