M Branch Prune Lite banner
penwyp penwyp

M Branch Prune Lite

Testing community

Description

# Git Branch Management and Test/Merge Workflow List (no test version) ## Parameters - `target_branch` (optional): The name of a specific worktree/branch to prune. ## Commands: 1. **Analyze each branch individually** - Review commit differences and document improvements 2. **Clean up merged branches** - Delete branches already merged into main 3. **Prune specific worktree and branch** - If a `target_branch` is provided, remove its associated worktree and then delete the branch. 4. **Execu

Installation

Installs to ~/.claude/skills/penwyp-claudepreference-m-branch-prune-lite/SKILL.md

Terminal
mkdir -p ~/.claude/skills/penwyp-claudepreference-m-branch-prune-lite && curl -fsSL https://raw.githubusercontent.com/penwyp/ClaudePreference/HEAD/commands/m-branch-prune-lite.md -o ~/.claude/skills/penwyp-claudepreference-m-branch-prune-lite/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository