The Full Lifecycle
GSD structures development into five distinct stages: Each stage has a specific purpose. Skip a stage, and quality suffers.Stage 1: Discuss Phase
Command:/gsd:discuss-phase [N]
Purpose: Capture YOUR vision before Claude makes assumptions
What Happens
Phase Analysis
Claude reads the phase description from ROADMAP.md and analyzes what’s being built:Identifies gray areas:
- Layout (grid vs list vs table)
- Density (compact vs spacious)
- Interactions (hover states, click behavior)
- Empty states (what shows when no projects)
Targeted Questions
For each gray area you select, Claude asks until satisfied:Layout:
- Grid or list layout?
- How many columns on desktop/mobile?
- Card-based or table-based?
- Show full project details or compact view?
- Include descriptions in list or detail view only?
- Click project → navigate or expand inline?
- Hover states on cards?
- Action buttons (edit/delete) always visible or on hover?
Why It Matters
Without discuss-phase:When to Use
Visual Features
Layout, density, interactions, empty states, styling preferences
APIs/CLIs
Response format, flags, error handling, verbosity levels
Content Systems
Structure, tone, depth, flow, examples vs theory
Organization Tasks
Grouping criteria, naming conventions, duplicate handling
When to Skip
Skip discuss-phase when:- Phase has no ambiguity (“Add field to database”)
- You trust Claude’s defaults
- Time pressure (can always re-plan)
Stage 2: Plan Phase
Command:/gsd:plan-phase [N]
Purpose: Research how to build it, create executable plans
What Happens
Research (Optional)
Spawns 4 parallel researchers:Disable:
/gsd:plan-phase --skip-research or toggle in settingsPlanning
Planner agent (fresh 200K context) reads:
- PROJECT.md
- REQUIREMENTS.md
- -CONTEXT.md (your decisions)
- -RESEARCH.md (ecosystem knowledge)
- 2-4 relevant prior SUMMARYs
- XML task structure
- Dependency graph
- Wave assignments
- Goal-backward must-haves
Plan Checking (Optional)
Checker agent validates plans against 8 dimensions:
- Requirement coverage — All requirements addressed?
- Task completeness — Each task has name/files/action/verify/done?
- Dependency correctness — Wave assignments valid?
- Scope sanity — Plans fit ~50% context?
- Must-haves derivation — Frontmatter has goal-backward criteria?
- Key links planned — Critical connections identified?
- TDD appropriateness — Test-first where applicable?
- Nyquist validation — Every task has automated verify command?
/gsd:plan-phase --skip-verify or toggle in settingsDiscovery Levels
Planning includes mandatory discovery protocol:| Level | When | Action | Time |
|---|---|---|---|
| Level 0 | Pure internal work, existing patterns | Skip discovery | 0 min |
| Level 1 | Single known library, syntax check | Context7 query | 2-5 min |
| Level 2 | Choosing between 2-3 options | Full research workflow | 15-30 min |
| Level 3 | Architectural decision, novel problem | Deep dive research | 1+ hour |
For niche domains (3D, games, audio, shaders, ML), GSD suggests
/gsd:research-phase before planning.Wave Structure Example
Stage 3: Execute Phase
Command:/gsd:execute-phase <N>
Purpose: Run plans in parallel waves, commit atomically
What Happens
Wave Analysis
Orchestrator reads frontmatter from all PLAN.md files:Groups plans by wave, sorts by dependencies.
Wave 1 Execution
Spawns executor agents in parallel:Both run simultaneously. Orchestrator waits for both to complete.
Deviation Handling
Executors apply rules automatically:Rule 1: Auto-fix bugs
Rule 1: Auto-fix bugs
Trigger: Code doesn’t work (errors, incorrect output)Action: Fix → update tests → verify → continue → track deviationExample: Wrong SQL query causing 500 errors → fix query, add test, commit
Rule 2: Auto-add missing critical functionality
Rule 2: Auto-add missing critical functionality
Trigger: Code missing essential features for correctness/securityAction: Add → test → verify → continue → track deviationExample: Protected route with no auth check → add requireAuth() middleware
Rule 3: Auto-fix blocking issues
Rule 3: Auto-fix blocking issues
Trigger: Something prevents completing current taskAction: Fix → test → verify → continue → track deviationExample: Missing TypeScript type causing build errors → create type definition
Rule 4: Ask about architectural changes
Rule 4: Ask about architectural changes
Trigger: Fix requires significant structural modificationAction: STOP → return checkpoint with proposal → await user decisionExample: Plan says “add column” but executor realizes need new table → checkpoint
All deviations are documented in SUMMARY.md. Plans are guides, not scripts.
Checkpoints
When executor hitstype="checkpoint:*":
- Completes all automation BEFORE checkpoint
- Pauses execution
- Returns structured message:
- Fresh continuation agent spawned after approval
Atomic Commits
Each task gets its own commit immediately after completion:Stage 4: Verify Work
Command:/gsd:verify-work [N]
Purpose: Manual user acceptance testing with auto-diagnosis
What Happens
Extract Testable Deliverables
Claude reads:
- Phase must_haves from PLAN frontmatter
- Success criteria from PLAN files
- VERIFICATION.md (automated checks)
Why Manual Testing?
Automated verification checks:- ✅ Code exists
- ✅ Tests pass
- ✅ Key files present
Verify-work is where you confirm the feature actually does what you wanted. GSD automates the diagnosis and fix planning when issues are found.
Stage 5: Repeat
After verify-work:Full Workflow Diagram
Quick Mode
Command:/gsd:quick
Purpose: Ad-hoc tasks without full planning ceremony
Skips:
- Research phase
- Plan checking
- Verification stage
- Context engineering
- Atomic commits
- State tracking
- Deviation rules
Best Practices
/clear between stages
Run
/clear after plan-phase, before execute-phase. Orchestrator spawns fresh agents anyway.Discuss visual features
Always run discuss-phase for UI work. Layout, interactions, styling — these need your input.
Let verification happen
Don’t skip verify-work. It catches issues early and creates fix plans automatically.
Trust the waves
GSD automatically parallelizes. Prefer vertical slices (full features) over horizontal layers (all models, then APIs, then UI).
Next Steps
Atomic Commits
Learn how each task becomes a traceable commit
Quickstart
Try the full workflow on a sample project