Git Workflows
Automates common Git workflows like branching, merging, pull requests, and commits based on natural language instructions.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add git-workflows npx -- -y @trustedskills/git-workflows
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"git-workflows": {
"command": "npx",
"args": [
"-y",
"@trustedskills/git-workflows"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates common Git and GitHub workflows, such as branching, merging, pull requests, commits, and issue management. It leverages Grove Wrap (gw) to provide a safe and controlled environment for version control operations. All interactions with Git and GitHub are mediated through gw, preventing direct use of raw git or gh commands. The system enforces safety tiers and Conventional Commits formatting to ensure code quality and security.
When to use it
- Making commits, pushing changes, pulling updates, branching, or stashing code.
- Creating, reviewing, or merging pull requests.
- Managing GitHub issues (creating, viewing, closing).
- Checking the status of CI/workflow runs.
- Reviewing Git history, diffs, or blame information.
- Resolving merge conflicts.
- Performing any version control operation.
Key capabilities
- Safe Workflow Execution: All Git and GitHub operations are handled through Grove Wrap (
gw) for enhanced safety. - Three-Tiered Safety Model: Commands require flags (
--write,--force) to control access levels (READ, WRITE, DANGEROUS). - Protected Branch Enforcement: Force pushing is prohibited on
main,master,production, andstagingbranches. - Conventional Commits Validation: Commit messages are automatically validated against the Conventional Commits format (
<type>(<scope>): <description>). - Dry Run Support: Use
--dry-runto preview command actions before execution. - Agent Mode: Enhanced security and limitations for agents like Claude Code (stricter row limits, blocked force operations, audit logging).
Example prompts
- "gw git status" - Check the current Git status.
- "gw git commit --write -m 'feat: add user profile page'" - Commit changes with a Conventional Commits message.
- "gw gh pr create" - Create a new pull request.
Tips & gotchas
- Always use
gw: Direct Git or GitHub commands are not permitted. - Understand Safety Tiers: Be mindful of the required flags (
--write,--force) for different operations. - Conventional Commits: Adhere to the Conventional Commits format for commit messages.
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.