The Atomic Commit Splitter skill automates the process of cleaning up disorganized git histories before merge or review. It analyzes your branch's diffs to build a logical commit plan ordered from foundational changes to feature implementation and final cleanup. By executing commits sequentially and running verification tests at each step, it ensures that every point in your history is functional and independent, making your code easier to review and your history ready for git bisect.
主要功能
01Sequential commit execution with integrated test verification
02Safety checks to ensure history is only rewritten upon approval
03Precise hunk-based staging for granular code organization
04Automated diff analysis and logical commit planning
050 GitHub stars
06Automatic dependency detection and resolution during rewrites
使用场景
01Refactoring a large feature branch with messy 'fixup' commits into clean vertical slices
02Preparing a complex pull request to ensure reviewers can follow the logic commit-by-commit
03Debugging and ensuring every commit in a branch passes CI independently for better bisectability