You can use a or prepare-commit-msg hook to edit COMMIT_EDITMSG automatically (e.g., add a ticket number, strip trailing whitespace, enforce subject line length).
A standard "complete story" for a commit message follows the 50/72 rule Subject Line (The Title):