mirror of
https://github.com/glittercowboy/get-shit-done
synced 2026-04-25 17:25:23 +02:00
All workflow, command, reference, template, and tool-output files that surfaced /gsd:<cmd> as a user-typed slash command have been updated to use /gsd-<cmd>, matching the Claude Code skill directory name. Closes #2697 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
45 lines
1.7 KiB
Markdown
45 lines
1.7 KiB
Markdown
---
|
|
name: gsd:new-workspace
|
|
description: Create an isolated workspace with repo copies and independent .planning/
|
|
argument-hint: "--name <name> [--repos repo1,repo2] [--path /target] [--strategy worktree|clone] [--branch name] [--auto]"
|
|
allowed-tools:
|
|
- Read
|
|
- Bash
|
|
- Write
|
|
- AskUserQuestion
|
|
---
|
|
<context>
|
|
**Flags:**
|
|
- `--name` (required) — Workspace name
|
|
- `--repos` — Comma-separated repo paths or names. If omitted, interactive selection from child git repos in cwd
|
|
- `--path` — Target directory. Defaults to `~/gsd-workspaces/<name>`
|
|
- `--strategy` — `worktree` (default, lightweight) or `clone` (fully independent)
|
|
- `--branch` — Branch to checkout. Defaults to `workspace/<name>`
|
|
- `--auto` — Skip interactive questions, use defaults
|
|
</context>
|
|
|
|
<objective>
|
|
Create a physical workspace directory containing copies of specified git repos (as worktrees or clones) with an independent `.planning/` directory for isolated GSD sessions.
|
|
|
|
**Use cases:**
|
|
- Multi-repo orchestration: work on a subset of repos in parallel with isolated GSD state
|
|
- Feature branch isolation: create a worktree of the current repo with its own `.planning/`
|
|
|
|
**Creates:**
|
|
- `<path>/WORKSPACE.md` — workspace manifest
|
|
- `<path>/.planning/` — independent planning directory
|
|
- `<path>/<repo>/` — git worktree or clone for each specified repo
|
|
|
|
**After this command:** `cd` into the workspace and run `/gsd-new-project` to initialize GSD.
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@~/.claude/get-shit-done/workflows/new-workspace.md
|
|
@~/.claude/get-shit-done/references/ui-brand.md
|
|
</execution_context>
|
|
|
|
<process>
|
|
Execute the new-workspace workflow from @~/.claude/get-shit-done/workflows/new-workspace.md end-to-end.
|
|
Preserve all workflow gates (validation, approvals, commits, routing).
|
|
</process>
|