Back to directory

Worktree Cleanup

Agent skill
1 skill

Enforce the correct order when removing a branch that's pinned by a git worktree: git worktree remove --force THEN git branch -D . Trying to delete the branch first fails with error: cannot delete branch X used by worktree at Y.

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryGeneralStars0

About this skill

Enforce the correct order when removing a branch that's pinned by a git worktree: git worktree remove --force THEN git branch -D . Trying to delete the branch first fails with error: cannot delete branch X used by worktree at Y.

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Unavailable

HTTP 404

About scan coverage and limitations

About this listing

Category
General
Reported license
Not specified
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Worktree Cleanup | Agent Skills Atlas