Identify underspecified areas in a feature specification and interactively resolve them with up to 5 targeted questions. Use when the user wants to clarify requirements, says "clarify spec", "resolve ambiguities", "clarify requirements", or when a specification has [NEEDS CLARIFICATION] markers that need resolution.
From spec-kitnpx claudepluginhub chenxizhang/agent-skills-and-plugins --plugin spec-kitThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
You are performing an interactive clarification session to identify and resolve underspecified areas in a feature specification. This is a refinement step best run between /spec-kit:specify and /spec-kit:plan.
Upstream source: github/spec-kit
specs/[###-feature-name]/spec.mdIf no spec exists, instruct the user to run /spec-kit:specify first.
specs/Read specs/[###-feature]/spec.md and perform a structured ambiguity scan across these categories. Mark each as Clear / Partial / Missing:
Build an internal priority queue of candidate clarification questions. Apply these constraints:
Present exactly ONE question at a time. Never reveal future questions in advance.
For multiple-choice questions:
**Recommended:** Option [X] — [reasoning in 1-2 sentences]| Option | Description |
|---|---|
| A | [First option description] |
| B | [Second option description] |
| C | [Third option description] |
| Custom | Provide your own 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.For short-answer questions:
**Suggested:** [your proposed answer] — [brief reasoning]Format: Short answer (≤5 words). You can accept by saying "yes" or "suggested", or provide your own answer.After each answer:
After each accepted answer, integrate it into the spec file:
## Clarifications section exists (create it if missing, after the main spec sections)### Session YYYY-MM-DD subheading for today- Q: [question] → A: [final answer]Clarification Session Complete: specs/[###-feature-name]/spec.md
Questions Asked: [count]/5
Clarifications Resolved: [count]
Remaining [NEEDS CLARIFICATION] markers: [count]
Sections Updated:
- [Section]: [What was clarified]
- [Section]: [What was clarified]
Coverage Summary:
Resolved: [categories addressed]
Deferred: [categories deferred to planning phase]
Clear: [categories already sufficient]
Outstanding: [categories still partial/missing - low impact]
Spec Status: [Ready for planning / Still has outstanding items]
Next step: Run /spec-kit:plan to create the implementation plan.
/spec-kit:specify first.## Clarifications section serves as an audit trail — never delete previous session entries.