config(git): 引入develop长期开发分支模型和git工作流自动化
This commit is contained in:
@@ -243,6 +243,34 @@ GameConfig/ # 数值配置表
|
||||
|
||||
---
|
||||
|
||||
## Git 工作流(develop 分支模型)
|
||||
|
||||
项目使用 `develop` 长期开发分支。所有 agent 在 develop 上工作,迭代结束时由 PM 发起 PR 合并回 main。
|
||||
|
||||
### 开始工作
|
||||
```bash
|
||||
bash .claude/scripts/git-workflow.sh ready
|
||||
```
|
||||
|
||||
### 提交文档
|
||||
```bash
|
||||
bash .claude/scripts/git-workflow.sh commit docs <scope> "中文描述"
|
||||
```
|
||||
示例:`bash .claude/scripts/git-workflow.sh commit docs design "交互系统执行案"`
|
||||
|
||||
### 推送
|
||||
```bash
|
||||
bash .claude/scripts/git-workflow.sh push
|
||||
```
|
||||
|
||||
### 完成工作后
|
||||
1. 推送文档到 develop
|
||||
2. 通过 gitea-collab 在对应 Issue 下评论汇报进度
|
||||
3. 更新 Issue 标签为 `status:in-review`
|
||||
4. 启动 `game-reviewer` 子代理
|
||||
|
||||
---
|
||||
|
||||
## 审查交接
|
||||
|
||||
完成工作并发布 Issue 评论后,启动审查流程:
|
||||
|
||||
Reference in New Issue
Block a user