/omni-dsdd:clarifyfrom omni-dsdd
Clarifies functional specifications by identifying ambiguity and asking up to 5 targeted questions, then encoding answers back into the spec. Run before design phase to reduce rework risk.
Ships in omni-dsdd. 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.
本技能会调用以下技能:
检测并减少活跃功能规范中的模糊性或缺失的决策点, 并将澄清内容直接记录在规范文件中.
注意: 此澄清工作流应在 /omni-dsdd:design 之前运行(并完成). 如果用户明确表示跳过澄清(例如, 探索性原型), 可以继续, 但必须警告下游返工风险增加.
在继续之前, 你必须考虑用户的消息内容(如果不为空).
当由 workflow-orchestrator 派发且 Task prompt 包含 clarify 自动决策指令(prompt_inject: clarify-auto-decision)时,进入自动模式:
AskUserQuestionrecommended / yes / suggested),不得逐个暂停等待确认单独调用 /clarify(非 workflow 编排),或由 workflow 编排但未注入自动决策指令(standard / deep 模式)时,走交互式步骤 4(逐题向用户提问,等待用户回复,不得自动采纳)。
设计约定:express 无 clarify 阶段(跳过);standard / deep 必须手动澄清(逐题问用户); 只有当 Task prompt 显式包含
clarify-auto-decision指令时才进入上面的自动模式。
开始执行步骤之前,需要进行一些打点记录工作,记录本skill的执行时间到 start_time字段:
Get-Date -Format "yyyy-MM-dd HH:mm:ss"
linux: date +"%Y-%m-%d %H:%M:%S"start_timescripts/powershell/check-prerequisites.ps1 --json --paths-only
linux: scripts/bash/check-prerequisites.sh --json --paths-onlyFEATURE_DIRFEATURE_SPECIMPL_DESIGN、TASKS 用于未来的链式流程.)/omni-dsdd:specify 或验证功能分支环境.加载当前规范文件. 使用以下分类法执行扫描, 对每个类别标记状态: 清晰 / 部分 / 缺失. 生成内部覆盖范围图(除非不会提问, 否则不输出原始图).
功能范围与行为:
领域与数据模型:
交互与 UX 流程:
非功能性质量属性:
集成与外部依赖:
边缘情况与故障处理:
约束与权衡:
术语与一致性:
完成信号:
其他 / 占位符:
对于每个处于部分或缺失状态的类别, 添加候选问题机会, 除非:
(内部)生成候选澄清问题的优先级队列(最多 5 个). 不要一次性输出所有问题. 应用以下约束:
Workflow 自动模式:若已注入自动决策指令,跳过本节交互等待;对每题直接采纳推荐/建议答案并进入步骤 5,直至题量上限或无有效问题。
一次只提出确切一个问题
对于多项选择题:
分析所有选项并基于以下确定最合适的选项:
在顶部突出显示推荐选项并附上清晰推理(1-2 句话)
格式为: **Recommended:** Option [X] - <reasoning>
然后将所有选项渲染为 Markdown 表格:
| Option | Description |
|---|---|
| A | Option A description |
| B | Option B description |
| Short | Provide a different short answer (<=5 words) |
表格后添加: You can reply with the option letter (e.g., "A"), accept the recommendation by saying "yes" or "recommended", or provide your own short answer.
对于简答题风格(没有有意义的不同选项):
**Suggested:** <your proposed answer> - <brief reasoning>Format: Short answer (<=5 words). You can accept the suggestion by saying "yes" or "suggested", or provide your own answer.用户回答后:
在以下情况时停止进一步提问:
永远不要提前揭示未来的排队问题
如果开始时没有有效问题, 立即报告没有关键模糊性
每次接受答案后:
## Clarifications 部分存在(如果缺失, 根据规范模板在最高级别的上下文 / 概述部分之后创建)### Session YYYY-MM-DD 子标题- Q: <question> -> A: <final answer>每次写入后执行, 最终再进行一次完整检查:
## Clarifications、### Session YYYY-MM-DD将更新的规范写回 FEATURE_SPEC.
加载 skill omni-dsdd:eval-specify,提供四维量规进行规范质量评测,对更新后的 FEATURE_SPEC 执行评测:
FEATURE_DIR/.runs/evaluations/eval-specify-report.yaml(stage: clarify)若不通过: 修复规范中对应维度的问题,重新评测(最多 2 轮),结果记入步骤 9 完成报告。
提问循环结束或提前终止后输出:
/omni-dsdd:design 还是再次运行澄清加载 skill omni-dsdd:runlog-record,记录技能运行日志信息,请将前面获取到的start_time的值作为参数传入
/omni-dsdd:specify(不要在此创建新规范)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zte-aicloud/co-omnispec --plugin omni-dsdd63 skills in this plugin
/analyze制品一致性分析技能。对 spec.md、design.md、tasks.md 做跨制品一致性分析并自动修复,不设轮数上限,全程不询问用户。残留问题完整打印后继续正常结束。用于分析制品、检查一致性、质量审查。/archive将变更指示文件中的需求/设计/接口变更回流到 DOC_DIR/specs 下的要素文档. 当需要从 feature 变更目录同步更新到 DOC_DIR/specs 下的需求、场景、实体、功能和接口文档及其清单与关联关系时使用/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./brainstorming-sdd-bridgeExpert workflow adapter that converts an approved brainstorming *-design.md into the standard SDD document interface consumed by tasks/implement/review/local-sandbox-fix. Use only after expert brainstorming and before tasks.Other plugins' skills for the same job