| description | allowed-tools |
|---|---|
Commit and push changes with auto-generated summary |
Bash(git:*) |
- Git status: !
git status - Staged changes: !
git diff --cached - Unstaged changes: !
git diff
- Review all changes (both staged and unstaged)
- Update documentation if appropriate:
agents.md- Update if pipeline, findings, or project status changedREADME.md- Update if user-facing docs need to reflect changes
- Stage all relevant changes with
git add - Create a clear, concise commit message that summarizes what was changed and why
- Commit the changes
- Push to the remote repository
Follow these commit message guidelines:
- Use imperative mood ("Add feature" not "Added feature")
- Keep first line under 50 characters
- Focus on the "what" and "why", not the "how"
Important: Do not commit files that contain secrets (.env, credentials, etc.)