spec-kit-clarify
Resolve ambiguities in a feature spec through focused, sequential questioning.
Input: Optionally specify a change name. If omitted, infer from context or ask.
Steps
-
Select the change
Auto-select if only one directory exists under
specs/changes/. Otherwise ask. -
Load
specs/changes/<name>/spec.mdIf it does not exist, prompt the user to use the
spec-kit-specifyskill first. -
Scan for ambiguities
Examine the spec for issues across these categories (in priority order):
- Functional scope — unclear boundaries or behavior
- Data models — undefined entities, states, or transitions
- UX flows — missing user journeys or edge cases
- Non-functional — unspecified performance, security, or scale requirements
- Integrations — undefined external dependencies
- Terminology — ambiguous or inconsistent domain language
Generate up to 5 questions total. Skip categories with no ambiguity.
-
Ask one question at a time
Format each question as multiple-choice (2–5 options) or a short answer (≤5 words).
Only ask a question if the answer materially impacts architecture, data modelling, testing, UX, operations, or compliance.
After each answer, update
spec.mdbefore asking the next question. -
Finalise
After all questions are resolved (or the 5-question limit is reached), update the spec to:
- Remove resolved
[NEEDS CLARIFICATION]markers. - Flag any remaining unresolved items explicitly.
Output
After completing all questions:
- Confirm how many ambiguities were resolved.
- List any items deferred (still open).
- Next step: "Use the
spec-kit-planskill to create the technical implementation plan."
Guardrails
- Never ask more than 5 questions.
- Always save atomically after each answer — never batch updates.
- If all open questions are already resolved, report that and suggest the
spec-kit-planskill. - Never introduce implementation details into the spec during clarification.
More from aircury/ai-framework
open-spec-explore
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
35spec-kit-plan
Create a technical implementation plan from a feature spec. Documents architecture, data models, and interface contracts without generating code. Run after spec-kit-clarify.
33open-spec-apply
Implement tasks from a working change. Use when the user wants to start implementing, continue implementation, or work through planned tasks.
33open-spec-propose
Propose a change with optional working artifacts. Use when the user wants a structured proposal with design notes, tasks, and a clear path to implementation.
33open-spec-complete
Mark a change as complete. Syncs specs/features/ to reflect current system behavior, then cleans up optional workflow artifacts. Framework-agnostic and independent of any external spec tool.
33airsync
Collaborative memory system for AI agents and teams. Three-layer architecture (INBOX → PUBLISHED → ARCHIVED) ensures only high-quality knowledge reaches the shared team memory.
32