uncommit
Installation
SKILL.md
Uncommit
Undo the last commit on the current branch, leaving the changed files as unstaged modifications in the working directory.
Instructions
- Run
git log --oneline -1to show the user which commit will be undone. - Run
git reset HEAD~1to undo the last commit (mixed reset — changes become unstaged). - Run
git statusto show the resulting working directory state. - Report the result to the user.
Related skills
More from chris-metz/agent-skills
mc-commit
Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.
8commit
Proposes a commit message / potentially committing
2grill-me
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
1git commit helper
Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.
1