Write a Great Git Commit Message
Generate a clear, conventional commit message from a description of your changes.
The Prompt
Write a git commit message following the Conventional Commits specification for the following change. Format: ``` <type>(<scope>): <short summary> [optional body — what changed and why, wrapped at 72 characters] [optional footer — breaking changes, issue references] ``` Types: feat, fix, docs, style, refactor, test, chore, perf, ci, build Description of my changes: [DESCRIBE WHAT YOU CHANGED AND WHY — be specific about what files/components were affected and what the motivation was] Breaking changes (if any): [DESCRIBE OR LEAVE BLANK] Issue to close (if any): [e.g., Closes #123]
Example Output
feat(auth): add OAuth2 Google login flow Implements Google OAuth2 as an alternative authentication method. Users can now sign in with their Google account, which creates or links to an existing account by email. Adds the google-auth-library dependency and a new /api/auth/google callback route. Closes #47
FAQ
Which AI model is best for Write a Great Git Commit Message?
Any capable model works — GPT-4o-mini or Claude Haiku 4 are sufficient and fast.
How do I use the Write a Great Git Commit Message prompt?
Copy the prompt, replace the [BRACKETED] placeholders with your specific information, and paste into your preferred AI assistant (ChatGPT, Claude, Gemini, etc.). feat(auth): add OAuth2 Google login flow Implements Google OAuth2 as an alternative authentication method. Users can now sign in with their Google account, which creates or links to an existing account by email. Adds the google-auth-library dependency and a new /api/auth/google callback route. Closes #47
Model Recommendation
Any capable model works — GPT-4o-mini or Claude Haiku 4 are sufficient and fast.