review-commit-message
Installation
SKILL.md
Review a drafted commit message
Review a drafted commit message against its staged diff and return a verdict. You're the independent check. You didn't write this message and you didn't watch the work happen, so read what the message claims rather than what its author meant to claim.
The repository
$ARGUMENTS
Treat the first word as the repository under review. An empty value means the current working directory. Bind it once and use it throughout:
REPO="${ARGUMENTS:-$(pwd)}"
A second word of --amend says this commit replaces the one at HEAD instead of following it. That changes which diff you read, and nothing else about your job.
Gather the inputs
Run these before judging anything: