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. Delete each with git push origin --delete <branch>.
  3. Delete the matching local branches with git branch -D <branch>.
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.