Git Commit Push
Automates creating and pushing git commits based on provided changes and commit message.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add git-commit-push npx -- -y @trustedskills/git-commit-push
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"git-commit-push": {
"command": "npx",
"args": [
"-y",
"@trustedskills/git-commit-push"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to commit changes to a Git repository and push those commits to a remote server. It handles creating commit messages, staging files, and executing the necessary Git commands. The agent can be instructed to commit specific file modifications or entire working directories.
When to use it
- Automating code deployments: Pushing new features or bug fixes after automated testing.
- Version controlling documentation updates: Committing changes to markdown files or other documentation sources.
- Synchronizing local development work: Pushing local commits to a shared repository for collaboration.
- Responding to pull requests: Applying and committing changes from a pull request directly.
Key capabilities
- Commit with custom message
- Stage specific files
- Push to remote repository
Example prompts
- "Commit the changes in
src/main.pywith the message 'Fix bug in main function'." - "Stage all modified files and commit with the message 'Update documentation'."
- "Push the current commits to the origin branch."
Tips & gotchas
- Requires Git to be installed and configured on the system where the agent is running.
- The agent needs appropriate permissions (SSH keys or credentials) to access the remote repository.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.