tsl-devkit/docs/prompts/coding/clarify.md

53 lines
888 B
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.

# 需求澄清模板
<!--
按需使用:当需求不明确或存在歧义时参考本模板。
Vibe-coding 场景下可跳过,直接开始实现。
-->
## 何时使用
- 需求描述不明确
- 存在多种理解方式
- 缺少关键信息
---
## 澄清步骤
### 1. 复述需求
```text
我理解你的需求是:[用自己的话复述]
```
### 2. 识别歧义
- 歧义 1[描述不明确的地方]
- 歧义 2[可能有多种理解的地方]
### 3. 提出问题
> 只问阻塞问题,最多 12 个;优先给出选项让用户选择。
- 这个功能是否包括 [场景 A]
- 当 [条件 X] 时,应该 [行为 Y] 还是 [行为 Z]
### 4. 提供选项
**选项 A**[方案描述]
- 优点:...
- 缺点:...
**选项 B**[方案描述]
- 优点:...
- 缺点:...
**推荐**[推荐哪个,为什么]
---
**最后更新**2026-02-02