shine-remove-workspace

Remove SHINE workspaces and clean up git worktrees across member repos.

1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/diShine-digital-agency/SHINE-Code-System --skill shine-remove-workspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shine-remove-workspace
Source: https://github.com/diShine-digital-agency/SHINE-Code-System/tree/main/skills/shine-remove-workspace
Command: npx skills add https://github.com/diShine-digital-agency/SHINE-Code-System --skill shine-remove-workspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove a SHINE workspace and clean up related worktrees to keep repos tidy and prevent orphaned references.

Core Features & Use Cases

  • Remove a workspace directory after confirmation.
  • For worktree strategy, runs git worktree remove for each member repo first.
  • Refuses if any repo has uncommitted changes.
  • Example: If you maintain several SHINE projects in a single repo, removing a deprecated workspace clears its worktrees and avoids confusion.

Quick Start

Confirm the target workspace name and run the remove-workspace workflow to delete the workspace and its associated worktrees.

Frequently Asked Questions about shine-remove-workspace

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

FAQPage Schema
How do I safely remove a git worktree from multiple repos?

To safely remove a git worktree from multiple repos, the process validates repository state and refuses to proceed if any repo has uncommitted changes. It then executes per-repo git worktree remove commands to clear workspaces completely.

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

If you try to delete a workspace with uncommitted changes, the removal process refuses to proceed. It validates repository state across all member repos and halts worktree cleanup to prevent data loss.

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

The best way to clean up orphaned git worktrees is to execute per-repo git worktree remove commands. This removes the specified workspace from all related member repos and clears orphaned references to keep repos tidy.

Can I remove a SHINE workspace from a single repo without affecting other member repos?

Removing a SHINE workspace applies to workspaces using a git worktree setup across multiple member repos. It removes the specified workspace from all related repos, so it does not target a single isolated repository.

Do I need to commit my changes before removing a workspace directory?

Yes, you need to commit or stash your changes before removing a workspace directory. The removal workflow validates repository state and refuses to proceed when any member repo has uncommitted changes.

When should I avoid using an automated workspace removal process for git worktrees?

You should avoid automated workspace removal when you have local uncommitted changes in any member repo. The process requires a clean repository state to prevent losing work during the git worktree remove execution.