/open-skilled-sdd:speckit-clarify-zhfrom open-skilled-sdd
Identifies ambiguous or missing decisions in feature specifications by asking up to 5 targeted clarification questions, then encodes answers back into the spec file.
Ships in open-skilled-sdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
$ARGUMENTS
您必须在继续之前考虑用户输入(如果不为空)。
目标:检测并减少活动功能规格中的歧义或缺失决策点,并将澄清直接记录在规格文件中。
注意:此澄清工作流程预计在调用 /speckit.plan 之前运行(并完成)。如果用户明确表示他们正在跳过澄清(例如,探索性刺探),您可以继续,但必须警告下游返工风险会增加。
执行步骤:
scripts: sh: .specify/scripts/bash/check-prerequisites.sh --json --paths-only ps: .specify/scripts/powershell/check-prerequisites.ps1 -Json -PathsOnly
从仓库根目录运行一次 {SCRIPT}(组合 --json --paths-only 模式 / -Json -PathsOnly)。解析最小 JSON 负载字段:
FEATURE_DIRFEATURE_SPECIMPL_PLAN, TASKS 用于未来的链式流程。)speckit-specify 或验证功能分支环境。加载当前规格文件。使用此分类法执行结构化歧义和覆盖扫描。对于每个类别,标记状态:清晰 / 部分 / 缺失。生成用于优先级排序的内部覆盖图(除非不问问题,否则不要输出原始图)。
功能范围和行为:
领域和数据模型:
交互和用户体验流程:
非功能性质量属性:
集成和外部依赖:
边缘情况和故障处理:
约束和权衡:
术语和一致性:
完成信号:
杂项 / 占位符:
对于状态为部分或缺失的每个类别,添加一个候选问题机会,除非:
生成(内部)优先级候选澄清问题队列(最多 5 个)。不要一次性输出所有问题。应用这些约束:
顺序提问循环(交互式):
一次只提出一个问题。
对于多项选择问题:
**推荐:** 选项 [X] - <理由>| 选项 | 描述 |
|---|---|
| A | <选项 A 描述> |
| B | <选项 B 描述> |
| C | <选项 C 描述>(根据需要添加 D/E 至多 5 个) |
| 简短 | 提供不同的简短答案(<=5 个单词)(仅在自由形式替代方案适当时包含) |
您可以回复选项字母(例如,"A"),通过说"yes"或"recommended"接受推荐,或提供您自己的简短答案。对于简短答案风格(无有意义的离散选项):
**建议:** <您的建议答案> - <简要理由>格式:简短答案(<=5 个单词)。您可以通过说"yes"或"suggested"接受建议,或提供您自己的答案。用户回答后:
停止进一步提问当:
永远不要提前透露未来排队的问题。
如果开始时没有有效问题,立即报告没有关键歧义。
每个接受答案后的集成(增量更新方法):
## Clarifications 部分(如果缺失,则在规格模板中最高级上下文/概述部分之后创建)。### Session YYYY-MM-DD 子标题用于今天。- Q: <问题> → A: <最终答案>。(以前称为"X")一次。验证(每次写入后执行加上最终通过):
## Clarifications, ### Session YYYY-MM-DD。将更新的规格写回 FEATURE_SPEC。
报告完成(提问循环结束或提前终止后):
speckit-plan 或稍后再次运行 speckit-clarify。行为规则:
speckit-specify(不要在此处创建新规格)。优先级上下文:{ARGS}
What SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/openspec-archivingArchives completed changes and merges specification deltas into living documentation. Use when changes are deployed, ready to archive, or specs need updating after implementation. Triggers include "openspec archive", "archive change", "merge specs", "complete proposal", "update documentation", "finalize spec", "mark as done"./openspec-archiving-cn归档已完成的变更并将规范差异合并到常驻文档。用于变更已部署、准备归档或实施后需要更新规范时。触发词包括 "openspec归档", "归档", "归档提案", "合并规范", "完成提案", "更新文档", "定稿规范", "标记完成"。/openspec-context-loadingLoads project context, lists existing specs and changes, searches capabilities and requirements. Use when user asks about project state, existing specs, active changes, available capabilities, or needs context discovery. Triggers include "openspec context", "what specs exist", "show changes", "list capabilities", "project context", "find specs", "what's in the spec", "show me specs".npx claudepluginhub forztf/open-skilled-sdd --plugin open-skilled-sddOther plugins' skills for the same job