/gsd init
The first command to run in a new project. init detects your project’s language, framework, and tooling, then creates the .gsd/ directory with the appropriate configuration. If an existing GSD project is detected, it offers reinitialisation options.
/gsd initThe wizard runs interactively — no arguments needed.
What It Does
Section titled “What It Does”- Detects project state — scans for
package.json,Cargo.toml,go.mod,pyproject.toml, etc. to identify your language and framework - Configures preferences — sets up isolation mode, model preferences, and project-specific settings
- Bootstraps
.gsd/— creates the directory structure includingPROJECT.md,REQUIREMENTS.md,DECISIONS.md,KNOWLEDGE.md, andSTATE.md
If GSD is already initialised, the wizard detects this and offers options to reinitialise or update the configuration.
Related Commands
Section titled “Related Commands”/gsd setup— configure global settings (LLM auth, search, remote integrations)/gsd doctor— diagnose issues with an existing GSD project