What problem does it solve?
This skill solves the issue of messy, undifferentiated git commits by automatically grouping staged changes into logical, atomic units that reflect distinct concerns.
Core Features & Use Cases
- Logical Grouping: Analyzes staged diffs to group related file changes into separate, coherent commits.
- Dependency Ordering: Automatically orders commits so that dependencies are committed before the files that import them.
- Rename Preservation: Detects and preserves rename pairs by restaging them together, ensuring git correctly identifies the rename.
- Use Case: When you have a mix of feature code, documentation updates, and configuration changes staged, this skill partitions them into separate, well-labeled commits.
Quick Start
Ask the agent to group my staged changes into atomic commits using the git-stage skill.