一键导入
sdd-clarify
Spec-Driven Development: Ambiguity detection taxonomy, prioritization heuristic, and sequential questioning protocol
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Spec-Driven Development: Ambiguity detection taxonomy, prioritization heuristic, and sequential questioning protocol
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Spec-Driven Development: Cross-artifact consistency analysis — semantic model building, 6 detection passes, severity assignment
Spec-Driven Development: Constitution format, versioning rules, and governance methodology
Spec-Driven Development: Orchestration protocol — working-spec.json lifecycle, phase management, initialization, and delegation guidance for SDD workflows
Spec-Driven Development: Implementation planning format, constitution check gates, and Weave plan bridge
Spec-Driven Development: Feature specification format, quality validation checklist, and requirement writing rules
| name | sdd-clarify |
| description | Spec-Driven Development: Ambiguity detection taxonomy, prioritization heuristic, and sequential questioning protocol |
The clarify step resolves ambiguities in a feature spec through structured questioning. The goal is to fill critical gaps before planning begins — not to achieve perfection.
Scan the spec for ambiguities across these categories:
[NEEDS CLARIFICATION] markers left in the specFor each ambiguity found, score it: Priority = Impact × Uncertainty
Only ask about ambiguities with score ≥ 4. Lower-score ambiguities should be resolved using reasonable defaults.
Rules:
(recommended) based on common practiceQuestion format:
**Question [N]/[max]: [Category]**
[Clear, specific question — what exactly needs to be decided?]
Options:
A. [Option A description] (recommended)
B. [Option B description]
C. [Option C description]
D. Other — please describe
Why multiple-choice? It anchors the conversation, reduces back-and-forth, and forces the agent to have thought through the options. It also makes it easy for the user to accept a default.
After each answer:
## Clarifications section:## Clarifications
### Session YYYY-MM-DD
**Q1 [Functional Scope]**: [Question text]
**A**: [Answer received]
**Impact**: Updated FR-003 to clarify that [decision]. Added edge case for [scenario].
**Q2 [Domain/Data]**: [Question text]
**A**: [Answer received]
**Impact**: Updated Key Entities — User entity now includes [attribute].
After all questions are answered (or the 5-question limit is reached), provide a coverage summary table:
## Clarification Coverage Summary
| Category | Status |
|----------|--------|
| Functional Scope | ✅ Resolved |
| Domain/Data | ✅ Resolved |
| UX Flow | ⏭ Deferred (reasonable default applied) |
| Non-Functional | ✅ Resolved |
| Integration | ➖ Not applicable |
| Edge Cases | ✅ Resolved |
| Constraints | ⏭ Deferred |
| Terminology | ✅ Resolved |
| Completion Signals | ✅ Resolved |
| Placeholders | ✅ All [NEEDS CLARIFICATION] markers resolved |
| Unresolved | ✅ No conflicts found |
Status values:
Do NOT ask about ambiguities that:
Document these as Assumptions instead.