commit
Installation
SKILL.md
Git Commit Skill
Workflow
Step 1: Review changes
Run both commands to get the full picture:
git status --short
git diff --cached --name-status
git status --short shows unstaged modifications and untracked files. git diff --cached catches files that are already staged but not yet committed. Use the union of both outputs.
If both commands return empty, report "nothing to commit" and stop.
Classify each change:
M— modified,??— untracked,D— deleted,R— renamed,A— staged new file