Generate git commit messages from staged changes
When the user asks to create a commit:
shell with git status to see what files are staged and unstaged.shell with git diff --cached to see the exact changes that will be committed.shell with git log --oneline -5 to understand the repo's commit message style..env, credentials.json, API keys). Warn the user if such files are staged.git commit.git add <specific files> (never use or ).git add -Agit add .If the repo doesn't have a clear style, use:
<type>: <concise description>
<optional body explaining why>
Where type is: fix, feat, refactor, test, docs, chore.