Atomic Commits is a specialized skill designed to help developers maintain a clean and professional Git history. It applies the 'single responsibility principle' to version control, ensuring that every commit represents a complete unit of work that can be easily reviewed, debugged, and reverted without side effects. The skill provides clear guidance on when to separate changes—such as keeping bug fixes distinct from refactoring—and when to group them, like pairing implementation code with its corresponding tests. By following these patterns, teams can significantly improve code review speed and the effectiveness of debugging tools like git bisect.
주요 기능
01Guides the logical grouping of implementation code with relevant unit tests.
020 GitHub stars
03Provides specific criteria for separating unrelated changes into discrete commits.
04Applies the Single Responsibility Principle to Git version control workflows.
05Implements a 'Smell Test' to identify and split overloaded commits containing 'and'.
06Ensures commits are complete, functional, and independently testable.
사용 사례
01Isolating refactoring efforts from new feature development to ensure safe and selective reverting.
02Separating documentation updates from functional code changes to streamline technical reviews.
03Splitting a large development session into clean, individual commits for feature additions and bug fixes.