Skip to main content

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 feed
That’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:
  1. Researcher knows what to investigate - “User wants card layout” → research card component libraries
  2. 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

Starts fresh discussion for phase 1.

Domain-Aware Gray Areas

GSD analyzes your phase goal and generates specific gray areas, not generic questions:
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:
After each set of 4:
  • More questions → Ask 4 more, repeat
  • Move to next → Close this area, move on
After all selected areas are explored:
  • Ready to create context? → Write CONTEXT.md
Don’t feel pressured to answer everything. If you don’t care about a detail, say “whatever’s standard” or “Claude’s choice” and move on.

Scope Guardrails

Discuss-phase clarifies HOW to implement, not WHETHER to add more features.
The phase boundary from ROADMAP.md is fixed. If you suggest new capabilities during discussion:
This prevents scope creep while capturing good ideas for future work.

Code-Informed Questions

GSD scouts your codebase before asking questions:
This helps you:
  • 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:
This file is loaded by:
  • 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
If you find yourself discussing file structure or function names, you’re too deep in technical details. Discuss-phase is about what users experience, not how code is organized.

Example Session

1

Start discussion

2

Review gray areas

You select: 1, 3, 4
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

Tips

Use code examples. Show GSD a screenshot or existing component you like. Visual references clarify intent faster than words.
Start broad, go deep. Select multiple gray areas, explore each lightly, then dive deep into the ones that matter most.
Capture “why” not just “what”. “Infinite scroll because users browse aimlessly” is better than “use infinite scroll”.
Context is immutable during planning/execution. If you change your mind after execution starts, you’ll need to update CONTEXT.md and re-plan.