Commands are now installed as commands/gsd/<name>.md and invoked as /gsd:<name> in Claude Code. The old hyphen form /gsd-<name> was still hardcoded in hundreds of places across workflows, references, templates, lib modules, and command files — causing "Unknown command" errors whenever GSD suggested a command to the user. Replace all /gsd-<cmd> occurrences where <cmd> is a known command name (derived at runtime from commands/gsd/*.md) using a targeted Node.js script. Agent names, tool names (gsd-sdk, gsd-tools), directory names, and path fragments are not touched. Adds regression test tests/bug-2543-gsd-slash-namespace.test.cjs that enforces zero legacy occurrences going forward. Removes inverted tests/stale-colon-refs.test.cjs (bug #1748) which enforced the now-obsolete hyphen form; the new bug-2543 test supersedes it. Updates 5 assertion tests that hardcoded the old hyphen form to accept the new colon form. Closes #2543 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
47 lines
1.6 KiB
Markdown
47 lines
1.6 KiB
Markdown
---
|
|
name: gsd:new-project
|
|
description: Initialize a new project with deep context gathering and PROJECT.md
|
|
argument-hint: "[--auto]"
|
|
allowed-tools:
|
|
- 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>
|
|
|
|
<context>
|
|
**Flags:**
|
|
- `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
|
|
</context>
|
|
|
|
<objective>
|
|
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.
|
|
</objective>
|
|
|
|
<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>
|
|
|
|
<process>
|
|
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).
|
|
</process>
|