Here is how i write commit messages
I have a default template for commit messages.
It goes like a tag, followed by: and a bit of a summary about the commit message.
tag: a one-liner summary about the commit
Tags are mostly,
FIX: for a bug fix
FEATURE: if you are working on a feature
IMPROVEMENT: if you improve something
ISSUE: working on an issue
REFACTOR: refactoring the code