
Git Workflow
A structured checklist approach to the git operations where forgetting a step actually costs you time. Covers PR prep with commit history analysis, safe branch cleanup commands that won't nuke your work, merge conflict triage, monorepo tagging conventions, and the gitignore-before-first-commit pattern that everyone learns the hard way. The PR workflow is especially practical since it generates descriptions from actual diffs rather than vibes. Best used when you want Claude to walk through these multi-step processes methodically instead of jumping straight to commands. The conflict resolution guidance leans pragmatic, including the "extract and reapply manually" escape hatch for when rebase hell isn't worth it.
- skills.sh installs
- 1.2K
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jezweb/claude-skills --skill git-workflow --agent claude-codeInstalls into .claude/skills of the current project.
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'
Sponsors
Details
- Repository
- github.com/jezweb/claude-skills
- Categories
- Git & Pull Requests, Release Management, Automation & Workflows
- First seen
- May 16, 2026
More from jezweb/claude-skills
All 166- Project Docs1.2K
- Zustand State Management1.2K
- Vite Flare Starter1.2K
- Shopify Content1.2K
- React Hook Form Zod1.2K
- Deep Research1.2K
- D1 Migration1.2K
- Design System1.1K
- Onboarding Ux1.1K
- Roadmap1.1K
- Stripe Payments1.1K
- Tailwind Patterns1.1K
- Uk Business English1.1K
- App Docs1.1K
- Gws Setup1.1K
- Product Showcase1.1K
- Gws Install1.1K
- Strategy Document1.1K
- Team Update1K
- Us Business English1K
- Nextjs1K
- Design Loop1K
- Cloudflare Api997
- Parcel Tracking996