Tidy branches

From Goldziher/ai-rulez · View interactive version

Tidy branches is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Cleans up stale git branches. Use when the repository has many merged branches.

How to use this skill

Skill file

Tidy branches

  1. List remote branches already merged into main.
  2. Show the list to the user and ask which ones to delete. Do not delete anything before they answer.
  3. Delete the confirmed branches with git push origin --delete <branch>.
  4. Report which branches were deleted.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.