eval-test-skill

List and delete merged Git branches with user confirmation.

2|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/otrebu/all-agents --skill eval-test-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-test-skill
Source: https://github.com/otrebu/all-agents/tree/main/.claude/skills/eval-test-skill
Command: npx skills add https://github.com/otrebu/all-agents --skill eval-test-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git branch cleanup utility. Lists and deletes branches that have been merged to main. Use when you want to clean up old branches, delete merged branches, or tidy up your git repository.

Core Features & Use Cases

  • List merged branches: Identify branches already merged into main (excluding main/master).
  • Confirm deletion: Prompt user to choose which branches to delete.
  • Delete branches: Remove selected merged branches safely (uses -d to avoid deleting unmerged branches).
  • Use Case: After finishing a feature, you can run this Skill to clean up your local repo and keep it tidy.

Quick Start

List merged branches in the current repository and delete the ones you approve, while preserving main/master and the currently checked-out branch.

Frequently Asked Questions about eval-test-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delete merged Git branches from my repository?

Delete merged Git branches by listing branches already merged into main, reviewing them for safety, and removing only those you approve. This Skill identifies merged branches (excluding main/master and your current branch), prompts for confirmation, and deletes them using Git's safe -d flag to prevent accidental loss of unmerged work.

What's the safest way to clean up local Git branches?

Safe branch cleanup requires identifying merged branches, confirming deletion before removal, and protecting critical branches like main and your checked-out branch. This Skill automates that workflow by listing candidates for review, requiring explicit user approval, and using -d deletion to reject unmerged branches.

Can I automatically remove branches merged to main without losing work?

Yes. This Skill removes only branches already merged into main, preserves your current branch and main/master, and requires user confirmation before deletion. It lists merged branches for your review, ensuring you approve each removal before the operation executes.

How do I reduce Git repository clutter from old merged branches?

Reduce clutter by identifying and deleting branches that have been merged into main. This Skill scans your repository, lists merged branches (excluding main/master), prompts you to select which ones to remove, and deletes only your approved selections using safe deletion mode.

Do I need to manually check which branches are merged before cleanup?

No. This Skill automatically lists all branches merged into main, excluding main/master and your current branch, so you can review the candidates and approve deletions without manual Git commands. It handles identification and safe removal in one workflow.

What happens if I try to delete an unmerged branch with this Skill?

Unmerged branches are protected. This Skill uses Git's -d flag, which rejects deletion of branches not fully merged into main, preventing accidental loss of uncommitted work. Only branches already integrated into main can be removed.