Git Workflow Skill
Expert guidance for git workflows, pull request best practices, branch management, and code review processes.
What This Skill Does
-
Creates well-structured pull requests
-
Establishes branch naming conventions
-
Defines PR templates and checklists
-
Reviews PR quality
-
Manages merge strategies
-
Handles rebasing and conflict resolution
When to Use
-
Creating pull requests
-
Establishing team git conventions
-
Improving code review process
-
Branch strategy decisions
-
PR template creation
Reference Files
- references/PULL_REQUEST.template.md
- PR body templates for features, bugs, refactors
Branch Naming
<type>/<issue-number>-<short-description>
Types: feat , fix , refactor , docs , test , chore
PR Best Practices
-
Clear title following conventional format
-
Summary explaining WHAT and WHY
-
Specific test plan
-
Breaking changes documented
-
Screenshots for UI changes
-
Link to related issues
Merge Strategies
Strategy When to Use
Squash Feature branches, clean history
Merge Preserve commits, audit trail
Rebase Linear history, small changes