List Workspaces

<purpose>

Auto-Skiller Updated 1 repo stars

File contents

1. Setup

INIT=$(gsd-sdk query init.list-workspaces)
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi

Parse JSON for: workspace_base, workspaces, workspace_count.

2. Display

If workspace_count is 0:

No workspaces found in ~/gsd-workspaces/

Create one with:
  /gsd-new-workspace --name my-workspace --repos repo1,repo2

Done.

If workspaces exist:

Display a table:

GSD Workspaces (~/gsd-workspaces/)

| Name | Repos | Strategy | Open-workspace Project |
|------|-------|----------|-------------|
| feature-a | 3 | worktree | Yes |
| feature-b | 2 | clone | No |

Manage:
  cd ~/gsd-workspaces/<name>     # Enter a workspace
  /gsd-remove-workspace <name>   # Remove a workspace

For each workspace, show:

  • Name — directory name
  • Repos — count from init data
  • Strategy — from WORKSPACE.md
  • Open-workspace Project — whether .planning/PROJECT.md exists (Yes/No)

Auto-Skiller/plugboot/tree/main/_os/os-inbox/.os-inbox_gateway/engineering_methodologies/Architecture/gsd/skills/list-workspaces commit 86caf8db62

Frequently asked questions

npx skillmds@latest add auto-skiller/list-workspaces