IMPORTANT: Only stage and commit changes when the user explicitly asks you to commit. Do not stage or commit automatically.
When the user explicitly requests a commit:
- •
git diff --stagedto see changes - •
git add -Aif nothing staged (skip if the right changes are already staged) - •
git commitwith action verb + specific change in 15-20 words max - •No period, no "why", just "what"
Examples: "Implement the new invoice matching logic", "Fix negative invoice matching in createInvoice"