Skip to content

Commit Message Standards

Good commit messages make the history useful. They explain why a change was made, not just what changed.


Format

<type>: <short description>

<optional body โ€” explain why, not what>

The body says why, states trade-offs and anything deliberately left out, and calls out any behaviour that changes silently elsewhere (shared defaults, job selections, keys). Reference the issue in lowercase, refs #12 or closes #12, so trackers that parse commit messages pick it up.


Types

Type When to use
feat New feature
fix Bug fix
refactor Code restructuring without behaviour change
test Adding or updating tests
docs Documentation changes
chore Maintenance, dependency updates, tooling
perf Performance improvements

Good vs Poor Examples

Good:

fix: prevent duplicate records on pipeline retry

Idempotency key was not being checked before insert,
causing duplicates when the pipeline retried on timeout.

Poor:

fix bug

โ† Delivery Excellence โ† Engineering Excellence