Files
msd-core/commands/gsd/new-project.md
Tom Boucher 9b5458d1ff fix(codex): new-project no longer creates both AGENTS.md and CLAUDE.md
Detect runtime from execution_context path or env vars at workflow start,
then set INSTRUCTION_FILE (AGENTS.md for Codex, CLAUDE.md for all others).
Pass --output $INSTRUCTION_FILE to generate-claude-md so the helper writes
to the correct file instead of always defaulting to CLAUDE.md.

Also add .codex to skipDirs in init.cjs so Codex runtime directories are
not mistaken for project content during brownfield codebase analysis.

Closes #1521

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 11:28:18 -04:00

1.6 KiB

name, description, argument-hint, allowed-tools
name description argument-hint allowed-tools
gsd:new-project Initialize a new project with deep context gathering and PROJECT.md [--auto]
Read
Bash
Write
Task
AskUserQuestion

<runtime_note> Copilot (VS Code): Use vscode_askquestions wherever this workflow calls AskUserQuestion. They are equivalent — vscode_askquestions is the VS Code Copilot implementation of the same interactive question API. </runtime_note>

**Flags:** - `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference. Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.

Creates:

  • .planning/PROJECT.md — project context
  • .planning/config.json — workflow preferences
  • .planning/research/ — domain research (optional)
  • .planning/REQUIREMENTS.md — scoped requirements
  • .planning/ROADMAP.md — phase structure
  • .planning/STATE.md — project memory

After this command: Run /gsd:plan-phase 1 to start execution.

<execution_context> @/.claude/get-shit-done/workflows/new-project.md @/.claude/get-shit-done/references/questioning.md @/.claude/get-shit-done/references/ui-brand.md @/.claude/get-shit-done/templates/project.md @~/.claude/get-shit-done/templates/requirements.md </execution_context>

Execute the new-project workflow from @~/.claude/get-shit-done/workflows/new-project.md end-to-end. Preserve all workflow gates (validation, approvals, commits, routing).