prune-branches

Installation
SKILL.md

prune-branches

Report the repo's stale branches grouped by why they are stale, then delete exactly the ones a human confirms. What is left afterwards is live work. Manual invocation only: nothing here fires on its own, and no branch is deleted without an explicit yes.

Its one principle, from which the rest follows:

A branch is a name; the commits behind it may be the only copy. "Stale" is not one condition but four, and they are not equally good evidence that the work landed. So the report is grouped by reason and never flattened into one list — the two strong reasons carry the default deletion set, and the two weak ones are listed without being preselected.

Opted out? If the repo config sets pruneBranches to false, this skill is disabled for the repo — stop immediately and tell the user the prune-branches skill is turned off in .tituskirch-skills.json. An absent pruneBranches block is not disabled; it means the built-in defaults. Check .pruneBranches == false on the resolved config before any action. A missing jq or config exits non-zero too, so a pass is not evidence the config was read.

Workflow

1. Detect (read the repo — never assume)

Installs
2
GitHub Stars
1
First Seen
11 days ago
prune-branches — tituskirch/skills