pr-this
PR This
Create or update a well-crafted draft PR from the current branch against main.
Behavior
Idempotent. Every invocation re-assesses the full diff against the base branch from
scratch and builds a completely fresh title and body. If a PR already exists for the
current branch it updates it; otherwise it creates a new one. No special flags needed -
just run /pr-this again whenever the branch changes.
CRITICAL: When updating an existing PR, you MUST NOT read or reference the old PR
title or body. Do NOT run gh pr view --json body or similar. The old description is
dead - it reflects a previous state of the branch and will contaminate your output.
Derive everything exclusively from the current git diff main...HEAD. Every section
(Why, Summary, What, Who this helps, Diagram) must be written from scratch based
solely on what the diff shows right now.