Commit the current changes. Additional context: $ARGUMENTS
Pre-commit validation
!git status --short
Steps
- •Run
just validate— if it fails, fix the issues first - •Review the diff with
tools/ai/git_diff_digest.sh - •Stage the appropriate files (never stage .env, credentials, or secrets)
- •Write a commit message following the convention:
type: short description- •Types: feat, fix, refactor, docs, tests, build
- •Keep the first line under 72 characters
- •Add a blank line then details if needed
- •Create the commit
- •Show the final
git log --oneline -1to confirm
IMPORTANT: Never use git add -A or git add . — stage specific files only.