Git Commit Message Writer
Prompt
Write a git commit message for the following changes. Convention: {convention}. Changes: {changes}. Context: {context}. Include: type prefix (feat/fix/refactor/docs/test/chore), concise subject line under 72 chars, optional body explaining WHY (not what), and footer with breaking changes or issue references if applicable.
Variables
convention
changes
context
About This Prompt
Generate clear, conventional commit messages from code diffs or change descriptions.
Example Output
feat: add user avatar upload with image resizing
Implement avatar upload endpoint that accepts JPG/PNG up to 5MB,
resizes to 200x200px using sharp, and stores in S3.
Previously users had no way to customize their profile image,
which reduced engagement on community features.
Closes #234
Usage Tips
- Use conventional commits format
- Subject line under 72 chars
- Body explains WHY not WHAT
- Reference issue numbers in footer