This skill helps you manage Git branches, commits, and conflicts following conventional workflows to ensure collaborative, scalable version control.
npx playbooks add skill enoch-robinson/agent-skill-collection --skill git-workflow
提供专业的 Git 版本控制工作流指导,确保团队协作高效有序。
main/master:生产环境代码,始终保持可部署状态develop:开发主分支,集成最新功能feature/[issue-id]-简短描述 # 新功能
bugfix/[issue-id]-简短描述 # Bug修复
hotfix/[issue-id]-简短描述 # 紧急修复
refactor/简短描述 # 重构
docs/简短描述 # 文档更新
<type>(<scope>): <subject>
<body>
<footer>
| Type | 描述 |
|------|------|
| feat | 新功能 |
| fix | Bug 修复 |
| docs | 文档更新 |
| style | 代码格式(不影响逻辑) |
| refactor | 重构(非新功能/修复) |
| perf | 性能优化 |
| test | 测试相关 |
| chore | 构建/工具变更 |
feat(auth): 添加 OAuth2.0 登录支持
- 集成 Google OAuth 认证
- 添加 token刷新机制
- 更新用户模型
Closes #123
git checkout develop
git pull origin develop
git checkout -b feature/123-user-auth
git add .
git commit -m "feat(auth): 实现用户登录功能"
git push origin feature/123-user-auth
git fetch origin
git rebase origin/develop
# 解决冲突后
git push --force-with-lease
##冲突解决原则
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.