rulebook-git-workflow
Git工作流标准,包括分支策略、提交约定和PR指南。在创建分支、编写提交消息、准备拉取请求或遵循git最佳实践时使用。
📖 中文导读:Git工作流标准,包括分支策略、提交约定和PR指南。在创建分支、编写提交消息、准备拉取请求或遵循git最佳实践时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: rulebook-git-workflow description: Git workflow standards including branching strategy, commit conventions, and PR guidelines. Use when creating branches, writing commit messages, preparing pull requests, or following git best practices. version: "1.0.0" category: core author: "HiveLLM" tags: ["git", "workflow", "branching", "commits", "pull-requests"] dependencies: [] conflicts: []
Git Workflow Standards
Branch Naming
feature/<task-id>-<short-description>
fix/<issue-id>-<short-description>
refactor/<scope>-<description>
docs/<scope>-<description>
Commit Message Format
<type>(<scope>): <subject>
<body>
<footer>
Types
feat: New featurefix: Bug fixdocs: Documentationstyle: Formattingrefactor: Code restructuringtest: Adding testschore: Maintenance
Example
feat(auth): add JWT token validation
Implement JWT validation middleware for protected routes.
Closes #123
Pull Request Guidelines
PR Title
feat(scope): short description
PR Description
## Summary
Brief description of changes.
## Changes
- Change 1
- Change 2
## Testing
How this was tested.
## Checklist
- [ ] Tests pass
- [ ] Lint passes
- [ ] Documentation updated
Workflow Steps
- Create feature branch from main
- Make commits following conventions
- Run quality checks before push
- Create PR with description
- Address review feedback
- Squash and merge