GenerateRandomSearch

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

  1. Press generate for a commit message example.
  2. Generate again for another one.

Common use cases

  • Practising conventional-commit conventions
  • Teaching commit-message style
  • Documentation examples

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.