gsd-remove-workspace

Remove a GSD workspace and clean up git worktrees safely.

264|11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/rkz91/coco --skill gsd-remove-workspace-rkz91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-remove-workspace
Source: https://github.com/rkz91/coco/tree/main/systems/gsd/skills/gsd-remove-workspace
Command: npx skills add https://github.com/rkz91/coco --skill gsd-remove-workspace-rkz91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Removes a GSD workspace and cleans up associated worktrees to reclaim resources and reduce clutter.

Core Features & Use Cases

  • Validates there are no uncommitted changes before removal and iterates over all member repos to remove their worktrees.
  • Cleans up workspace metadata and references to keep the project repository in a consistent state.
  • Use Case: when a multi-repo project is no longer needed or a workspace is deprecated, run this to safely delete it.

Quick Start

Provide the workspace name to remove and trigger the remove-workspace workflow to delete the workspace and its worktrees.

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 with uncommitted changes in a multi-repo project?

To safely remove a git worktree with uncommitted changes, this Skill enforces validation checks to detect uncommitted changes before proceeding. It iterates over all member repos to run git worktree remove, ensuring no uncommitted work is lost during workspace cleanup.

What is the best way to clean up workspace metadata after deleting git worktrees?

Cleaning up workspace metadata after deleting git worktrees involves removing metadata and references to keep the project repository consistent. This Skill handles workspace cleanup by safely removing worktrees and associated metadata references for multi-repo projects.

How do I delete a deprecated workspace across multiple git worktrees?

To delete a deprecated workspace across multiple git worktrees, provide the workspace name and trigger the remove-workspace workflow. The Skill iterates over each member repo, safely removing worktrees and cleaning up metadata to reclaim resources.

Does removing git worktrees automatically check for uncommitted changes?

Yes, removing git worktrees with this Skill automatically enforces checks for uncommitted changes. It validates that no uncommitted changes exist before running git worktree remove for each member repo in the multi-repo project.

What happens if I try to remove a workspace when there are uncommitted changes in member repos?

When removing a workspace with uncommitted changes in member repos, the Skill enforces validation checks that prevent deletion. It ensures git worktree remove is only executed after confirming no uncommitted changes exist, protecting against data loss.