Imported from xai-bookkeeping/xai-bookkeeping (
.cursor/skills/gsd-workspace/SKILL.md). Install upstream withnpx skills add xai-bookkeeping/xai-bookkeeping --skill gsd-workspace. Copyright stays with the author.
<cursor_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-workspaceor describes a task matching this skill. - Treat all user text after the skill mention as
{{GSD_ARGS}}. - If no arguments are present, treat
{{GSD_ARGS}}as empty.
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Cursor tools when executing GSD workflows:
Shellfor running commands (terminal operations)StrReplacefor editing existing filesRead,Write,Glob,Grep,Task,WebSearch,WebFetch,TodoWriteas needed
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use
Task(subagent_type="generalPurpose", ...) - The
modelparameter maps to Cursor's model options (e.g., "fast") </cursor_skill_adapter>
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
| 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 |
<execution_context> @/Users/mali/Development/xai-bookkeeping/.cursor/get-shit-done/workflows/new-workspace.md @/Users/mali/Development/xai-bookkeeping/.cursor/get-shit-done/workflows/list-workspaces.md @/Users/mali/Development/xai-bookkeeping/.cursor/get-shit-done/workflows/remove-workspace.md @/Users/mali/Development/xai-bookkeeping/.cursor/get-shit-done/references/ui-brand.md </execution_context>
Parse the first token of {{GSD_ARGS}}:
- 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