Skill
branch-cleanup
Install GitHub Actions workflows that delete stale git branches safely — the closed-without-merging path plus a scheduled orphan sweep — and enable the native delete_branch_on_merge setting that handles merged PRs. Host-agnostic: no Vercel, Neon or any external service required, works in any GitHub repo. Never deletes a branch that open PRs target as their BASE (that would CLOSE those PRs and destroy a stack). Use when asked to clean up / delete stale, merged, abandoned or orphaned branches, stop branches piling up, auto-delete branches after merge, enable delete_branch_on_merge across an org, add a branch retention or sweep workflow, or safely prune branches in a repo that uses stacked PRs — GitHub's native stacks (gh stack), Graphite, ghstack or spr.
Bundled with Stealth Company — Agent Skills. Its trust score, security findings and other files are on the plugin page.
SKILL.md
- Path
- skills/branch-cleanup/SKILL.md
- Size
- 10 KB
- SHA-256
- 10cb79df8d9a46906baf99e9da4064cf4041604e9b2f22443e4566a86005fae5
Install
Install the plugin's skills with the Skills CLI:
npx [email protected] add stealth-factory/skills