feat: rewrite questioning as thinking partner, not interviewer

- Replace interrogation-style domain checklist with conversation arc
- Focus on following user's thread, not walking a checklist
- Add good vs bad examples to guide natural questioning
- Update new-project to use new philosophy

Questioning now helps users discover and articulate their vision
through collaborative thinking instead of form-filling.
This commit is contained in:
Lex Christopherson
2025-12-15 22:15:02 -06:00
parent 55b8cd6918
commit 83e27785db
2 changed files with 98 additions and 120 deletions

View File

@@ -7,18 +7,6 @@ allowed-tools:
- AskUserQuestion - AskUserQuestion
--- ---
<!--
DESIGN NOTE: Initialization Only
This command handles project initialization only:
- Deep context gathering through questioning
- PROJECT.md creation
- config.json with workflow mode
Roadmap creation is now a separate step via /gsd:create-roadmap.
This allows optional research (/gsd:research-project) between initialization and roadmap.
-->
<objective> <objective>
Initialize a new project through comprehensive context gathering. Initialize a new project through comprehensive context gathering.
@@ -57,21 +45,25 @@ Silent setup - execute before any user output:
<step name="question"> <step name="question">
Start: "What do you want to build?" Start: "What do you want to build?"
Then use AskUserQuestion to cover the 9 domains (project type, problem, audience, success, constraints, scope, current state, decisions, open questions). Let them talk. Then follow the conversation arc from `questioning.md`:
1. **Follow the thread** — dig into what they said, what excites them
2. **Sharpen the core** — essential vs nice-to-have
3. **Find boundaries** — what is it NOT
4. **Ground in reality** — only constraints that actually exist
Skip domains already clear from user input. Probe for specifics on vague answers. Be a thinking partner, not an interviewer. Help them discover and articulate their vision.
**Decision gate (MUST have all 3 options):** When you feel you understand it, offer the decision gate:
``` ```
Header: "Ready?" Header: "Ready?"
Options: Options:
1. "Create PROJECT.md" - Finalize 1. "Create PROJECT.md" - Finalize
2. "Ask more questions" - Dig into uncovered domains 2. "Ask more questions" - I'll dig deeper
3. "Let me add context" - User shares more 3. "Let me add context" - User shares more
``` ```
If "Ask more questions" → ask about 2-3 uncovered domains → return to gate. If "Ask more questions" → check coverage gaps from `questioning.md` → ask naturally → return to gate.
Loop until "Create PROJECT.md" selected. Loop until "Create PROJECT.md" selected.
</step> </step>
@@ -95,7 +87,6 @@ Use AskUserQuestion:
Create `.planning/config.json` with chosen mode using `templates/config.json` structure. Create `.planning/config.json` with chosen mode using `templates/config.json` structure.
</step> </step>
<step name="commit"> <step name="commit">
```bash ```bash
git add .planning/PROJECT.md .planning/config.json git add .planning/PROJECT.md .planning/config.json
@@ -107,19 +98,24 @@ docs: initialize [project-name]
Creates PROJECT.md with vision and requirements. Creates PROJECT.md with vision and requirements.
EOF EOF
)" )"
``` ```
</step> </step>
<step name="done"> <step name="done">
``` ```
Project initialized: Project initialized:
- Project: .planning/PROJECT.md - Project: .planning/PROJECT.md
- Config: .planning/config.json (mode: [chosen mode]) - Config: .planning/config.json (mode: [chosen mode])
What's next? What's next?
1. Research domain ecosystem (/gsd:research-project) - For niche/complex domains 1. Research domain ecosystem (/gsd:research-project) - For niche/complex domains
2. Create roadmap (/gsd:create-roadmap) - Skip research, go straight to planning 2. Create roadmap (/gsd:create-roadmap) - Skip research, go straight to planning
3. Done for now 3. Done for now
``` ```
If user selects "Research domain ecosystem" → invoke `/gsd:research-project` If user selects "Research domain ecosystem" → invoke `/gsd:research-project`
@@ -139,3 +135,4 @@ If user selects "Create roadmap" → invoke `/gsd:create-roadmap`
- [ ] config.json has workflow mode - [ ] config.json has workflow mode
- [ ] All committed to git - [ ] All committed to git
</success_criteria> </success_criteria>
```

View File

@@ -1,113 +1,96 @@
<questioning_guide> <questioning_guide>
The initialization questioning phase is the most leveraged moment in any project. Context gathered here flows through every downstream decision. Don't rush it. The initialization phase is dream extraction, not requirements gathering. You're helping the user discover and articulate what they want to build. This isn't a contract negotiation — it's collaborative thinking.
<domains> <philosophy>
Ask about gaps - skip what's already clear from user input. **You are a thinking partner, not an interviewer.**
<project_type> The user often has a fuzzy idea. Your job is to help them sharpen it. Ask questions that make them think "oh, I hadn't considered that" or "yes, that's exactly what I mean."
What kind of thing is this?
- Product/app (software for users)
- Automation/tool (system to automate a process)
- Research/analysis (investigation or learning)
- Creative work (content, art, media)
</project_type>
<problem_motivation> Don't interrogate. Collaborate.
Why does this need to exist? </philosophy>
- What pain point?
- What gap in current solutions?
- What opportunity?
- What's the current state without this?
</problem_motivation>
<audience> <conversation_arc>
Who is this for? **1. Open:** "What do you want to build?"
- Just the user (personal tool)
- Their team (internal use)
- Specific user segment (targeted audience)
- General public (broad availability)
</audience>
<success_criteria> Let them talk. Don't interrupt with clarifying questions yet.
What does "done" look like?
- Must be measurable/verifiable
- Not vague ("make it good")
- Specific outcomes, not activities
</success_criteria>
<constraints> **2. Follow the thread**
What limits exist?
- Tech stack (must use X, can't use Y)
- Timeline (deadline, urgency)
- Resources (budget, team size)
- Dependencies (needs X to exist first)
- Compatibility (must work with Y)
</constraints>
<scope_boundaries> Whatever they said — dig into it. What excited them? What problem sparked this? Follow their energy, not a checklist.
What are you NOT building?
- Explicit exclusions prevent creep
- "Not in v1" is valid
- Helps focus on what matters
</scope_boundaries>
<current_state> "You mentioned [X] — what would that actually look like?"
What exists already? "When you imagine using this, what happens?"
- Greenfield (nothing exists)
- Brownfield (existing code/system)
- Prior attempts (what was tried, what failed)
- Related work (adjacent systems)
</current_state>
<technical_decisions> **3. Sharpen the core**
Any already made?
- Framework choices
- Architecture patterns
- Key libraries
- Deployment target
</technical_decisions>
<open_questions> Help them distinguish the essential from the nice-to-have.
What's still unclear?
- Known unknowns
- Decisions deferred
- Areas needing research
</open_questions>
</domains>
<mechanics> "If you could only have one thing working, what would it be?"
"What's the simplest version that would make you happy?"
<ask_user_question_tool> **4. Find the boundaries**
Every follow-up question uses structured options:
- 2-4 choices per question
- Always include "Other" or "Let me explain"
- Options should be mutually exclusive when possible
</ask_user_question_tool>
<assess_after_round> What is this NOT? Explicit exclusions prevent scope creep later.
After receiving answers, evaluate completeness:
**Critical gaps exist:** "What are you specifically NOT building in v1?"
- State the gap clearly "Where does this stop?"
- Ask about it immediately
- Don't offer to finalize yet
**Sufficient context:** **5. Ground in reality**
- Acknowledge what's gathered
- Note optional areas could explore
- Offer choice: finalize or dig deeper
**Comprehensive:** Only ask about constraints that actually exist. Don't invent concerns.
- Acknowledge depth
- Offer to finalize
- Only edge cases remain
</assess_after_round>
<decision_gate_pattern> "Any hard constraints — tech stack you must use, deadline, platform requirements?"
"Does this need to work with anything existing?"
</conversation_arc>
**CRITICAL: Always present ALL THREE options. Never skip "Ask more questions".** <good_vs_bad>
**BAD — Interrogation mode:**
- "What is your target audience?" (form field)
- "What are your success criteria?" (corporate speak)
- "Have you done X before?" (irrelevant — Claude builds)
- "What's your budget?" (asked before understanding the idea)
Use AskUserQuestion with exactly these options: **GOOD — Thinking partner mode:**
- "You said [X] — do you mean [interpretation A] or more like [interpretation B]?"
- "What would make you actually use this vs abandoning it?"
- "That's ambitious — what's the core that matters most?"
- "Is [Y] essential or just how you're imagining it currently?"
**BAD — Checklist walking:**
- Ask about audience → ask about constraints → ask about tech stack (regardless of what user said)
**GOOD — Following threads:**
- User mentions frustration with current tools → dig into what specifically frustrates them → that reveals the core value prop → then explore how they'd know it's working
</good_vs_bad>
<probing_techniques>
When answers are vague, don't accept them. Probe:
**"Make it good" → "What does good mean to you? Fast? Beautiful? Simple?"**
**"Users" → "Which users? You? Your team? A specific type of person?"**
**"It should be easy to use" → "Easy how? Fewer clicks? No learning curve? Works on mobile?"**
Specifics are everything. Vague in = vague out.
</probing_techniques>
<coverage_check>
By the end of questioning, you should understand:
- [ ] What they're building (the thing)
- [ ] Why it needs to exist (the motivation)
- [ ] Who it's for (even if just themselves)
- [ ] What "done" looks like (measurable outcome)
- [ ] What's NOT in scope (boundaries)
- [ ] Any real constraints (tech, timeline, compatibility)
- [ ] What exists already (greenfield vs brownfield)
If gaps remain, weave questions naturally into the conversation. Don't suddenly switch to checklist mode.
</coverage_check>
<decision_gate>
When you feel you understand the vision, offer the choice:
``` ```
Header: "Ready?" Header: "Ready?"
@@ -118,21 +101,19 @@ Options (ALL THREE REQUIRED):
3. "Let me add context" - You have more to share 3. "Let me add context" - You have more to share
``` ```
If user selects "Ask more questions": If "Ask more questions" → identify gaps from coverage check → ask naturally → return to gate.
- Identify domains not yet covered from the 9 domains list
- Ask about 2-3 of them
- Return to decision gate
Loop until "Create PROJECT.md" selected. Loop until "Create PROJECT.md" selected.
</decision_gate_pattern> </decision_gate>
</mechanics>
<anti_patterns> <anti_patterns>
- **Interrogation** - Firing questions without building on answers
- **Rushing** - Don't minimize questions to get to "the work" - **Checklist walking** - Going through domains regardless of conversation flow
- **Assuming** - Don't fill gaps with assumptions, ask - **Corporate speak** - "What are your success criteria?" "Who are your stakeholders?"
- **Leading** - Don't push toward a preferred answer - **Rushing** - Minimizing questions to get to "the work"
- **Repeating** - Don't ask about what user already provided - **Assuming** - Filling gaps with assumptions instead of asking
- **Shallow** - Don't accept vague answers, probe for specifics - **User skills** - NEVER ask about user's technical experience. Claude builds — user's skills are irrelevant.
- **Premature constraints** - Asking about tech stack before understanding the idea
- **Shallow acceptance** - Taking vague answers without probing for specifics
</anti_patterns> </anti_patterns>
</questioning_guide> </questioning_guide>