Home
← Back to templates
Commit message & PR description
Programming
Turn a change into a clear commit message and pull request description.
Related technique:Output formatting
Write a commit message and PR description for this change. Input: switched the image upload endpoint from synchronous processing to a background job queue, because large uploads were timing out the request; added a status endpoint to poll progress. Format: Bullet list
Expected output
A short, imperative-mood commit message (e.g. "Move image processing to a background queue") plus a PR description with what changed, why, and how to verify it.
Usage tips
- Explain the *why*, not just the *what*, in Input — that's the part a diff alone never shows.
- Reuse this for the PR description even if you write the commit message by hand yourself — they don't have to come from the same call.
Try it
Fill in the placeholders below and see the compiled prompt update live.
The material to work from.
The structure of the output.
- 14
- Words
- 97
- Characters
- 0/2
- Placeholders filled
- 1 min
- Reading time
Quality score6
- Completeness0
- Clarity0
- Context0
- Specificity0
- Constraints0
- Format0
- Output0
- Constraints note0
- Success criteria0
- Scope focus100
- Verification step0
- Negative example0
- Confidence0
- Placeholder syntax100
- Markdown structure0
Suggestions
- Fill in the remaining placeholders.
- Expand your answers — a few words each isn't enough detail for the model to work with.
- Add background context so the model understands the situation.
Write a commit message and PR description for this change.
Input: {{INPUT}}
Format: {{FORMAT}}
AI Assistant