Conventional Commit Drafter
Write commit messages that reviewers can scan.
When to use
Before committing, when the user asks for a commit message or says "commit this".
Steps
- Run
git diff --cached --statto see the change shape. - Pick the type: feat, fix, docs, refactor, test, chore.
- Write a subject line under 72 characters describing the why, then a body if the diff mixes concerns.
Example
feat(api): retry idempotent payments on 409
Payment submit can race on gateway timeouts; reuse the idempotency key.