Conducts a deep, multi-round interview to clarify ambiguous requirements and produces a structured specification document. Automatically discovers requirement files and asks probing, non-obvious questions across technical implementation, UX/UI, trade-offs, edge cases, and architectural decisions.
Ships in spec-skills. 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.
This skill transforms vague or incomplete requirements into a comprehensive, actionable specification through structured interviewing. It reads existing requirement documents in the project, identifies gaps and ambiguities, then conducts a rigorous multi-round interview using the AskUserQuestion tool. The interview continues until all critical dimensions are clarified. Upon completion, it produces a structured markdown specification file.
**/SPEC.md, **/spec.md, **/SPEC*.md**/PRD.md, **/prd.md**/REQUIREMENTS.md, **/requirements.md**/README.md (if it contains requirement-like content)**/docs/requirements/**, **/docs/specs/**Conduct the interview using AskUserQuestion. Follow these principles:
Question Quality Rules:
Interview Dimensions (cover all that are relevant):
Interview Flow:
Continue the interview until:
SPEC.md (or update the existing file if the user prefers).# [Project/Feature Name] Specification
## 1. Overview
- Problem statement
- Solution summary
- Key goals and success criteria
## 2. Functional Requirements
### 2.1 Core Features
- Feature descriptions with acceptance criteria
### 2.2 User Flows
- Step-by-step user interactions
### 2.3 Edge Cases & Error Handling
- Defined behavior for exceptional scenarios
## 3. Technical Architecture
### 3.1 System Design
- High-level architecture decisions
- Component boundaries
### 3.2 Data Model
- Key entities and relationships
### 3.3 API Design
- Endpoints, contracts, error responses
### 3.4 State Management
- Client/server state boundaries
## 4. UX/UI Specification
### 4.1 Interaction Patterns
- Key interactions and feedback
### 4.2 States
- Loading, empty, error, success states
### 4.3 Accessibility
- Requirements and standards
## 5. Non-Functional Requirements
### 5.1 Performance
- Targets and constraints
### 5.2 Security
- Authentication, authorization, data protection
### 5.3 Scalability
- Growth expectations and limits
## 6. Constraints & Trade-offs
- Explicit decisions made and their rationale
- What was deliberately excluded and why
## 7. Open Questions
- Any remaining items that need future clarification
/spec-interview
(With a SPEC.md file in the project containing: "Build a notification system for the app")
Questions asked:
1. "The document mentions 'notifications' but doesn't specify the delivery channels.
Are we talking about in-app only, or also push/email/SMS? If multiple, which is
the primary channel and which are fallbacks?"
2. "What triggers a notification? Is it purely event-driven from backend actions,
or can other users trigger notifications (e.g., mentions, shares)?"
3. "Should notifications be real-time (WebSocket/SSE) or is polling acceptable?
What's the maximum acceptable delay between event and notification?"
Questions asked:
1. "You mentioned push notifications are needed. If the user has denied push
permissions, should the system fall back to email, show an in-app prompt to
re-enable, or silently degrade?"
2. "For real-time delivery: if the WebSocket connection drops, should queued
notifications be delivered on reconnect, or only show new ones from that point?"
3. "You said 'mentions' trigger notifications. In a thread with 50 participants,
does @all notify everyone? Is there a rate limit to prevent notification storms?"
A structured SPEC.md file with all ambiguities resolved, containing specific implementation details derived from the interview.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/spec-skills:spec-interviewfrom spec-skills
npx claudepluginhub kangminhyuk1111/agents --plugin spec-skills