Git Workflow
Automates Git workflow tasks like branching, merging, and pull requests based on specified rules and commit messages.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add yonatangross-git-workflow npx -- -y @trustedskills/yonatangross-git-workflow
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"yonatangross-git-workflow": {
"command": "npx",
"args": [
"-y",
"@trustedskills/yonatangross-git-workflow"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The git-workflow skill enables AI agents to execute version control operations directly within code repositories. It streamlines development by automating standard Git commands like cloning, branching, committing, and pushing changes without manual intervention. This capability ensures consistent repository management across automated workflows and CI/CD pipelines.
When to use it
- Automate the creation of feature branches for isolated development tasks.
- Trigger commit and push actions immediately after code generation or testing passes.
- Manage repository state by reverting changes or resetting specific files during debugging.
- Integrate version control steps into larger orchestration scripts for deployment readiness.
Key capabilities
- Execute core Git commands (clone, branch, checkout, commit, push, pull).
- Handle authentication and remote repository interactions securely.
- Manage local working directories and staging areas programmatically.
- Support integration with various hosting platforms via standard Git protocols.
Example prompts
- "Create a new branch named 'fix-login-bug' from the main branch and switch to it."
- "Commit all modified files with the message 'Update user authentication logic' and push to origin."
- "Pull the latest changes from the remote repository and resolve any conflicts in the config file."
Tips & gotchas
Ensure the AI agent has proper read/write permissions for the target Git repositories before executing write operations. Always verify the current branch and remote configuration to prevent unintended pushes to production branches.
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.