Git Branch Cleanup
Analyzes and safely cleans up local Git branches. Categorizes branches by merge status, staleness, and remote tracking. Provides interactive selection with safety guards. Use when the user wants to clean up branches, delete old branches, organize Git branches, or asks about which branches can be safely deleted.
Install
npx skills add gotalab/skillport --skill git-branch-cleanupgit clone --depth 1 https://github.com/gotalab/skillport.git /tmp/skillport
mkdir -p ~/.claude/skills
cp -r /tmp/skillport/.skills/experimental/git-branch-cleanup ~/.claude/skills/git-branch-cleanupPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Git Branch Cleanup Safely organize and clean up local Git branches. Categorizes branches by merge status, staleness, and remote tracking, then guides users through safe deletion. ## Contents - Quick Start - Workflow (Steps 1-5) - Commands Reference - Dry Run Mode - Safety Checklist ## Quick Start 1. Analyze branches (Step 1) 2. Categorize by safety level (Step 2) 3. Display results and ask user which to delete (Step 3) 4. Verify against safety guards (Step 4) 5. Execute deletion after confirmation (Step 5) ## Workflow ### Step 1: Branch Analysis Collect information with these commands:
Details
- Skill name
git-branch-cleanup- Repository
- gotalab/skillport
- Path
.skills/experimental/git-branch-cleanup/SKILL.md- License
- MIT
- Repo updated
- 25 October 2026
- Listed in
- heilcheng/awesome-agent-skills
FAQ
What does the Git Branch Cleanup skill do?
Analyzes and safely cleans up local Git branches. Categorizes branches by merge status, staleness, and remote tracking. Provides interactive selection with safety guards. Use when the user wants to clean up branches, delete old branches, organize Git branches, or asks about which branches can be safely deleted.
How do I install the Git Branch Cleanup skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add gotalab/skillport --skill git-branch-cleanup. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Git Branch Cleanup popular?
It lives in gotalab/skillport, which has 422 GitHub stars and 31 forks, and is included in 1 curated skill list.
Related skills
Opus 4 5 Migration
422gotalab/skillport
Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5. Use when the user wants to update their codebase, prompts, or API calls to use Opus 4.5. Handles model string updates and prompt adjustments for known Opus 4.5 behavioral differences. Does NOT migrate Haiku 4.5.
Skill Evaluator
422gotalab/skillport
Evaluates agent skills against Anthropic's best practices. Use when asked to review, evaluate, assess, or audit a skill for quality. Analyzes SKILL.md structure, naming conventions, description quality, content organization, and identifies anti-patterns. Produces actionable improvement recommendations.
Github Code Interpreter
757chujianyun/skills
GitHub 源码解读助手。适用于用户提供 GitHub 仓库链接,并希望解读源码、理解原理、分析架构、生成学习报告或快速上手文档时使用。会在 working 目录下生成源码解读和快速上手两份文档。默认先交付初稿,不自动复查;如果用户明确同意,再安排后续复查。不适用于仅克隆仓库或只要一句简介的场景。
Sprint Retrospective
1.2kborghei/Claude-Skills
Data-driven sprint retrospectives from git history — velocity, cycle/lead time, contributor insights, and churn hotspots. Use to run a retrospective, analyze team velocity or throughput, or generate a retro report from commit history.
Check PR
437greptileai/skills
Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions. Waits for pending checks to complete, categorizes issues as actionable or informational, and optionally fixes and resolves them. Use when the user wants to check a PR/MR/CL, address review feedback, or prepare a change for submission.
Spec to Repo
1.2kborghei/Claude-Skills
Translate product specs (PRDs, user stories) into a ship-ready repo plan: ticket decomposition, branch strategy, and PR sequencing. Use when breaking a PRD into tickets or designing the branch/PR sequence.
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.