Content Preview
# Clean Branches Command Clean up merged and stale git branches ## Instructions Follow this systematic approach to clean up git branches: **$ARGUMENTS** 1. **Repository State Analysis** - Check current branch and uncommitted changes - List all local and remote branches - Identify the main/master branch name - Review recent branch activity and merge history ```bash # Check current status git status git branch -a git remote -v # Check main branch name git
How to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/clean-branches.md \
https://raw.githubusercontent.com/qdhenry/Claude-Command-Suite/main/.claude/commands/dev/clean-branches.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/qdhenry/Claude-Command-SuiteThen reference at .claude/commands/dev/clean-branches.md
Related Skills
list-commands
List all registered Tauri IPC commands (invoke handlers) in a running app
commandslistcommands
by qdhenry · claude-command-suite
linux-commands-guide
This skill provides automated assistance for linux commands guide tasks within the DevOps Basics domain.
linux-commands-guidelinuxcommandsguide
by jeremylongshore · plugins-plus-skills
clean
Clean up merged branches locally and on remote, keeping only main, dev, and gh-pages.
commandsclean
by alirezarezvani · alirezarezvani-claude-skills
ralph-loop/help
"Explain Ralph Loop plugin and available commands"
commandcommandralph-loophelp
by Anthropic · anthropic-official-plugins