📝 docs(prompts): define custom verify layering
This commit is contained in:
parent
8efc4dde65
commit
16c7230c03
|
|
@ -15,6 +15,7 @@ prompts/
|
|||
│ ├── close-task.md # 本轮收尾模板
|
||||
│ ├── update-memory.md # 回写记忆模板
|
||||
│ └── code-review.md # MR/PR 代码评审流程
|
||||
└── custom/ # 可选:项目私有提示词
|
||||
```
|
||||
|
||||
## 使用方式
|
||||
|
|
@ -27,6 +28,7 @@ prompts/
|
|||
| **close-task.md** | 本轮工作收尾 |
|
||||
| **update-memory.md** | 上下文变化后回写记忆 |
|
||||
| **code-review.md** | 执行 MR/PR 代码评审 |
|
||||
| **custom/*.md** | 项目私有补充流程 |
|
||||
|
||||
## 工作流程
|
||||
|
||||
|
|
@ -60,6 +62,9 @@ plan 完成后 → `playbook.py -record-plan <path> -progress memory-bank/progre
|
|||
代码评审(有 MR/PR 时)→ code-review.md
|
||||
```
|
||||
|
||||
> `coding/` 下是可被框架覆盖更新的标准模板;
|
||||
> 项目私有流程应沉淀到 `custom/`。
|
||||
>
|
||||
> `prompts/` 是入口层;核心规则在 `AGENT_RULES.md`,
|
||||
> 长期记忆在 `memory-bank/`,状态留痕必须走
|
||||
> `playbook.py -record-spec/-record-plan` 与
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
- 只跑与本次改动直接相关的验证命令
|
||||
- 记录命令、结果和关键输出
|
||||
- 如仓库存在项目私有验证提示词(例如 `docs/prompts/custom/verify.md`),先读取并执行其中的附加约束
|
||||
|
||||
```bash
|
||||
{{VERIFY_CMD}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue