What problem does it solve?
This skill solves the issue of mixed working trees where multiple unrelated changes are present, allowing you to create clean, atomic commits for specific tasks without accidentally including unfinished or unrelated work.
Core Features & Use Cases
- Selective Staging: Uses patch surgery to stage only the specific hunks related to a single piece of work.
- Branch Guardrails: Prevents accidental commits to protected branches like main or production.
- Workflow Integration: Supports optional automated pushing and PR creation via GitHub CLI.
- Use Case: You are working on a bug fix and a new feature simultaneously; use this skill to commit only the bug fix changes while leaving the feature work unstaged.
Quick Start
Ask the agent to commit the changes related to the specific task you just completed by describing the work clearly in your request.