gsd-remove-workspace

Remove a GSD workspace and its linked Git worktrees across repositories.

8|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/D0NMEGA/donnyclaude --skill gsd-remove-workspace-d0nmega
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-remove-workspace
Source: https://github.com/D0NMEGA/donnyclaude/tree/main/packages/skills/gsd-remove-workspace
Command: npx skills add https://github.com/D0NMEGA/donnyclaude --skill gsd-remove-workspace-d0nmega

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Removing a GSD workspace and its associated worktrees to reduce clutter and prevent stale references across repositories.

Core Features & Use Cases

  • Safe removal across all member repos by verifying there are no uncommitted changes.
  • Removes git worktrees linked to the workspace, ensuring complete cleanup.
  • Provides a clear confirmation flow to avoid accidental deletions and supports reuse in project cleanup scenarios.

Quick Start

Provide the workspace name to remove and confirm the action when prompted.

Frequently Asked Questions about gsd-remove-workspace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely remove a git worktree and its linked workspace across multiple repositories?

To safely remove a git worktree, provide the workspace name and the tool checks for uncommitted changes before executing git worktree remove across all member repositories, deleting the workspace directory after confirmation.

What happens if I try to delete a git worktree with uncommitted changes?

Deleting a git worktree with uncommitted changes is prevented by a verification step that checks repository status first, ensuring no local modifications are lost during the workspace cleanup process.

When should I clean up git worktrees and workspaces in my DevOps workflow?

You should clean up git worktrees and workspaces to reduce clutter and prevent stale references across repositories when a named workspace is no longer needed for your development workflow.

What is the best way to delete a named workspace directory and its associated worktrees?

The best way to delete a named workspace directory is using a confirmation flow that executes git worktree remove for each linked member repo, ensuring complete cleanup of all references before directory deletion.

Does removing a workspace require manually deleting worktrees in each repository?

No, removing a workspace does not require manual deletion as the tool automatically applies git worktree remove across all member repositories using the worktree strategy before deleting the workspace directory.