Skillquality 0.45

worktree-clean

Use when removing a git worktree and cleaning up its associated local branch from the main repository.

Price
free
Protocol
skill
Verified
no

What it does

worktree_path = $ARGUMENTS

Remove a local worktree and delete its associated local branch. If no argument is provided, list worktrees and ask which to remove.

Local Only

Remote branches carry invisible state — open MRs, CI pipelines, review comments, deployment triggers — and deleting one can auto-close an MR silently. The user owns remote-branch deletions.

When Removal Resists

git worktree remove fails on unclean state; git branch -d fails on unmerged branches. Trivial leftovers (build artifacts, debug logs, already-pushed-or-merged work) justify forcing autonomously. Substantive uncommitted or unmerged work — describe what you found and let the user decide.

Run git worktree prune after removal to clear stale internal references.

Capabilities

skillsource-jhostalekskill-worktree-cleantopic-agent-skillstopic-ai-codingtopic-anthropictopic-claudetopic-claude-codetopic-claude-code-skillstopic-code-reviewtopic-codex-clitopic-cursortopic-developer-toolstopic-git-workflowtopic-multi-agent

Install

Installnpx skills add JHostalek/dotclaude
Transportskills-sh
Protocolskill

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (758 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:13:17Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access