Prompts
PR Review & Commit
Prompt to generate a conventional commit message and a focused review of a diff.
My prompt for wrapping up a change: a clean conventional-commit message plus a focused review of the diff that flags the things I'd actually want caught before merge.
When to use it
At the end of a unit of work, before I commit or open a PR. I want two things from one pass — a commit message I can use verbatim, and a short review that surfaces real risks without drowning me in nitpicks.
Prompt
Here is a diff (or run `git diff <base>...HEAD`):
<paste diff or branch range>
Do two things:
1. Commit message — Conventional Commits format (type(scope): subject). Imperative,
under ~72 chars on the subject. Add a short body only if the change needs context.
2. Review — focused on what matters:
- Correctness: bugs, edge cases, broken assumptions.
- Boundaries: anything touching files it shouldn't (per project scope rules).
- Consistency: matches surrounding conventions, naming, token/`cn` usage.
- Accessibility and types where relevant.
Skip style nitpicks a formatter would catch. For each finding: file:line,
the issue, and a suggested fix. End with a one-line verdict: ship / fix-first.Variants
- Commit only: keep step 1, drop the review when I just want the message.
- Stricter review: add "Be skeptical — assume there's at least one bug and find it."
- PR description: append "Also draft a PR description: summary, what changed, and a test plan."