Git Workflow
Automates Git commits, branches, pull requests, and merges following a standardized workflow for efficient backend development.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add vasilyu1983-git-workflow npx -- -y @trustedskills/vasilyu1983-git-workflow
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"vasilyu1983-git-workflow": {
"command": "npx",
"args": [
"-y",
"@trustedskills/vasilyu1983-git-workflow"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates Git workflows for backend development teams, promoting efficient collaboration and standardized practices. It enables AI agents to manage branches, create pull requests, enforce commit conventions (using Conventional Commits), and apply repository settings for safe collaboration. The skill supports various branching models like GitHub Flow and trunk-based development, and facilitates the creation of stacked pull requests for large features.
When to use it
- Starting new backend development work: To create feature branches and isolate changes.
- Preparing code for review: To squash work-in-progress commits before opening a pull request.
- Managing large features: To utilize stacked pull requests (using Graphite) for easier review of complex changes.
- Automating release processes: To generate changelogs using
standard-versionprior to releases. - Ensuring code quality: To run automated quality gates within pull requests.
Key capabilities
- Branching model selection and implementation (GitHub Flow, trunk-based)
- Commit convention enforcement (Conventional Commits)
- Pull request standardization and discipline
- Repository settings hardening for secure collaboration
- Creation of stacked pull requests using Graphite
- Automated changelog generation
- Running automated quality gates via GitHub Actions or GitLab CI
- Local safety preflight checks to prevent common Git blockers (e.g., index lock conflicts, accidental context loss)
Example prompts
- "Create a feature branch named 'add-user-authentication'."
- "Squash the last three commits on my current branch."
- "Generate a changelog for the upcoming release."
- “Run quality gates before opening this pull request.”
Tips & gotchas
- Constraints: Consider team size, release cadence, and CI maturity when choosing a branching strategy.
- Local Changes: Before switching branches or checking out code, commit or stash any local changes to avoid accidental context loss.
- Index Lock: If Git commands fail due to an index lock, check for running Git processes before attempting to remove the lock file.
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.