Skip to content
Development
Command

/workspace

Manage GSD workspaces — create, list, or remove isolated workspace environments

From plugin
gsd-core
8k71 skills34 agents71 commands7 hooks
Install
> /plugin marketplace add open-gsd/gsd-core
> /plugin install gsd-core@gsd-core

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/workspace

Context preview

What this command does when you run it.

Manage GSD workspaces — create, list, or remove isolated workspace environments

Command definition

workspace.md
name: gsd:workspace
description: Manage GSD workspaces — create, list, or remove isolated workspace environments
argument-hint: "[--new | --list | --remove] [name]"
allowed-tools:
  - Read
  - Write
  - Bash
  - AskUserQuestion

<objective> Manage GSD workspaces with a single consolidated command.

Mode routing:

  • **--new**: Create an isolated workspace with repo copies and independent .planning/ → new-workspace workflow
  • **--list**: List active GSD workspaces and their status → list-workspaces workflow
  • **--remove**: Remove a GSD workspace and clean up worktrees → remove-workspace workflow

</objective>

<routing>

| Flag | Action | Workflow | |------|--------|----------| | --new | Create workspace with worktree/clone strategy | new-workspace | | --list | Scan ~/gsd-workspaces/, show summary table | list-workspaces | | --remove | Confirm and remove workspace directory | remove-workspace |

</routing>

<execution_context> @~/.claude/gsd-core/workflows/new-workspace.md @~/.claude/gsd-core/workflows/list-workspaces.md @~/.claude/gsd-core/workflows/remove-workspace.md @~/.claude/gsd-core/references/ui-brand.md </execution_context>

<context> Arguments: $ARGUMENTS

Parse the first token of $ARGUMENTS:

  • If it is `--new`: strip the flag, pass remainder (--name, --repos, --path, --strategy, --branch, --auto flags) to new-workspace workflow
  • If it is `--list`: execute list-workspaces workflow (no argument needed)
  • If it is `--remove`: strip the flag, pass remainder (workspace-name) to remove-workspace workflow
  • Otherwise (no flag): show usage — one of --new, --list, or --remove is required

</context>

<process> 1. Parse the leading flag from $ARGUMENTS. 2. Load and execute the appropriate workflow end-to-end based on the routing table above. 3. Preserve all workflow gates from the target workflow (validation, approvals, commits, routing). </process>

Read more
Ships withgsd-core

Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.

Get the whole plugin