PR Description
Overview
Create a PR description by inspecting the branch diff and recent commits, then summarizing the user-facing intent with a minimal test plan.
Workflow
- •Identify the base branch for the PR.
- •Default to
origin/mainif not specified - •If a repo uses a different default (e.g.
origin/master), use that instead
- •Default to
- •Collect the change set.
- •Review
git status -sbfor clean/dirty state - •Review
git log --oneline --decorate --reverse <base>..HEADfor commit intent - •Review
git diff <base>...HEADfor actual file-level changes
- •Review
- •Build the PR description.
- •Use
## Summaryand## Test plansections - •Keep summary to 1-3 bullets, focused on outcomes and scope
- •Note new dependencies, scripts, or migrations explicitly
- •Call out behavior changes, error handling, or data model updates
- •Use
- •Provide a test plan.
- •If tests were not run, say "Not run (not requested)"
- •If tests were run, list the exact commands
Output Template
Summary
- •[Outcome-focused bullet]
- •[Outcome-focused bullet]
Test plan
- •[e.g. Not run (not requested)]