playbook/templates/prompts/coding/clarify.template.md

55 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 需求澄清模板
<!--
用途:当需求存在歧义时,只补齐会改变实现或验证路径的最小信息。
触发:需求不明确、存在两种以上合理实现路径、缺少关键约束时。
-->
## 何时使用
- 需求描述不明确
- 存在多种合理理解方式
- 缺少会改变实现路径的关键信息
## 先读
- `AGENT_RULES.md`
- `memory-bank/project-brief.md`
- `memory-bank/active-context.md`
## 规则
- 每轮最多问 1 个问题
- 只问会改变实现或验证路径的问题
- 能低风险继续时,优先给出默认项后推进
- 不重复询问已能从上下文推断的信息
## 澄清步骤
1. 用自己的话复述当前理解
2. 识别真正影响实现路径的歧义点
3. 只提出 1 个最高价值问题
4. 给出推荐默认项和理由
## 输出协议
```markdown
## Current Understanding
- ...
## Open Question
- ...
## Recommended Default
- ...
```
## 停止条件
- 已有足够信息可低风险推进时停止提问
- 问题不影响实现路径时停止提问
---
**最后更新**{{DATE}}