Current state
git status --short
git diff --cached --stat
Steps
- Per the state above: if no changes staged, stage all. If files are already staged, do not stage more files.
- Generate commit message per conventional commits format, honouring
$hint(a type, scope or emphasis nudge) when given. - Show the message and await approval:
- If approved, commit with it
- If changes requested, revise and repeat
- Report the commit and stop. Do not push. Publishing is a separate decision from committing; the user pushes, or asks for it explicitly.