Skip to main content
This guide walks you through your first complete GSD Core project cycle. By the end, you will have initialized a project, run the full five-step phase loop, and created a pull request for your first shipped phase. Each step takes two to five minutes; the full cycle typically runs in under an hour for a well-scoped phase.
The commands below use the Claude Code / Copilot / OpenCode / Kilo hyphen form (/gsd-command-name). If you are on Gemini CLI, replace /gsd- with /gsd:. If you are on Codex, replace /gsd- with $gsd-.
1

Install GSD Core

If you have not already installed GSD Core, run the installer now:
npx @opengsd/gsd-core@latest
The installer prompts for your runtime and installation scope. For full details, see the Installation guide.After the installer completes, open your AI coding runtime in your project directory.
2

Initialize your project

Run the new-project command to set up your project’s planning artifacts:
/gsd-new-project
GSD Core guides you through an interactive session to capture your project vision, constraints, and scope. It then spawns four parallel research agents to explore your domain — one each for stack, features, architecture, and common pitfalls.What gets created:
FilePurpose
.planning/PROJECT.mdProject vision, constraints, and evolution rules
.planning/REQUIREMENTS.mdScoped v1/v2 requirements with IDs
.planning/ROADMAP.mdPhase breakdown with status tracking
.planning/STATE.mdLiving session memory — decisions, blockers, position
.planning/config.jsonWorkflow configuration
.planning/research/Domain research from the parallel researchers
Review the generated ROADMAP.md and approve it when prompted. GSD Core will not proceed until you confirm the roadmap reflects what you intend to build.
After /gsd-new-project completes, run /clear (or your runtime’s equivalent) to start the phase loop with a fresh context window. GSD Core is designed around fresh contexts — all important state lives in .planning/, not in conversation history.
3

Discuss Phase 1

Lock in your implementation preferences before planning begins:
/gsd-discuss-phase 1
GSD Core reads your ROADMAP.md and asks targeted questions about the implementation choices for Phase 1 — library preferences, design patterns, testing approach, and any gray areas where there are multiple valid options. Your answers are written to .planning/phases/01-*/CONTEXT.md.Why this matters: most plan quality issues happen because the AI makes assumptions that a discussion would have prevented. Running discuss-phase before plan-phase ensures the planner has your explicit preferences, not inferred ones.Answer each question, then move on when the discussion is complete.
4

Plan Phase 1

Run the planner to research, decompose, and verify the work:
/gsd-plan-phase 1
GSD Core spawns four parallel phase researchers (stack, features, architecture, pitfalls), synthesizes their findings into RESEARCH.md, then passes everything to the planner. The planner creates two to three atomic execution plans, each sized to fit in a single fresh context window.A plan-checker agent then reviews the plans across eight dimensions — requirement coverage, task atomicity, dependency ordering, context fit, and more. If the plans fail the check, the planner revises them automatically (up to three iterations) before surfacing the result to you.What gets created:
.planning/phases/01-phase-name/
  01-CONTEXT.md       ← your preferences from discuss-phase
  01-RESEARCH.md      ← synthesized ecosystem research
  01-01-PLAN.md       ← first atomic execution plan
  01-02-PLAN.md       ← second atomic execution plan (if needed)
Review the plans when prompted and approve them to proceed.
5

Execute Phase 1

Run the executor to implement the plans:
/gsd-execute-phase 1
GSD Core analyzes the plan dependencies, groups plans into waves, and spawns parallel executor subagents — each with a fresh context window of up to 200K tokens. Each executor reads only its assigned plan, makes an atomic git commit per completed task, and writes a SUMMARY.md documenting what it built and any deviations from the plan.After all executors complete, a verifier agent runs a goal-backward check: it walks through what was built, runs your test suite, and writes VERIFICATION.md with a PASS or FAIL verdict and specific evidence.
Subagents run in a separate context window — their work is invisible to the main session while in progress. Do not interrupt the session. Research and planning agents routinely take one to five minutes to complete.
6

Verify Phase 1

Run user acceptance testing on what was built:
/gsd-verify-work 1
GSD Core reads VERIFICATION.md and walks you through a structured UAT session. You test the implemented features against the phase goals, document your findings, and mark the phase as verified or flag issues for a fix cycle.What gets created:
.planning/phases/01-phase-name/
  01-VERIFICATION.md  ← automated verification results
  01-UAT.md           ← your acceptance test results
If verification reveals problems, GSD Core generates a targeted fix plan. Run /gsd-debug "description" for a guided debugging session, or re-run /gsd-execute-phase 1 after adjusting the plan.
7

Ship Phase 1

Create a pull request for the verified work:
/gsd-ship 1
GSD Core reads the phase artifacts — plans, summaries, and verification results — and generates a structured pull request body with sections for what changed, why, and how it was verified. It then archives the phase state and advances STATE.md to the next phase.Your first phase is shipped. Run /clear and start the loop again with /gsd-discuss-phase 2 for the next phase.
Run /gsd-progress at any time to see exactly where you are in the project lifecycle and what the next recommended step is. If you need to pause and resume later, run /gsd-resume-work at the start of your next session to restore full context from .planning/continue-here.md.

Full command reference

The table below summarizes the commands you used and their key flags:
CommandPurposeKey flags
/gsd-new-projectInitialize project artifacts and roadmap--auto @file.md to ingest from a PRD
/gsd-discuss-phase NCapture implementation preferences--chain to auto-advance to planning
/gsd-plan-phase NResearch, plan, and verify--skip-research when domain is familiar
/gsd-execute-phase NRun plans in parallel waves
/gsd-verify-work NRun user acceptance testing
/gsd-ship NCreate PR and archive phase--draft for a draft PR
/gsd-progressShow current position and next step--next to auto-detect and run next step

Next steps

Workflow Concepts

Understand the five-step phase loop and how spec-driven development structures your work.

Planning Artifacts

Learn what each file in .planning/ contains and how artifacts feed into each other.

Agents

Explore the specialist subagent system and understand what each agent does.

Context Management

Learn how GSD Core prevents context rot and maintains state across sessions.