git-workflowlisted
Install: claude install-skill jessevanwyk1/claude-scholar
# Git Standard
本Documentation定义Project的 Git 使用Standard,Package括Commit消息格式、Branch管理策略、Workflow程、Merge策略等Content。遵循这些Standard可以提高协作效率、便于追溯、支持自动化、减少Conflict。
## Commit Message Standard
Project采用 **Conventional Commits** Standard:
```
<type>(<scope>): <subject>
<body>
<footer>
```
### Type Class型
| Class型 | 说明 | Example |
| :--- | :--- | :--- |
| `feat` | 新Feature | `feat(user): Add用户导出Feature` |
| `fix` | FixBug | `fix(login): FixVerify码不刷新问题` |
| `docs` | DocumentationUpdate | `docs(api): UpdateInterfaceDocumentation` |
| `refactor` | 重构 | `refactor(utils): 重构工具Function` |
| `perf` | PerformanceOptimize | `perf(list): Optimize列表Performance` |
| `test` | Testing相关 | `test(user): Add单元Testing` |
| `chore` | 其他Modify | `chore: UpdateDependencyVersion` |
### Subject Standard
- 使用动词开头:Add、Fix、Update、Remove、Optimize
- 不超过50个字符
- 不以句号结尾
更多详细Standard和Example,参见 `references/commit-conventions.md`。
## Branch管理策略
### BranchClass型
| BranchClass型 | 命名Standard | 说明 | 生命周期 |
| :--- | :--- | :--- | :--- |
| master | `master` | 主Branch,可ReleaseStatus | 永久 |
| develop | `develop` | DevelopmentBranch,集成最新Code | 永久 |
| feature | `feature/Feature名` | FeatureBranch | DevelopmentComplete后Delete |
| bugfix | `bugfix/问题Description` | BugFixBranch | FixComplete后Delete |
| hotfix | `hotfix/问题Description` | 紧急FixBranch | FixComplete后Delete |
| release | `release/Version号` | ReleaseBranch | ReleaseComplete后Delete |
### Branch命名Example
```
feature/user-management # 用户管理Feature
featu