Loading...
Loading...
Deep interview process to transform vague ideas into detailed specs. Works for technical and non-technical users.
npx skill4agent add parcadei/continuous-claude-v3 discovery-interviewAskUserQuestion with questions like:
- "In one sentence, what problem are you trying to solve?"
- "Who will use this? (End users, developers, internal team, etc.)"
- "Is this a new thing or improving something existing?"AskUserQuestion(
question: "You mentioned wanting real-time updates. There are several approaches with different tradeoffs. Would you like me to research this before we continue?",
options: [
{label: "Yes, research it", description: "I'll investigate options and explain the tradeoffs"},
{label: "No, I know what I want", description: "Skip research, I'll specify the approach"},
{label: "Tell me briefly", description: "Give me a quick overview without deep research"}
]
)User: "I want real-time updates"
You: [Research WebSockets vs SSE vs Polling vs WebRTC]
You: "I researched real-time options. Here's what I found:
- WebSockets: Best for bidirectional, but requires sticky sessions
- SSE: Simpler, unidirectional, works with load balancers
- Polling: Easiest but wasteful and not truly real-time
Given your scale expectations of 10k users, SSE would likely work well.
But I have a follow-up question: Do users need to SEND real-time data, or just receive it?"AskUserQuestion(
question: "I noticed a potential conflict: You want [X] but also [Y]. These typically don't work together because [reason]. Which is more important?",
options: [
{label: "Prioritize X", description: "[What you lose]"},
{label: "Prioritize Y", description: "[What you lose]"},
{label: "Explore alternatives", description: "Research ways to get both"}
]
)## Completeness Checklist
### Problem Definition
- [ ] Clear problem statement
- [ ] Success metrics defined
- [ ] Stakeholders identified
### User Experience
- [ ] User journey mapped
- [ ] Core actions defined
- [ ] Error states handled
- [ ] Edge cases considered
### Technical Design
- [ ] Data model understood
- [ ] Integrations specified
- [ ] Scale requirements clear
- [ ] Security model defined
- [ ] Deployment approach chosen
### Decisions Made
- [ ] All tradeoffs explicitly chosen
- [ ] No "TBD" items remaining
- [ ] User confirmed understanding"Before I write the spec, let me confirm my understanding:
You're building [X] for [users] to solve [problem].
The core experience is [journey].
Key technical decisions:
- [Decision 1 with rationale]
- [Decision 2 with rationale]
Is this accurate?"thoughts/shared/specs/YYYY-MM-DD-<name>.md# [Project Name] Specification
## Executive Summary
[2-3 sentences: what, for whom, why]
## Problem Statement
[The problem this solves, current pain points, why now]
## Success Criteria
[Measurable outcomes that define success]
## User Personas
[Who uses this, their technical level, their goals]
## User Journey
[Step-by-step flow of the core experience]
## Functional Requirements
### Must Have (P0)
- [Requirement with acceptance criteria]
### Should Have (P1)
- [Requirement with acceptance criteria]
### Nice to Have (P2)
- [Requirement with acceptance criteria]
## Technical Architecture
### Data Model
[Key entities and relationships]
### System Components
[Major components and their responsibilities]
### Integrations
[External systems and how we connect]
### Security Model
[Auth, authorization, data protection]
## Non-Functional Requirements
- Performance: [specific metrics]
- Scalability: [expected load]
- Reliability: [uptime requirements]
- Security: [compliance, encryption]
## Out of Scope
[Explicitly what we're NOT building]
## Open Questions for Implementation
[Technical details to resolve during implementation]
## Appendix: Research Findings
[Summary of research conducted during discovery]options: [
{label: "Option A", description: "Clear choice with implications"},
{label: "Option B", description: "Alternative with different tradeoffs"},
{label: "I'm not sure", description: "Let's explore this more"},
{label: "Research this", description: "I'll investigate and come back"}
]AskUserQuestion(
question: "Which of these capabilities do you need?",
multiSelect: true,
options: [...]
)| Signal | What to do |
|---|---|
| "I think..." or "Maybe..." | Probe deeper, offer research |
| "That sounds good" (to your suggestion) | Verify they understand implications |
| "Just simple/basic X" | Challenge - define what simple means |
| Technology buzzwords without context | Ask what they think it does |
| Conflicting requirements | Surface the conflict explicitly |
| "Whatever is standard" | Explain there's no universal standard |
| Long pauses / short answers | They might be overwhelmed - simplify |
You: "What problem are you trying to solve?"
User: "I want to build an app where people can share recipes"
You: [AskUserQuestion: "Who specifically will use this? What's their cooking level?"]
User: "Home cooks, beginners to intermediate"
You: [AskUserQuestion: "Walk me through: someone opens your app for the first time. What do they see? What do they do first?"]
User: "Um, I guess they see recipes? And they can search?"
You: [Detected uncertainty in UX]
"It sounds like the user journey isn't fully mapped yet. Let me help with that.
[AskUserQuestion: 'What's the ONE thing a user should accomplish in their first 2 minutes?'
Options:
- Find and save a recipe
- Create their first recipe
- Browse trending recipes
- Set up their taste preferences
- Research this (I'll look at successful recipe apps)]"
User: "Research this - what do successful apps do?"
You: [Spawn research agent or WebSearch]
[Returns with findings from AllRecipes, Tasty, Paprika, etc.]
You: "I researched successful recipe apps. Here's what I found:
- Most start with a quick 'taste quiz' to personalize
- The core action is 'save recipe to collection'
- Discovery is usually browse-first, search-second
Given this, let's refine: [AskUserQuestion with informed options]"
[Continue until all categories are covered with sufficient depth]AskUserQuestion(
question: "Spec created at thoughts/shared/specs/YYYY-MM-DD-<name>.md. How would you like to proceed?",
options: [
{label: "Start implementation now", description: "I'll begin implementing the spec in this session"},
{label: "Review spec first", description: "Read the spec and come back when ready"},
{label: "Plan implementation", description: "Create a detailed implementation plan with tasks"},
{label: "Done for now", description: "Save the spec, I'll implement later"}
]
)Say: "To implement this spec, say: 'implement the <name> spec'
This will:
1. Activate the spec context (drift prevention enabled)
2. Inject requirements before each edit
3. Checkpoint every 5 edits for alignment
4. Validate acceptance criteria before finishing"Spawn plan-agent or invoke /create_plan with the spec pathSay: "Spec saved. When ready, say 'implement the <spec-name> spec' to begin.
The spec includes:
- Problem statement
- User journeys
- Technical requirements
- Acceptance criteria
All of these will be used for drift prevention during implementation."