一键导入
speckit-02-clarify
Identify underspecified areas and ask targeted clarification questions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Identify underspecified areas and ask targeted clarification questions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create or update project governance principles and constitution
Create feature specification from natural language description
Create technical implementation plan from feature specification
Generate domain-specific quality checklists for requirements validation
Generate test specifications from requirements before implementation (TDD support)
Generate actionable task breakdown from plan and specification
| name | speckit-02-clarify |
| description | Identify underspecified areas and ask targeted clarification questions |
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Before ANY action, load and internalize the project constitution:
Read constitution:
cat .specify/memory/constitution.md 2>/dev/null || echo "NO_CONSTITUTION"
If exists, parse all principles, constraints, and governance rules.
Run prerequisites check:
bash .tessl/tiles/tessl-labs/spec-kit/skills/speckit-01-specify/scripts/bash/check-prerequisites.sh --json --paths-only
Parse JSON for:
FEATURE_DIRFEATURE_SPECIf JSON parsing fails:
ERROR: Feature specification not found.
No active feature detected. Create a feature specification first.
Run: /speckit-01-specify <feature description>
Detect and reduce ambiguity or missing decision points in the active feature specification and record the clarifications directly in the spec file.
Note: This clarification workflow should run BEFORE invoking /speckit-03-plan. If the user explicitly states they are skipping clarification, proceed but warn that downstream rework risk increases.
Load the current spec file and perform a structured ambiguity & coverage scan using this taxonomy. For each category, mark status: Clear / Partial / Missing.
Functional Scope & Behavior:
Domain & Data Model:
Interaction & UX Flow:
Non-Functional Quality Attributes:
Integration & External Dependencies:
Edge Cases & Failure Handling:
Constraints & Tradeoffs:
Terminology & Consistency:
Completion Signals:
Generate a prioritized queue of candidate clarification questions (maximum 5).
Constraints:
Present EXACTLY ONE question at a time.
For multiple-choice questions:
Analyze all options and determine the most suitable option based on:
Present your recommended option prominently:
**Recommended:** Option [X] - <reasoning>
Render all options as a table:
| Option | Description |
|---|---|
| A | Option A description |
| B | Option B description |
| C | Option C description |
| Short | Provide a different short answer (<=5 words) |
Add: You can reply with the option letter (e.g., "A"), accept the recommendation by saying "yes" or "recommended", or provide your own short answer.
After user answers:
Stop asking when:
For each accepted answer:
Ensure a ## Clarifications section exists in the spec
Under it, create a ### Session YYYY-MM-DD subheading for today
Append: - Q: <question> -> A: <final answer>
Apply the clarification to the appropriate section:
Save the spec file AFTER each integration to minimize risk of context loss
After EACH write plus final pass:
Output:
| Category | Status |
|---|---|
| [Category] | Resolved / Deferred / Clear / Outstanding |
/speckit-03-plan)ERROR: spec.md not found in feature directory.
Run: /speckit-01-specify <feature description>
After completing clarification:
/speckit-03-plan to create the technical implementation planThe plan skill will validate that the spec exists before proceeding.