Lightlines
By timschoch

cleanup-merged-branches

timschoch473 installs

Clean up merged branches without surprise deletions.

What it does

Cleans up merged remote branches, releases abandoned issue claims, and closes issues whose completed work failed to close them automatically.

When to use it

Use to remove remote branches with merged PRs, no open PR, and no protection, and to release abandoned issue claims.

How to use it

Give it a repository to clean up; it shows eligible branches and stale claims, asks for explicit confirmation, and applies the confirmed cleanup.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: GitHub
  • works out of sight

Latest review

What you need · 1

Requires gh to inspect repository metadata, PRs, and issues and to update issue labels and close issues.


Access · 1

This skill

GitHub

Write

Deletes branches and updates issues (irreversible)