
Git Workflow
Guided git workflows for PR prep, branch cleanup, conflict resolution, and monorepo release tags.
- skills.sh installs
- 1.3K
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
What it does
- Covers PR preparation, branch cleanup, merge conflict resolution, monorepo release tagging, gitignore-first repo init, and a private repo license audit
- Includes exact
gitandghcommands for gathering commit context, drafting and creating pull requests, and pruning merged local and remote branches - Enforces a PR title under 70 characters and a
{package-name}-v{semver}tag pattern to keep monorepo releases unambiguous - Designed for developers working in Claude Code who need structured steps for routine git operations
Install
$ npx -y skills add jezweb/claude-skills --skill git-workflow -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Git Workflow
Guided workflows for common git operations that benefit from structured steps.
PR Preparation
When preparing a pull request:
-
Gather context
git log main..HEAD --oneline— list all commits on the branchgit diff main...HEAD --stat— see all changed filesgit status— check for uncommitted work
-
Draft PR content
- Title: under 70 chars, describes the change (not the branch name)
- Body: summarise the "why", list key changes, add test plan
- Use the commit history to write the summary — don't rely on memory
-
Push and create
git push -u origin HEAD gh pr create --title "..." --body "$(cat <<'EOF' ## Summary - ... ## Test plan - [ ] ... 🤖 Generated with [Claude Code](https://claude.com/claude-code) EOF )" -
Verify —
gh pr view --webto open in browser
Branch Cleanup
Clean up merged branches safely:
-
Switch to main and pull latest
git checkout main && git pull -
List merged branches (excludes main/master/develop)
git branch --merged main | grep -vE '^\*|main|master|develop'
Details
- Repository
- github.com/jezweb/claude-skills
- Category
- Git & Releases
- First seen
- May 16, 2026
More from jezweb/claude-skills
All 64- Shopify Content1.2K
- Vite Flare Starter1.2K
- Deep Research1.2K
- Design System1.2K
- Onboarding Ux1.2K
- D1 Migration1.2K
- Stripe Payments1.1K
- App Docs1.1K
- Roadmap1.1K
- Uk Business English1.1K
- Gws Setup1.1K
- Product Showcase1.1K
- Gws Install1.1K
- Strategy Document1.1K
- Us Business English1.1K
- Team Update1.1K
- Design Loop1K
- Parcel Tracking1K
- Cloudflare Api1K
- Award Application984
- Db Seed983
- Nz Business English945
- Fork Discipline916
- Nemoclaw Setup915
Similar to Git Workflow
More Git & Releases
managing-gitcloudai-x/claude-workflow-v2210 installsStructured guide covering Git branching strategies, Conventional Commits, branch naming, and pull request workflows with checklists.
githubcallstackincubator/agent-skills9.4K installsGuide to GitHub workflows with the gh CLI for pull requests, branching, and repository automation.
github-workflowmindrally/skills825 installsGitHub best practices for pull requests, code reviews, issues, Actions, and repository settings.
git-best-practicesalleneubank/claude-code149 installsOpinionated git workflow that enforces conventional commits, explicit staging, and safe force-pushing for agents.
conventional-gitsamber/cc-skills5.4K installsConventional Commits and worktree naming standards for branches, commits, and changelog-driven release workflows.
git-hygiene-enforcerpatricio0312rev/skills271 installsEnforces git workflow guardrails with commit hooks, branch naming rules, PR templates, and review checklists for teams.