Git Commit Helper
When the user asks to commit staged changes:
- Run
git diff --stagedto see what changed. - Determine the change type (feat, fix, refactor, docs, test, chore).
- Write a concise conventional-commit subject line (<= 72 chars) plus an optional body explaining the "why".
- Show the proposed message and let the user confirm before committing.
Never commit secrets or large generated files. If you see credentials in the diff, stop and warn the user.