review-and-commit
Installation
SKILL.md
Code Review and Commit
Perform a high-signal review of working-tree changes, fix meaningful issues, and produce an understandable commit history.
Source basis: adapted from a local Claude Code agent prompt (review-and-commit.md).
Working tree (preflight)
echo "REVIEW_COMMIT_PREFLIGHT_$(date +%s%N)"
git rev-parse --show-toplevel 2>/dev/null || echo "not a git repo"
git branch --show-current 2>/dev/null
git status --short 2>/dev/null | head -40
git diff --stat 2>/dev/null | head -20
git diff --cached --stat 2>/dev/null | head -20
git log --oneline -n 5 2>/dev/null