New documentation suite in docs/: - README.md — Documentation index with audience-targeted links - ARCHITECTURE.md — System architecture: component model, agent patterns, data flow, file system layout, installer architecture, hook system, runtime abstraction, and design principles - FEATURES.md — Complete feature reference with 32 features documented, each with formal requirements (REQ-*), produced artifacts, process descriptions, and functional specifications - COMMANDS.md — Full command reference: all 37 commands with syntax, flags, arguments, prerequisites, produced artifacts, and examples - CONFIGURATION.md — Complete config schema: 40+ settings across core, workflow, planning, parallelization, git branching, gates, safety, model profiles, and environment variables - CLI-TOOLS.md — gsd-tools.cjs programmatic API: all commands across state, phase, roadmap, config, verify, template, frontmatter, scaffold, init, milestone, and utility categories - AGENTS.md — All 15 specialized agents: roles, tool permissions, spawn patterns, model assignments, produced artifacts, key behaviors, and a complete tool permission matrix Coverage derived from: - All 37 command files (commands/gsd/*.md) - All 41 workflow files (get-shit-done/workflows/*.md) - All 15 agent definitions (agents/*.md) - All 13 reference documents (get-shit-done/references/*.md) - Full CLI source (gsd-tools.cjs + 11 lib modules, ~10K lines) - All 3 hooks (statusline, context-monitor, check-update) - Installer (bin/install.js, ~3K lines) - Full CHANGELOG.md (1.0.0 through 1.24.0, ~170 releases)
11 KiB
GSD Command Reference
Complete command syntax, flags, options, and examples. For feature details, see Feature Reference. For workflow walkthroughs, see User Guide.
Command Syntax
- Claude Code / Gemini / Copilot:
/gsd:command-name [args] - OpenCode:
/gsd-command-name [args] - Codex:
$gsd-command-name [args]
Core Workflow Commands
/gsd:new-project
Initialize a new project with deep context gathering.
| Flag | Description |
|---|---|
--auto @file.md |
Auto-extract from document, skip interactive questions |
Prerequisites: No existing .planning/PROJECT.md
Produces: PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md, config.json, research/
/gsd:new-project # Interactive mode
/gsd:new-project --auto @prd.md # Auto-extract from PRD
/gsd:discuss-phase
Capture implementation decisions before planning.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number (defaults to current phase) |
| Flag | Description |
|---|---|
--auto |
Auto-select recommended defaults for all questions |
--batch |
Group questions for batch intake instead of one-by-one |
Prerequisites: .planning/ROADMAP.md exists
Produces: {phase}-CONTEXT.md
/gsd:discuss-phase 1 # Interactive discussion for phase 1
/gsd:discuss-phase 3 --auto # Auto-select defaults for phase 3
/gsd:discuss-phase --batch # Batch mode for current phase
/gsd:ui-phase
Generate UI design contract for frontend phases.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number (defaults to current phase) |
Prerequisites: .planning/ROADMAP.md exists, phase has frontend/UI work
Produces: {phase}-UI-SPEC.md
/gsd:ui-phase 2 # Design contract for phase 2
/gsd:plan-phase
Research, plan, and verify a phase.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number (defaults to next unplanned phase) |
| Flag | Description |
|---|---|
--auto |
Skip interactive confirmations |
--skip-research |
Skip domain research step |
--skip-verify |
Skip plan checker verification loop |
Prerequisites: .planning/ROADMAP.md exists
Produces: {phase}-RESEARCH.md, {phase}-{N}-PLAN.md, {phase}-VALIDATION.md
/gsd:plan-phase 1 # Research + plan + verify phase 1
/gsd:plan-phase 3 --skip-research # Plan without research (familiar domain)
/gsd:plan-phase --auto # Non-interactive planning
/gsd:execute-phase
Execute all plans in a phase with wave-based parallelization.
| Argument | Required | Description |
|---|---|---|
N |
Yes | Phase number to execute |
Prerequisites: Phase has PLAN.md files
Produces: {phase}-{N}-SUMMARY.md, {phase}-VERIFICATION.md, git commits
/gsd:execute-phase 1 # Execute phase 1
/gsd:verify-work
User acceptance testing with auto-diagnosis.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number (defaults to last executed phase) |
Prerequisites: Phase has been executed
Produces: {phase}-UAT.md, fix plans if issues found
/gsd:verify-work 1 # UAT for phase 1
/gsd:ui-review
Retroactive 6-pillar visual audit of implemented frontend.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number (defaults to last executed phase) |
Prerequisites: Project has frontend code (works standalone, no GSD project needed)
Produces: {phase}-UI-REVIEW.md, screenshots in .planning/ui-reviews/
/gsd:ui-review # Audit current phase
/gsd:ui-review 3 # Audit phase 3
/gsd:audit-milestone
Verify milestone met its definition of done.
Prerequisites: All phases executed Produces: Audit report with gap analysis
/gsd:audit-milestone
/gsd:complete-milestone
Archive milestone, tag release.
Prerequisites: Milestone audit complete (recommended)
Produces: MILESTONES.md entry, git tag
/gsd:complete-milestone
/gsd:new-milestone
Start next version cycle.
| Argument | Required | Description |
|---|---|---|
name |
No | Milestone name |
Prerequisites: Previous milestone completed
Produces: Updated PROJECT.md, new REQUIREMENTS.md, new ROADMAP.md
/gsd:new-milestone # Interactive
/gsd:new-milestone "v2.0 Mobile" # Named milestone
Phase Management Commands
/gsd:add-phase
Append new phase to roadmap.
/gsd:add-phase # Interactive — describe the phase
/gsd:insert-phase
Insert urgent work between phases using decimal numbering.
| Argument | Required | Description |
|---|---|---|
N |
No | Insert after this phase number |
/gsd:insert-phase 3 # Insert between phase 3 and 4 → creates 3.1
/gsd:remove-phase
Remove future phase and renumber subsequent phases.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number to remove |
/gsd:remove-phase 7 # Remove phase 7, renumber 8→7, 9→8, etc.
/gsd:list-phase-assumptions
Preview Claude's intended approach before planning.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number |
/gsd:list-phase-assumptions 2 # See assumptions for phase 2
/gsd:plan-milestone-gaps
Create phases to close gaps from milestone audit.
/gsd:plan-milestone-gaps # Creates phases for each audit gap
/gsd:research-phase
Deep ecosystem research only (standalone — usually use /gsd:plan-phase instead).
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number |
/gsd:research-phase 4 # Research phase 4 domain
/gsd:validate-phase
Retroactively audit and fill Nyquist validation gaps.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number |
/gsd:validate-phase 2 # Audit test coverage for phase 2
Navigation Commands
/gsd:progress
Show status and next steps.
/gsd:progress # "Where am I? What's next?"
/gsd:resume-work
Restore full context from last session.
/gsd:resume-work # After context reset or new session
/gsd:pause-work
Save context handoff when stopping mid-phase.
/gsd:pause-work # Creates continue-here.md
/gsd:help
Show all commands and usage guide.
/gsd:help # Quick reference
Utility Commands
/gsd:quick
Execute ad-hoc task with GSD guarantees.
| Flag | Description |
|---|---|
--full |
Enable plan checking (2 iterations) + post-execution verification |
--discuss |
Lightweight pre-planning discussion |
--research |
Spawn focused researcher before planning |
Flags are composable.
/gsd:quick # Basic quick task
/gsd:quick --discuss --research # Discussion + research + planning
/gsd:quick --full # With plan checking and verification
/gsd:quick --discuss --research --full # All optional stages
/gsd:autonomous
Run all remaining phases autonomously.
| Flag | Description |
|---|---|
--from N |
Start from a specific phase number |
/gsd:autonomous # Run all remaining phases
/gsd:autonomous --from 3 # Start from phase 3
/gsd:do
Route freeform text to the right GSD command.
/gsd:do # Then describe what you want
/gsd:debug
Systematic debugging with persistent state.
| Argument | Required | Description |
|---|---|---|
description |
No | Description of the bug |
/gsd:debug "Login button not responding on mobile Safari"
/gsd:add-todo
Capture idea or task for later.
| Argument | Required | Description |
|---|---|---|
description |
No | Todo description |
/gsd:add-todo "Consider adding dark mode support"
/gsd:check-todos
List pending todos and select one to work on.
/gsd:check-todos
/gsd:add-tests
Generate tests for a completed phase.
| Argument | Required | Description |
|---|---|---|
N |
No | Phase number |
/gsd:add-tests 2 # Generate tests for phase 2
/gsd:stats
Display project statistics.
/gsd:stats # Project metrics dashboard
/gsd:health
Validate .planning/ directory integrity.
| Flag | Description |
|---|---|
--repair |
Auto-fix recoverable issues |
/gsd:health # Check integrity
/gsd:health --repair # Check and fix
/gsd:cleanup
Archive accumulated phase directories from completed milestones.
/gsd:cleanup
Configuration Commands
/gsd:settings
Interactive configuration of workflow toggles and model profile.
/gsd:settings # Interactive config
/gsd:set-profile
Quick profile switch.
| Argument | Required | Description |
|---|---|---|
profile |
Yes | quality, balanced, budget, or inherit |
/gsd:set-profile budget # Switch to budget profile
/gsd:set-profile quality # Switch to quality profile
Brownfield Commands
/gsd:map-codebase
Analyze existing codebase with parallel mapper agents.
| Argument | Required | Description |
|---|---|---|
area |
No | Scope mapping to a specific area |
/gsd:map-codebase # Full codebase analysis
/gsd:map-codebase auth # Focus on auth area
Update Commands
/gsd:update
Update GSD with changelog preview.
/gsd:update # Check for updates and install
/gsd:reapply-patches
Restore local modifications after a GSD update.
/gsd:reapply-patches # Merge back local changes
Community Commands
/gsd:join-discord
Open Discord community invite.
/gsd:join-discord