Overview
The/gsd:discuss-phase command extracts implementation decisions before research and planning begin. This is where you shape how a feature gets built - the details that make it yours.
Why This Matters
Your roadmap has a sentence or two per phase:Phase 3: User dashboard with activity feedThat’s not enough context to build what you imagine. Do you want cards or a table? Infinite scroll or pagination? Real-time updates or manual refresh? Discuss-phase captures these preferences so:
- Researcher knows what to investigate - “User wants card layout” → research card component libraries
- Planner knows what’s decided - “Infinite scroll confirmed” → plan includes scroll handling
The deeper you go in discuss-phase, the more the system builds what you actually want. Skip it and you get reasonable defaults. Use it and you get your vision.
What It Does
1
Load Context
Reads PROJECT.md, REQUIREMENTS.md, STATE.md, and prior CONTEXT.md files to avoid re-asking decided questions.
2
Scout Codebase
Searches for reusable assets, existing patterns, and integration points.
3
Analyze Phase
Identifies gray areas based on what’s being built. Skips areas already decided in prior phases.
4
Present Gray Areas
Shows a menu of implementation areas to discuss. You choose which matter to you.
5
Deep-Dive Each Area
Asks 4 questions per area. After each set, you can dig deeper or move on.
6
Write CONTEXT.md
Creates
{phase_num}-CONTEXT.md with your decisions. This file guides planning.Command Usage
- First Discussion
- Update Existing
- Automatic Mode
Domain-Aware Gray Areas
GSD analyzes your phase goal and generates specific gray areas, not generic questions:- Visual Features
- APIs & CLIs
- Content Systems
- Organization Tasks
For UI/UX work, gray areas might include:
- Layout & Structure - Cards vs table, grid vs list, responsive breakpoints
- Density & Spacing - Compact vs spacious, information hierarchy
- Interactions - Click behavior, hover states, keyboard navigation
- Empty States - What shows when there’s no data
- Loading States - Skeleton screens, spinners, progressive loading
The Probing Process
When you select a gray area, GSD asks 4 questions at a time:- More questions → Ask 4 more, repeat
- Move to next → Close this area, move on
- Ready to create context? → Write CONTEXT.md
Scope Guardrails
The phase boundary from ROADMAP.md is fixed. If you suggest new capabilities during discussion:Code-Informed Questions
GSD scouts your codebase before asking questions:- Reuse existing components
- Maintain design consistency
- Identify opportunities to improve shared code
Context7 Integration
When choosing libraries or frameworks, GSD can query Context7 for official documentation:Context7 queries require the MCP server to be configured. See MCP Servers.
Output: CONTEXT.md
After discussion, GSD creates{phase_num}-CONTEXT.md:
- Research agent - Knows what to investigate
- Planning agent - Knows what decisions are locked
Prior Context Loading
GSD reads all previous CONTEXT.md files to avoid repeating questions:What NOT to Ask
Discuss-phase focuses on user-facing decisions. GSD does NOT ask about:- Technical implementation - Claude handles code structure
- Architecture choices - Determined during planning
- Performance concerns - Handled during execution
- Testing strategy - Built into plan verification
Example Session
1
Start discussion
2
Review gray areas
3
Discuss first area
4
Complete discussion
After covering all selected areas:
When to Skip Discuss-Phase
You can skip directly to planning if:- The phase is purely technical (refactoring, optimization)
- You’re happy with reasonable defaults
- The implementation is obvious from requirements
- You’re prototyping and will iterate later
Even if you skip, you can always run discuss-phase later and update context before execution.
Next Steps
After capturing context:Plan Phase
Research the domain and create detailed execution plans
Update Context
Re-run discuss-phase to revise decisions