Atomic Git Commits
Automates the creation of clean, atomic git commits while maintaining strict version control hygiene and logical change grouping.
The Atomic Git Commits skill transforms Claude into a specialized version control assistant that ensures every commit represents a single, coherent modification. It adheres to a strict 'Critical Rule'—acting as a committer rather than a coder—to ensure the author's work is never silently modified during staging. By analyzing changes through git status and diffs, the skill intelligently groups modifications into structural, behavioral, or documentation categories, applies conventional commit formatting, and handles complex scenarios like pre-commit hook failures and hunk-by-hunk staging.
Key Features
01Advanced staging using hunk-based patching and stashing
02112 GitHub stars
03Strict code integrity protection (never modifies working tree files)
04Conventional Commit message generation with co-author attribution
05Intelligent handling of pre-commit hooks and auto-formatters
06Logical grouping of changes into atomic, revertable units
Use Cases
01Automating the staging and committing of multi-file refactors without manual grouping
02Maintaining a high-quality, readable repository history during complex development
03Ensuring team-wide compliance with Conventional Commit standards and attribution