clean-branch-history
CommunityClean up commits for review-ready history.
Authorseankao31
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reorganizes a development branch's commits into clean, logical units before merging. This minimizes noise from fixups, revert commits, and review-driven changes, helping reviewers focus on substantive changes.
Core Features & Use Cases
- Automatically folds related fixes into their respective commits to produce a coherent history
- Preserves code changes while eliminating nonessential noise, avoiding history drift
- Safety-first workflow: creates a pre-cleanup tag, verifies tree integrity before and after, and provides rollback guidance
Quick Start
Invoke this skill during the code review preparation phase on a feature branch to begin organizing commits into coherent units.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: clean-branch-history Download link: https://github.com/seankao31/dotfiles/archive/main.zip#clean-branch-history Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.