commit-message
Installation
SKILL.md
Generate Commit Message
Generate a conventional commit message from staged git changes following a structured prompt pipeline.
Steps
1. Stage changes and get the diff
If there are modified files from the current session that haven't been staged yet, run git add on those files first to include them in the staged changes.
Then get the staged diff:
git diff --staged
If the diff is empty after this, inform the user that there are no staged changes and stop.