/spec-interview
Interviews user to refine specification.
Progress Checklist
code
- [ ] Step 1: Resolve ticket - [ ] Step 2: Read requirements.md - [ ] Step 3: Conduct detailed interview - [ ] Step 4: Continue interviewing - [ ] Step 5: Write the spec - [ ] Step 6: Regenerate knowledge-refs.md - [ ] Step 7: Report summary in Japanese - [ ] Step 8: Create /design task
Steps
- •
Resolve ticket:
- •If TICKET_ID provided in args → use it
- •Else → invoke ticket-reader list, ask user to select via AskUserQuestion → TICKET_PATH
- •
Read
<TICKET_PATH>/requirements.md - •
Conduct detailed interview using AskUserQuestion about: technical implementation, UI/UX, concerns, tradeoffs, etc. Avoid obvious questions; focus on clarifying ambiguities and edge cases.
- •
Continue interviewing in-depth until specification is complete.
- •
Write the spec to
<TICKET_PATH>/requirements.md - •
Regenerate knowledge-refs.md:
- •Extract keywords from updated requirements
- •Read $KNOWLEDGE_DIR/tag-index.json
- •Match keywords against tags
- •Determine workflow sections
- •Generate KNOWLEDGE_REFS_DATA JSON
- •Invoke ticket-writer:
code
OPERATION=add-knowledge-ref TICKET_PATH=$TICKET_PATH KNOWLEDGE_REFS_DATA=$KNOWLEDGE_REFS_DATA
- •
Report spec-interview summary in Japanese
- •
Create /design task:
- •TaskCreate:
- •subject: "Run /design"
- •description: "Generate design document from requirements for ticket $TICKET_ID"
- •activeForm: "Running /design"
- •metadata: {skill: "design", args: "ticket=$TICKET_ID", autoRun: true}
- •TaskCreate: