git-workflow
Git工作流程和pull request专家。用于创建PR、管理分支、建立git规范或改进代码审查流程。
📖 中文导读:Git工作流程和pull request专家。用于创建PR、管理分支、建立git规范或改进代码审查流程。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
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
- 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 |