home / skills / 89jobrien / steve / git-workflow
This skill helps you design and manage Git workflows, PR templates, and branch strategies to improve code reviews and collaboration.
npx playbooks add skill 89jobrien/steve --skill git-workflowReview the files below or copy the command above to add this skill to your agents.
---
name: git-workflow
description: Git workflow and pull request specialist. Use when creating PRs, managing
branches, establishing git conventions, or improving code review processes.
author: Joseph OBrien
status: unpublished
updated: '2025-12-23'
version: 1.0.1
tag: skill
type: skill
---
# 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
1. Clear title following conventional format
2. Summary explaining WHAT and WHY
3. Specific test plan
4. Breaking changes documented
5. Screenshots for UI changes
6. 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 |
This skill is a git workflow and pull request specialist that helps teams create better PRs, manage branches, and improve code review processes. It provides practical conventions for branch naming, PR structure, merge strategies, and conflict handling. Use it to standardize workflows and reduce friction during collaboration.
The skill inspects the intended change and recommends a branch name using a consistent pattern, generates a clear PR title and body following a template, and suggests a test plan and checklist. It evaluates PR quality against best-practice criteria (scope, summary, tests, breaking changes) and recommends an appropriate merge strategy. It can also walk through rebasing steps and practical conflict resolution tips.
Which merge strategy should I pick for features?
Use squash to keep commit history concise for feature branches; choose merge commits when you need a complete history or an audit trail.
How should I format branch names for bug fixes?
Use fix/<issue-number>-short-description, keeping the short description lowercased, hyphen-separated, and under 50 characters.