spec-loop-clarify-task
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUse this skill only when material unresolved questions, decision
criteria, or option trade-offs block safe planning, approval, design
updates, ADR work, or implementation.
Prefer this skill over a generic grill-me variant for Spec Loop task
creation, task updates, and design updates.
When clarification ends, return control to the invoking workflow:
- task planning resumes ;
../spec-loop-plan-task/SKILL.md - ADR clarification resumes ;
../spec-loop-write-adr/SKILL.md - approval-preparation clarification resumes
;
../spec-loop-prepare-implementation-approval/SKILL.md - implementation-time clarification resumes
.
../spec-loop-implementation-flow/SKILL.md
Clarification stays in the phase of the invoking workflow:
- planning clarification stays in PLAN;
- ADR clarification stays in ADR work;
- implementation-time clarification follows
.
../spec-loop-implementation-flow/SKILL.md
During PLAN or ADR work, revise the governing artifact in place as
needed for the current work item. Executable changes are not allowed.
仅当存在重大未决问题、决策标准或选项权衡因素阻碍安全规划、审批、设计更新、ADR工作或实施时,才可使用本Skill。
对于Spec Loop任务创建、任务更新和设计更新,优先使用本Skill而非通用审查变体。
澄清结束后,将控制权交还给调用的工作流:
- 任务规划恢复执行 ;
../spec-loop-plan-task/SKILL.md - ADR澄清恢复执行 ;
../spec-loop-write-adr/SKILL.md - 审批准备阶段的澄清恢复执行
;
../spec-loop-prepare-implementation-approval/SKILL.md - 实施阶段的澄清恢复执行
。
../spec-loop-implementation-flow/SKILL.md
澄清工作需停留在调用工作流的对应阶段:
- 规划阶段的澄清停留在PLAN阶段;
- ADR相关澄清停留在ADR工作阶段;
- 实施阶段的澄清遵循
。
../spec-loop-implementation-flow/SKILL.md
在PLAN或ADR工作阶段,可根据当前工作项的需要,就地修订主导工件。不允许进行可执行性变更。
Plain confirmation exclusion
普通确认排除项
Handle obvious typo fixes, trivial one-word disambiguations, and
simple factual confirmations inline when they would not materially
change scope, behavior, policy, conceptual model, conceptual contract
boundaries, acceptance logic, route, Design, or Test specification.
These are outside the grilling protocol: no grill-level notice,
decision batches, or / format.
Question:Recommendation:If such a point turns out to have a material design consequence,
resume normal clarification.
当明显的拼写错误修复、简单的单义词义消歧以及基础事实确认不会对范围、行为、政策、概念模型、概念契约边界、验收逻辑、路径、设计或测试规范产生实质性改变时,可直接在流程内处理。
这些情况不属于审查协议范畴:无需发布审查级通知、决策批次,也无需使用 / 格式。
Question:Recommendation:若此类问题最终被发现会对设计产生实质性影响,则恢复正常澄清流程。
Core method
核心方法
For each unresolved point:
- Check whether the answer is already determined by confirmed user choices, existing task materials, glossary language, code, docs, or a low-risk mechanical consequence of those choices.
- If yes, resolve it directly.
- If no, ask only if different answers would materially change scope, behavior, policy, conceptual model, conceptual contract boundaries, acceptance logic, route, Design, or Test specification.
- If no material change would result, do not clarify it here.
Treat conflicts between user wording, glossary language, task
materials, and code as evidence to surface explicitly.
If a distinction would change whether two concepts are the same thing,
different things, or governed by different rules, treat it as
material.
Do not use clarification for exact names, wording, labels, field
names, enum names, or other cheap-to-change design text when the
boundary is already settled. Put that in Design instead.
If drafting or reviewing Design exposes a new material boundary
question, return to clarification before continuing.
针对每个未决问题:
- 检查答案是否已由用户确认的选择、现有任务材料、术语表表述、代码、文档,或这些选择带来的低风险必然结果所确定。
- 若是,则直接解决该问题。
- 若否,仅当不同答案会对范围、行为、政策、概念模型、概念契约边界、验收逻辑、路径、设计或测试规范产生实质性改变时,才提出询问。
- 若不会产生实质性改变,则无需在此处澄清。
将用户表述、术语表、任务材料与代码之间的冲突作为明确需要提出的依据。
若某一区分会改变两个概念是同一事物、不同事物,还是受不同规则约束的判定,则将其视为实质性问题。
当边界已确定时,不要将澄清用于精确名称、措辞、标签、字段名、枚举名或其他易于修改的设计文本。此类内容应归入设计环节处理。
若在起草或审查设计时发现新的实质性边界问题,需先返回澄清流程,再继续推进。
Clarification surface
澄清呈现方式
Clarification uses three tools:
- direct recording of fully determined decisions;
- surfaced decision batches for material decisions the user should explicitly see; and
- explicit questions when user input is still required.
Use the current clarification grill level already in force for the
work item when one exists. Otherwise, if no user, session, or project
default is in force, default to .
mediumKeep the grill level implicit unless clarification is likely to
require more than 3 user-facing clarification steps. A clarification
step is one decision batch or one block. Plain
confirmations do not count.
Question:If the threshold is exceeded, state the current grill level once for
that work item:
- = fewer questions and fewer surfaced decisions;
light - = balanced default;
medium - = more questions and more surfaced decisions.
heavy
If the need for more than 3 clarification steps becomes clear only
later, give the notice then before continuing. Do not repeat it unless
the user asks, the level changes, or clarification starts for a
different work item.
The grill level affects surfacing and question frequency only. It does
not change the definition of a material unresolved question or the
need to preserve final clarification state.
Select unresolved branches by descending importance and uncertainty.
Traverse the selected branch depth first. Start with a brief map of the
most important visible unresolved branches and which branch you will
address first.
For directly resolved decisions:
- record them immediately when they are fully determined, unsurprising if left implicit, and easy to revise before approval or implementation; or
- queue them for a surfaced decision batch when the user should see them explicitly, later clarification depends on them as explicit shared state, or leaving them implicit would be surprising.
澄清工作使用三种工具:
- 直接记录已完全确定的决策;
- 呈现决策批次,展示用户需明确知晓的重大决策;
- 当仍需用户输入时,提出明确问题。
若当前工作项已有生效的澄清审查级别,则使用该级别。否则,若用户、会话或项目无默认级别,则默认使用级别。
medium除非澄清可能需要超过3个面向用户的澄清步骤,否则无需明确说明审查级别。一个澄清步骤指一个决策批次或一个块。普通确认不计入步骤。
Question:若超过阈值,需针对该工作项说明一次当前审查级别:
- = 更少的问题和更少的决策呈现;
light - = 平衡的默认级别;
medium - = 更多的问题和更多的决策呈现。
heavy
若后续才明确需要超过3个澄清步骤,则在继续前及时说明。除非用户询问、级别变更,或针对不同工作项启动澄清,否则无需重复说明。
审查级别仅影响决策呈现和提问频率,不会改变重大未决问题的定义,也不会改变保留最终澄清状态的要求。
按重要性和不确定性从高到低选择未决分支。深度优先遍历选定分支。首先简要列出最重要的可见未决分支,以及将首先处理的分支。
对于直接解决的决策:
- 若决策已完全确定、隐含状态下不会引发意外,且在审批或实施前易于修订,则立即记录;
- 若用户需明确知晓该决策、后续澄清依赖其作为明确共享状态,或隐含状态下会引发意外,则将其加入待呈现的决策批次。
Decision batch size
决策批次规模
A surfaced decision batch must contain at most 6 decisions.
At each clarification step, present either:
- one decision batch; or
- one question.
Do not ask a question before presenting queued decisions it depends on.
Do not ask a new question in the same response as a decision batch.
一个呈现的决策批次最多包含6项决策。
每个澄清步骤仅可呈现以下内容之一:
- 一个决策批次;或
- 一个问题。
在呈现待决决策依赖的已排队决策前,不要提出问题。不要在同一回复中同时呈现决策批次和新问题。
Governing artifact and durable state
主导工件与持久状态
Clarification always works against one governing artifact:
- task artifact for planning, approval preparation, or implementation;
- ADR for ADR work.
Keep final clarification decisions in the governing artifact's
section.
AnalysisIn task artifacts, follow
: place
immediately after and record each final clarification
decision as
../spec-loop-plan-task/common-task-guidance.mdAnalysisResearch- <decision> because <reason>.In ADRs, follow : keep
as compact ADR-relevant bullets supporting the chosen
decision. Treat it as the ADR's authoritative decision-and-reason
ledger.
../spec-loop-write-adr/adr-format.mdAnalysisKeep only accepted final decisions there. Do not keep open questions,
options, confidence values, or transient notes.
Clarification is cross-cutting. When a decision becomes final, update
and every affected section of the governing artifact.
AnalysisIf clarification resolves or changes shared domain terms, note the
required glossary follow-up in the active task when one exists or is
being prepared.
For task-controlled work, do not let final clarification state live
only in chat once that becomes unsafe. Promote to the task-file path
before chat-only storage becomes unsafe, and always sync the final
clarification state before returning control.
澄清工作始终针对一个主导工件:
- 规划、审批准备或实施阶段对应任务工件;
- ADR工作阶段对应ADR。
将最终澄清决策保存在主导工件的部分。
Analysis对于任务工件,遵循:将置于之后,每个最终澄清决策记录为
../spec-loop-plan-task/common-task-guidance.mdAnalysisResearch- <决策内容> 因为 <原因>。对于ADR,遵循:将整理为简洁的ADR相关要点,用以支撑选定决策。将其视为ADR的权威决策及原因记录。
../spec-loop-write-adr/adr-format.mdAnalysis仅保留已接受的最终决策。不要保留未解决的问题、选项、置信度值或临时笔记。
澄清工作具有跨领域性。当决策最终确定后,更新以及主导工件中所有受影响的部分。
Analysis若澄清解决或变更了共享领域术语,需在当前任务(若存在或正在准备)中记录所需的术语表后续跟进事项。
对于任务管控的工作,一旦仅通过聊天记录保存最终澄清状态存在风险,就不要继续仅依赖聊天记录。在聊天存储变得不安全前,将状态迁移至任务文件路径,并在交还控制权前始终同步最终澄清状态。
Response forms
回复格式
For each surfaced decision in a batch, use:
Decision: <brief answer> (<N>%)
Reason: <brief reason>
Keep both lines brief. The line must contain the actual
answer.
Decision:After a decision batch, ask the user to confirm, question, or
disagree, then wait.
For explicit questions, use:
Question: <brief question>
Recommendation: <answer> (<N>%)
Reason: <brief reason>
If the question is a choice among listed alternatives, use:
Question: <brief question>
Recommendation: <letter> (<N>%)
Options:
- A. <brief option summary>
- B. <brief option summary>
- C. <brief option summary> Reason: <brief reason>
For yes/no questions, use or unless you explicitly list
lettered options.
yesnoWhen the user cleanly confirms a presented option, acknowledge it
briefly, such as or .
B recordedyes recorded对于批次中呈现的每个决策,使用:
Decision: <简要答案> (<N>%)
Reason: <简要原因>
两行内容均需简洁。行必须包含实际答案。
Decision:在决策批次后,请求用户确认、提问或提出异议,然后等待回复。
对于明确的问题,使用:
Question: <简要问题>
Recommendation: <答案> (<N>%)
Reason: <简要原因>
若问题为列出选项中的选择,使用:
Question: <简要问题>
Recommendation: <字母> (<N>%)
Options:
- A. <简要选项概述>
- B. <简要选项概述>
- C. <简要选项概述> Reason: <简要原因>
对于是非题,使用或,除非明确列出带字母的选项。
yesno当用户明确确认某一选项时,简要确认,例如或。
B已记录yes已记录Exit
退出条件
Before handing work back to the invoking workflow, confirm that:
- no material unresolved question remains for the current branch;
- glossary conflicts and code/docs contradictions have been resolved or explicitly surfaced;
- required glossary follow-up has been noted when relevant; and
- the governing artifact matches the final clarification state.
在将工作交还调用工作流前,需确认:
- 当前分支无重大未决问题;
- 术语表冲突和代码/文档矛盾已解决或明确呈现;
- 相关情况下已记录所需的术语表后续跟进事项;
- 主导工件与最终澄清状态一致。