Commit Message Prompt Generator
Generates a random example commit message in the conventional-commit style (fix:, feat:, docs:, etc.) — a format example for practising the convention, not a real commit from any project.
What you'll get
This generator draws from a hand-checked list of 10 entries. Here is a spread of 6 of them, so you can see the style before you generate:
- fix: resolve null pointer on empty cart
- feat: add dark mode toggle to settings
- refactor: extract validation logic into helper
- chore: bump dependency versions
- style: reformat according to linter rules
- fix: correct timezone handling in date picker
A fixed sample of the list, not a live draw — your own results are picked at random from all 10, without repeating until the list runs out. Original HEKNO-curated conventional-commit-style example message formats. Last reviewed 2026-09-01.
How to use this tool
- Press generate for a commit message example.
- Generate again for another one.
Understanding the controls
- Seed (optional)
- A word here brings back the same example, out of the ten in the bank, for as long as the generator is unchanged. Leave it blank for a fresh draw on each press. A seeded draw puts the word in the page address, so the copied link hands a colleague the box already filled in and the identical message on the next press. A seeded draw is predictable by design, not cryptographic.
Common use cases
- Practising conventional-commit conventions
- Teaching commit-message style
- Documentation examples
Limitations and good to know
- Only ten example messages are in the bank, and the page shows all ten before any repeat — this illustrates the conventional-commit format, not a source of text to commit as-is.
Practical tips
- Say why rather than what; the diff already shows what changed, and the reason is what a reader six months later needs.
- Keep the first line under about fifty characters so it reads properly in a log listing.
Entries are chosen with your browser's cryptographic random number generator, so every entry on the list is equally likely. How Generate Random works.
Related generators
- Git Branch Name GeneratorGenerate an example Git branch name in the common type/description format, like feature/add-login-form.
- Ticket ID GeneratorGenerate a fictional issue-tracker-style ticket ID example, like PROJ-4821.
- Pull Request Title GeneratorA conventional-commit-style pull request title, distinct from the site's commit-message prompt tool.