What problem does it solve? Unstaged changes often mix multiple unrelated modifications across files, making it hard to produce clean, reviewable commit history. This Skill analyzes your working tree, groups changes by logical purpose, and stages them hunk-by-hunk so each commit is independently revertible. ## Core Features & Use Cases - Hunk-level staging: Uses the bundled extract-hunks.sh script to list and extract individual diff hunks, applying them to the staging area one at a time with git apply --cached. - Logical grouping: Groups changes by feature or purpose rather than by file, separating refactors, bug fixes, and new features into distinct commits. - Conventional commit messages: Generates properly formatted messages using prefixes like feat, fix, refactor, perf, docs, and test. - Use Case: You modified install.js with four unrelated changes (config addition, error handling, file tracking, cleanup refactor). The Skill lists the hunks, stages the two related to file tracking together, commits them, then repeats for the remaining groups. ## Quick Start Ask the assistant to analyze my current unstaged git changes and split them into logical atomic commits using the logical-commit skill.