penwyp

M Branch Prune — Testing skill for Claude Code

Testing community

Git Branch Management and Test/Merge Workflow.

How to install M Branch Prune

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

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

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

What M Branch Prune does

Git Branch Management and Test/Merge Workflow

Commands:

  1. **Analyze each branch individually** - Review commit differences and document improvements

  2. **Clean up merged branches** - Delete branches already merged into main

  3. **Test functionality across versions** - Build and verify each branch implementation

  4. **Execute sequential merge operations** - Merge changes in order and resolve conflicts

  5. **Run comprehensive test validation** - Execute full test suite on merged codebase

Alternatives in Testing

  • Testing Strategy — This project is small, runs in a terminal, and is mostly deterministic 10.9k ★
  • Debug — You are tasked with helping debug issues during manual testing or implementation 10k ★
  • AI Contribution Skills (Engram) — branch-pr: clean branch and PR workflow 2.5k ★

Full documentation available on GitHub

View Source Repository