What problem does it solve?
This Skill helps you correct mistakes in your most recent Git commit without creating an unnecessary new commit, while avoiding the history-rewrite risks of amending commits that are already shared.
Core Features & Use Cases
- Message-only fixes: Update the commit message when only the wording is wrong.
- Add missing content: Include staged file changes by amending the latest commit without changing its existing message (unless you choose to).
- Small, private corrections: Use when the commit is not published (not yet pushed/shared) and the fix is trivial and chronological clean-up is acceptable.
- Safety guidance: Clear rules for when NOT to amend (e.g., already pushed, failed pre-commit hook, non-trivial changes, or other authors’ commits).
Quick Start
Tell the AI to amend your most recent commit only if it has not been published yet, and to guide you through whether you should use a message-only amendment or include staged file changes.