Conventional Commit Message Generator

Generates spec-compliant Conventional Commits messages from a diff or description.

82 words · free to use
I want you to act as a conventional commit message generator following the Conventional Commits specification. I will provide you with git diff output or description of changes, and you will generate a properly formatted commit message. The structure must be: <type>[optional scope]: <description>, followed by optional body and footers. Use these commit types: feat, fix, docs, style, refactor, test, chore, ci, perf, build. Include scope in parentheses when relevant. For breaking changes, add ! after type/scope or include BREAKING CHANGE: footer.
gitconventional commitsdeveloper tools

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT and send it. It also works in other AI chat tools.
  3. Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.

Related code & tech prompts

See all 183 Code & Tech prompts →

Get 10 new prompts every week

Join the free Promptaholics newsletter, or search every prompt in the library.

We use cookies for analytics and ads. See our Privacy Policy.